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:53:21 PM IST
06: //
07:
08: package com.sun.xml.wss.saml.internal.saml11.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.XmlRootElement;
16: import javax.xml.bind.annotation.XmlType;
17:
18: /**
19: * <p>Java class for AttributeStatementType complex type.
20: *
21: * <p>The following schema fragment specifies the expected content contained within this class.
22: *
23: * <pre>
24: * <complexType name="AttributeStatementType">
25: * <complexContent>
26: * <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatementAbstractType">
27: * <sequence>
28: * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Attribute" maxOccurs="unbounded"/>
29: * </sequence>
30: * </extension>
31: * </complexContent>
32: * </complexType>
33: * </pre>
34: *
35: *
36: */
37: @XmlRootElement(name="AttributeStatement")
38: @XmlAccessorType(XmlAccessType.FIELD)
39: @XmlType(name="AttributeStatementType",propOrder={"attribute"})
40: public class AttributeStatementType extends
41: SubjectStatementAbstractType {
42:
43: @XmlElement(name="Attribute",required=true)
44: protected List<AttributeType> attribute;
45:
46: /**
47: * Gets the value of the attribute property.
48: *
49: * <p>
50: * This accessor method returns a reference to the live list,
51: * not a snapshot. Therefore any modification you make to the
52: * returned list will be present inside the JAXB object.
53: * This is why there is not a <CODE>set</CODE> method for the attribute property.
54: *
55: * <p>
56: * For example, to add a new item, do as follows:
57: * <pre>
58: * getAttribute().add(newItem);
59: * </pre>
60: *
61: *
62: * <p>
63: * Objects of the following type(s) are allowed in the list
64: * {@link AttributeType }
65: *
66: *
67: */
68: public List<AttributeType> getAttribute() {
69: if (attribute == null) {
70: attribute = new ArrayList<AttributeType>();
71: }
72: return this.attribute;
73: }
74:
75: }
|