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.XmlElement; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlType; /** *

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

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

 * <complexType name="AttributeStatementType">
 *   <complexContent>
 *     <extension base="{urn:oasis:names:tc:SAML:2.0:assertion}StatementAbstractType">
 *       <choice maxOccurs="unbounded">
 *         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Attribute"/>
 *         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedAttribute"/>
 *       </choice>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AttributeStatementType", propOrder = { "attributeOrEncryptedAttribute" }) public class AttributeStatementType extends StatementAbstractType { @XmlElements({ @XmlElement(name = "Attribute", type = AttributeType.class), @XmlElement(name = "EncryptedAttribute", type = EncryptedElementType.class) }) protected List attributeOrEncryptedAttribute; /** * Gets the value of the attributeOrEncryptedAttribute 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 attributeOrEncryptedAttribute property. * *

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

     *    getAttributeOrEncryptedAttribute().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AttributeType } * {@link EncryptedElementType } * * */ public List getAttributeOrEncryptedAttribute() { if (attributeOrEncryptedAttribute == null) { attributeOrEncryptedAttribute = new ArrayList(); } return this.attributeOrEncryptedAttribute; } }