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 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(String simpleName, String qualifiedName, List<String> attributeValues)
          Constructor SamlAttribute creates a new SamlAttribute instance.
 
Method Summary
 boolean equals(Object o)
           
 List<String> getAttributeValues()
          Method getAttributeValues returns the attributeValues of this SamlAttribute object.
 List<?> getCustomAttributeValues()
          Method getCustomAttributeValues returns the attributeValues of this SamlAttribute object.
 String getNameFormat()
          Method getNameFormat returns the nameFormat of this SamlAttribute object
 String getQualifiedName()
          Method getQualifiedName returns the qualifiedName of this SamlAttribute object.
 String getSimpleName()
          Method getSimpleName returns the simpleName of this SamlAttribute object.
 int hashCode()
           
 void setAttributeValues(List<String> attributeValues)
          Method setAttributeValues sets the attributeValues of this SamlAttribute object.
 void setCustomAttributeValues(List<?> customAttributeValues)
          Method setCustomAttributeValues sets the attributeValues of this SamlAttribute object.
 void setNameFormat(String nameFormat)
          Method setNameFormat sets the nameFormat of this SamlAttribute object.
 void setQualifiedName(String qualifiedName)
          Method setQualifiedName sets the qualifiedName of this SamlAttribute object.
 void setSimpleName(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(String simpleName,
                     String qualifiedName,
                     List<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 String getSimpleName()
Method getSimpleName returns the simpleName of this SamlAttribute object.

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

setSimpleName

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

Parameters:
simpleName - the simpleName of this SamlAttribute object.

getNameFormat

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

Returns:
he nameFormat of this SamlAttribute object

setNameFormat

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

Parameters:
nameFormat - the nameFormat of this SamlAttribute object.

getQualifiedName

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

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

setQualifiedName

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

Parameters:
qualifiedName - the qualifiedName of this SamlAttribute object.

getAttributeValues

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

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

setAttributeValues

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

Parameters:
attributeValues - the attributeValues of this SamlAttribute object.

setCustomAttributeValues

public void setCustomAttributeValues(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 List<?> getCustomAttributeValues()
Method getCustomAttributeValues returns the attributeValues of this SamlAttribute object.

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

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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