|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.wss.saml.internal.saml20.jaxb20.AttributeType
public class AttributeType
Java class for AttributeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AttributeType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AttributeValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="FriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="NameFormat" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<Object> |
attributeValue
|
protected String |
friendlyName
|
protected String |
name
|
protected String |
nameFormat
|
| Constructor Summary | |
|---|---|
AttributeType()
|
|
| Method Summary | |
|---|---|
List<Object> |
getAttributeValue()
Gets the value of the attributeValue property. |
String |
getFriendlyName()
Gets the value of the friendlyName property. |
String |
getName()
Gets the value of the name property. |
String |
getNameFormat()
Gets the value of the nameFormat property. |
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class. |
void |
setFriendlyName(String value)
Sets the value of the friendlyName property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setNameFormat(String value)
Sets the value of the nameFormat property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<Object> attributeValue
protected String friendlyName
protected String name
protected String nameFormat
| Constructor Detail |
|---|
public AttributeType()
| Method Detail |
|---|
public List<Object> getAttributeValue()
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 attributeValue property.
For example, to add a new item, do as follows:
getAttributeValue().add(newItem);
Objects of the following type(s) are allowed in the list
Object
public String getFriendlyName()
Stringpublic void setFriendlyName(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getNameFormat()
Stringpublic void setNameFormat(String value)
value - allowed object is
Stringpublic Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||