package at.gv.util.xsd.saml.v2_0.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.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlID; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import javax.xml.datatype.XMLGregorianCalendar; import at.gv.util.xsd.w3c_xmldsig.SignatureType; /** *

Java-Klasse für AssertionType complex type. * *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

 * <complexType name="AssertionType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Issuer"/>
 *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Subject" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Conditions" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Advice" minOccurs="0"/>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Statement"/>
 *           <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnStatement"/>
 *           <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthzDecisionStatement"/>
 *           <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AttributeStatement"/>
 *         </choice>
 *       </sequence>
 *       <attribute name="Version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *       <attribute name="IssueInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AssertionType", propOrder = { "issuer", "signature", "subject", "conditions", "advice", "statementOrAuthnStatementOrAuthzDecisionStatement" }) public class AssertionType { @XmlElement(name = "Issuer", required = true) protected NameIDType issuer; @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") protected SignatureType signature; @XmlElement(name = "Subject") protected SubjectType subject; @XmlElement(name = "Conditions") protected ConditionsType conditions; @XmlElement(name = "Advice") protected AdviceType advice; @XmlElements({ @XmlElement(name = "Statement"), @XmlElement(name = "AuthnStatement", type = AuthnStatementType.class), @XmlElement(name = "AuthzDecisionStatement", type = AuthzDecisionStatementType.class), @XmlElement(name = "AttributeStatement", type = AttributeStatementType.class) }) protected List statementOrAuthnStatementOrAuthzDecisionStatement; @XmlAttribute(name = "Version", required = true) protected String version; @XmlAttribute(name = "ID", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "IssueInstant", required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar issueInstant; /** * Ruft den Wert der issuer-Eigenschaft ab. * * @return * possible object is * {@link NameIDType } * */ public NameIDType getIssuer() { return issuer; } /** * Legt den Wert der issuer-Eigenschaft fest. * * @param value * allowed object is * {@link NameIDType } * */ public void setIssuer(NameIDType value) { this.issuer = value; } /** * Ruft den Wert der signature-Eigenschaft ab. * * @return * possible object is * {@link SignatureType } * */ public SignatureType getSignature() { return signature; } /** * Legt den Wert der signature-Eigenschaft fest. * * @param value * allowed object is * {@link SignatureType } * */ public void setSignature(SignatureType value) { this.signature = value; } /** * Ruft den Wert der subject-Eigenschaft ab. * * @return * possible object is * {@link SubjectType } * */ public SubjectType getSubject() { return subject; } /** * Legt den Wert der subject-Eigenschaft fest. * * @param value * allowed object is * {@link SubjectType } * */ public void setSubject(SubjectType value) { this.subject = value; } /** * Ruft den Wert der conditions-Eigenschaft ab. * * @return * possible object is * {@link ConditionsType } * */ public ConditionsType getConditions() { return conditions; } /** * Legt den Wert der conditions-Eigenschaft fest. * * @param value * allowed object is * {@link ConditionsType } * */ public void setConditions(ConditionsType value) { this.conditions = value; } /** * Ruft den Wert der advice-Eigenschaft ab. * * @return * possible object is * {@link AdviceType } * */ public AdviceType getAdvice() { return advice; } /** * Legt den Wert der advice-Eigenschaft fest. * * @param value * allowed object is * {@link AdviceType } * */ public void setAdvice(AdviceType value) { this.advice = value; } /** * Gets the value of the statementOrAuthnStatementOrAuthzDecisionStatement property. * *

* 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 set method for the statementOrAuthnStatementOrAuthzDecisionStatement property. * *

* For example, to add a new item, do as follows: *

     *    getStatementOrAuthnStatementOrAuthzDecisionStatement().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link StatementAbstractType } * {@link AuthnStatementType } * {@link AuthzDecisionStatementType } * {@link AttributeStatementType } * * */ public List getStatementOrAuthnStatementOrAuthzDecisionStatement() { if (statementOrAuthnStatementOrAuthzDecisionStatement == null) { statementOrAuthnStatementOrAuthzDecisionStatement = new ArrayList(); } return this.statementOrAuthnStatementOrAuthzDecisionStatement; } /** * Ruft den Wert der version-Eigenschaft ab. * * @return * possible object is * {@link String } * */ public String getVersion() { return version; } /** * Legt den Wert der version-Eigenschaft fest. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } /** * Ruft den Wert der id-Eigenschaft ab. * * @return * possible object is * {@link String } * */ public String getID() { return id; } /** * Legt den Wert der id-Eigenschaft fest. * * @param value * allowed object is * {@link String } * */ public void setID(String value) { this.id = value; } /** * Ruft den Wert der issueInstant-Eigenschaft ab. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getIssueInstant() { return issueInstant; } /** * Legt den Wert der issueInstant-Eigenschaft fest. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setIssueInstant(XMLGregorianCalendar value) { this.issueInstant = value; } }