org.jboss.identity.federation.saml.v2.assertion
Class AttributeType

java.lang.Object
  extended by org.jboss.identity.federation.saml.v2.assertion.AttributeType
Direct Known Subclasses:
RequestedAttributeType

public class AttributeType
extends java.lang.Object

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="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="NameFormat" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="FriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.Object> attributeValue
           
protected  java.lang.String friendlyName
           
protected  java.lang.String name
           
protected  java.lang.String nameFormat
           
 
Constructor Summary
AttributeType()
           
 
Method Summary
 java.util.List<java.lang.Object> getAttributeValue()
          Gets the value of the attributeValue property.
 java.lang.String getFriendlyName()
          Gets the value of the friendlyName property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getNameFormat()
          Gets the value of the nameFormat property.
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 void setFriendlyName(java.lang.String value)
          Sets the value of the friendlyName property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setNameFormat(java.lang.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

attributeValue

protected java.util.List<java.lang.Object> attributeValue

name

protected java.lang.String name

nameFormat

protected java.lang.String nameFormat

friendlyName

protected java.lang.String friendlyName
Constructor Detail

AttributeType

public AttributeType()
Method Detail

getAttributeValue

public java.util.List<java.lang.Object> getAttributeValue()
Gets the value of the attributeValue 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 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


getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getNameFormat

public java.lang.String getNameFormat()
Gets the value of the nameFormat property.

Returns:
possible object is String

setNameFormat

public void setNameFormat(java.lang.String value)
Sets the value of the nameFormat property.

Parameters:
value - allowed object is String

getFriendlyName

public java.lang.String getFriendlyName()
Gets the value of the friendlyName property.

Returns:
possible object is String

setFriendlyName

public void setFriendlyName(java.lang.String value)
Sets the value of the friendlyName property.

Parameters:
value - allowed object is String

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

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.

Returns:
always non-null


Copyright © 2009 JBoss Inc.. All Rights Reserved.