//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.05.06 at 06:41:10 PM CEST
//
package de.groothues.mysaml.assertion;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for SubjectType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="SubjectType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <sequence>
* <choice>
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}BaseID"/>
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}NameID"/>
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedID"/>
* </choice>
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}SubjectConfirmation" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}SubjectConfirmation" maxOccurs="unbounded"/>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SubjectType", propOrder = {
"baseID",
"nameID",
"encryptedID",
"nameIdSubjectConfirmation",
"subjectConfirmation"
})
public class SubjectType {
@XmlElement(name = "BaseID")
protected BaseIDAbstractType baseID;
@XmlElement(name = "NameID")
protected NameIDType nameID;
@XmlElement(name = "EncryptedID")
protected EncryptedElementType encryptedID;
@XmlElement(name = "SubjectConfirmation")
protected List<SubjectConfirmationType> nameIdSubjectConfirmation;
@XmlElement(name = "SubjectConfirmation")
protected List<SubjectConfirmationType> subjectConfirmation;
/**
* Gets the value of the baseID property.
*
* @return
* possible object is
* {@link BaseIDAbstractType }
*
*/
public BaseIDAbstractType getBaseID() {
return baseID;
}
/**
* Sets the value of the baseID property.
*
* @param value
* allowed object is
* {@link BaseIDAbstractType }
*
*/
public void setBaseID(BaseIDAbstractType value) {
this.baseID = value;
}
/**
* Gets the value of the nameID property.
*
* @return
* possible object is
* {@link NameIDType }
*
*/
public NameIDType getNameID() {
return nameID;
}
/**
* Sets the value of the nameID property.
*
* @param value
* allowed object is
* {@link NameIDType }
*
*/
public void setNameID(NameIDType value) {
this.nameID = value;
}
/**
* Gets the value of the encryptedID property.
*
* @return
* possible object is
* {@link EncryptedElementType }
*
*/
public EncryptedElementType getEncryptedID() {
return encryptedID;
}
/**
* Sets the value of the encryptedID property.
*
* @param value
* allowed object is
* {@link EncryptedElementType }
*
*/
public void setEncryptedID(EncryptedElementType value) {
this.encryptedID = value;
}
/**
* Gets the value of the nameIdSubjectConfirmation property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the nameIdSubjectConfirmation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getNameIdSubjectConfirmation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link SubjectConfirmationType }
*
*
*/
public List<SubjectConfirmationType> getNameIdSubjectConfirmation() {
if (nameIdSubjectConfirmation == null) {
nameIdSubjectConfirmation = new ArrayList<SubjectConfirmationType>();
}
return this.nameIdSubjectConfirmation;
}
/**
* Gets the value of the subjectConfirmation property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the subjectConfirmation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSubjectConfirmation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link SubjectConfirmationType }
*
*
*/
public List<SubjectConfirmationType> getSubjectConfirmation() {
if (subjectConfirmation == null) {
subjectConfirmation = new ArrayList<SubjectConfirmationType>();
}
return this.subjectConfirmation;
}
}