org.apache.ws.security.saml.ext.bean
Class AttributeBean

java.lang.Object
  extended by org.apache.ws.security.saml.ext.bean.AttributeBean

public class AttributeBean
extends java.lang.Object

Class SamlAttribute represents an instance of a SAML attribute.

Created on May 18, 2009


Constructor Summary
AttributeBean()
          Constructor SamlAttribute creates a new SamlAttribute instance.
AttributeBean(java.lang.String simpleName, java.lang.String qualifiedName, java.util.List<java.lang.String> attributeValues)
          Constructor SamlAttribute creates a new SamlAttribute instance.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.List<java.lang.String> getAttributeValues()
          Method getAttributeValues returns the attributeValues of this SamlAttribute object.
 java.util.List<?> getCustomAttributeValues()
          Method getCustomAttributeValues returns the attributeValues of this SamlAttribute object.
 java.lang.String getNameFormat()
          Method getNameFormat returns the nameFormat of this SamlAttribute object
 java.lang.String getQualifiedName()
          Method getQualifiedName returns the qualifiedName of this SamlAttribute object.
 java.lang.String getSimpleName()
          Method getSimpleName returns the simpleName of this SamlAttribute object.
 int hashCode()
           
 void setAttributeValues(java.util.List<java.lang.String> attributeValues)
          Method setAttributeValues sets the attributeValues of this SamlAttribute object.
 void setCustomAttributeValues(java.util.List<?> customAttributeValues)
          Method setCustomAttributeValues sets the attributeValues of this SamlAttribute object.
 void setNameFormat(java.lang.String nameFormat)
          Method setNameFormat sets the nameFormat of this SamlAttribute object.
 void setQualifiedName(java.lang.String qualifiedName)
          Method setQualifiedName sets the qualifiedName of this SamlAttribute object.
 void setSimpleName(java.lang.String simpleName)
          Method setSimpleName sets the simpleName of this SamlAttribute object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeBean

public AttributeBean()
Constructor SamlAttribute creates a new SamlAttribute instance.


AttributeBean

public AttributeBean(java.lang.String simpleName,
                     java.lang.String qualifiedName,
                     java.util.List<java.lang.String> attributeValues)
Constructor SamlAttribute creates a new SamlAttribute instance.

Parameters:
simpleName - of type String
qualifiedName - of type String
attributeValues - of type List
Method Detail

getSimpleName

public java.lang.String getSimpleName()
Method getSimpleName returns the simpleName of this SamlAttribute object.

Returns:
the simpleName (type String) of this SamlAttribute object.

setSimpleName

public void setSimpleName(java.lang.String simpleName)
Method setSimpleName sets the simpleName of this SamlAttribute object.

Parameters:
simpleName - the simpleName of this SamlAttribute object.

getNameFormat

public java.lang.String getNameFormat()
Method getNameFormat returns the nameFormat of this SamlAttribute object

Returns:
he nameFormat of this SamlAttribute object

setNameFormat

public void setNameFormat(java.lang.String nameFormat)
Method setNameFormat sets the nameFormat of this SamlAttribute object.

Parameters:
nameFormat - the nameFormat of this SamlAttribute object.

getQualifiedName

public java.lang.String getQualifiedName()
Method getQualifiedName returns the qualifiedName of this SamlAttribute object.

Returns:
the qualifiedName (type String) of this SamlAttribute object.

setQualifiedName

public void setQualifiedName(java.lang.String qualifiedName)
Method setQualifiedName sets the qualifiedName of this SamlAttribute object.

Parameters:
qualifiedName - the qualifiedName of this SamlAttribute object.

getAttributeValues

public java.util.List<java.lang.String> getAttributeValues()
Method getAttributeValues returns the attributeValues of this SamlAttribute object.

Returns:
the attributeValues (type List) of this SamlAttribute object.

setAttributeValues

public void setAttributeValues(java.util.List<java.lang.String> attributeValues)
Method setAttributeValues sets the attributeValues of this SamlAttribute object.

Parameters:
attributeValues - the attributeValues of this SamlAttribute object.

setCustomAttributeValues

public void setCustomAttributeValues(java.util.List<?> customAttributeValues)
Method setCustomAttributeValues sets the attributeValues of this SamlAttribute object. This method allows the user to specify OpenSAML XMLObject attributes.

Parameters:
customAttributeValues - the attributeValues of this SamlAttribute object.

getCustomAttributeValues

public java.util.List<?> getCustomAttributeValues()
Method getCustomAttributeValues returns the attributeValues of this SamlAttribute object.

Returns:
the attributeValues (type List) of this SamlAttribute object.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.