001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-3509
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2006.09.12 at 08:57:41 PM IST
006: //
007:
008: package com.sun.xml.wss.saml.internal.saml20.jaxb20;
009:
010: import java.util.ArrayList;
011: import java.util.HashMap;
012: import java.util.List;
013: import java.util.Map;
014: import javax.xml.bind.annotation.XmlAccessType;
015: import javax.xml.bind.annotation.XmlAccessorType;
016: import javax.xml.bind.annotation.XmlAnyAttribute;
017: import javax.xml.bind.annotation.XmlAttribute;
018: import javax.xml.bind.annotation.XmlElement;
019: import javax.xml.bind.annotation.XmlRootElement;
020: import javax.xml.bind.annotation.XmlType;
021: import javax.xml.namespace.QName;
022:
023: /**
024: * <p>Java class for AttributeType complex type.
025: *
026: * <p>The following schema fragment specifies the expected content contained within this class.
027: *
028: * <pre>
029: * <complexType name="AttributeType">
030: * <complexContent>
031: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
032: * <sequence>
033: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AttributeValue" maxOccurs="unbounded" minOccurs="0"/>
034: * </sequence>
035: * <attribute name="FriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" />
036: * <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
037: * <attribute name="NameFormat" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
038: * </restriction>
039: * </complexContent>
040: * </complexType>
041: * </pre>
042: *
043: *
044: */
045: @XmlRootElement(name="Attribute")
046: @XmlAccessorType(XmlAccessType.FIELD)
047: @XmlType(name="AttributeType",propOrder={"attributeValue"})
048: public class AttributeType {
049:
050: @XmlElement(name="AttributeValue",nillable=true)
051: protected List<Object> attributeValue;
052: @XmlAttribute(name="FriendlyName")
053: protected String friendlyName;
054: @XmlAttribute(name="Name",required=true)
055: protected String name;
056: @XmlAttribute(name="NameFormat")
057: protected String nameFormat;
058: @XmlAnyAttribute
059: private Map<QName, String> otherAttributes = new HashMap<QName, String>();
060:
061: /**
062: * Gets the value of the attributeValue property.
063: *
064: * <p>
065: * This accessor method returns a reference to the live list,
066: * not a snapshot. Therefore any modification you make to the
067: * returned list will be present inside the JAXB object.
068: * This is why there is not a <CODE>set</CODE> method for the attributeValue property.
069: *
070: * <p>
071: * For example, to add a new item, do as follows:
072: * <pre>
073: * getAttributeValue().add(newItem);
074: * </pre>
075: *
076: *
077: * <p>
078: * Objects of the following type(s) are allowed in the list
079: * {@link Object }
080: *
081: *
082: */
083: public List<Object> getAttributeValue() {
084: if (attributeValue == null) {
085: attributeValue = new ArrayList<Object>();
086: }
087: return this .attributeValue;
088: }
089:
090: /**
091: * Gets the value of the friendlyName property.
092: *
093: * @return
094: * possible object is
095: * {@link String }
096: *
097: */
098: public String getFriendlyName() {
099: return friendlyName;
100: }
101:
102: /**
103: * Sets the value of the friendlyName property.
104: *
105: * @param value
106: * allowed object is
107: * {@link String }
108: *
109: */
110: public void setFriendlyName(String value) {
111: this .friendlyName = value;
112: }
113:
114: /**
115: * Gets the value of the name property.
116: *
117: * @return
118: * possible object is
119: * {@link String }
120: *
121: */
122: public String getName() {
123: return name;
124: }
125:
126: /**
127: * Sets the value of the name property.
128: *
129: * @param value
130: * allowed object is
131: * {@link String }
132: *
133: */
134: public void setName(String value) {
135: this .name = value;
136: }
137:
138: /**
139: * Gets the value of the nameFormat property.
140: *
141: * @return
142: * possible object is
143: * {@link String }
144: *
145: */
146: public String getNameFormat() {
147: return nameFormat;
148: }
149:
150: /**
151: * Sets the value of the nameFormat property.
152: *
153: * @param value
154: * allowed object is
155: * {@link String }
156: *
157: */
158: public void setNameFormat(String value) {
159: this .nameFormat = value;
160: }
161:
162: /**
163: * Gets a map that contains attributes that aren't bound to any typed property on this class.
164: *
165: * <p>
166: * the map is keyed by the name of the attribute and
167: * the value is the string value of the attribute.
168: *
169: * the map returned by this method is live, and you can add new attribute
170: * by updating the map directly. Because of this design, there's no setter.
171: *
172: *
173: * @return
174: * always non-null
175: */
176: public Map<QName, String> getOtherAttributes() {
177: return otherAttributes;
178: }
179:
180: }
|