01: //
02: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-3509
03: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
04: // Any modifications to this file will be lost upon recompilation of the source schema.
05: // Generated on: 2006.09.12 at 08:57:41 PM IST
06: //
07:
08: package com.sun.xml.wss.saml.internal.saml20.jaxb20;
09:
10: import java.util.ArrayList;
11: import java.util.List;
12: import javax.xml.bind.annotation.XmlAccessType;
13: import javax.xml.bind.annotation.XmlAccessorType;
14: import javax.xml.bind.annotation.XmlElement;
15: import javax.xml.bind.annotation.XmlElements;
16: import javax.xml.bind.annotation.XmlRootElement;
17: import javax.xml.bind.annotation.XmlType;
18:
19: /**
20: * <p>Java class for AttributeStatementType complex type.
21: *
22: * <p>The following schema fragment specifies the expected content contained within this class.
23: *
24: * <pre>
25: * <complexType name="AttributeStatementType">
26: * <complexContent>
27: * <extension base="{urn:oasis:names:tc:SAML:2.0:assertion}StatementAbstractType">
28: * <choice maxOccurs="unbounded">
29: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Attribute"/>
30: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedAttribute"/>
31: * </choice>
32: * </extension>
33: * </complexContent>
34: * </complexType>
35: * </pre>
36: *
37: *
38: */
39: @XmlRootElement(name="AttributeStatement")
40: @XmlAccessorType(XmlAccessType.FIELD)
41: @XmlType(name="AttributeStatementType",propOrder={"attributeOrEncryptedAttribute"})
42: public class AttributeStatementType extends StatementAbstractType {
43:
44: @XmlElements({@XmlElement(name="EncryptedAttribute",type=EncryptedElementType.class),@XmlElement(name="Attribute",type=AttributeType.class)})
45: protected List<Object> attributeOrEncryptedAttribute;
46:
47: /**
48: * Gets the value of the attributeOrEncryptedAttribute property.
49: *
50: * <p>
51: * This accessor method returns a reference to the live list,
52: * not a snapshot. Therefore any modification you make to the
53: * returned list will be present inside the JAXB object.
54: * This is why there is not a <CODE>set</CODE> method for the attributeOrEncryptedAttribute property.
55: *
56: * <p>
57: * For example, to add a new item, do as follows:
58: * <pre>
59: * getAttributeOrEncryptedAttribute().add(newItem);
60: * </pre>
61: *
62: *
63: * <p>
64: * Objects of the following type(s) are allowed in the list
65: * {@link EncryptedElementType }
66: * {@link AttributeType }
67: *
68: *
69: */
70: public List<Object> getAttributeOrEncryptedAttribute() {
71: if (attributeOrEncryptedAttribute == null) {
72: attributeOrEncryptedAttribute = new ArrayList<Object>();
73: }
74: return this.attributeOrEncryptedAttribute;
75: }
76:
77: }
|