org.apache.wss4j.common.saml.bean
Class AttributeBean

java.lang.Object
  extended by org.apache.wss4j.common.saml.bean.AttributeBean

public class AttributeBean
extends Object

Class SamlAttribute represents an instance of a SAML attribute.


Constructor Summary
AttributeBean()
          Constructor SamlAttribute creates a new SamlAttribute instance.
AttributeBean(String simpleName, String qualifiedName, List<Object> attributeValues)
          Constructor SamlAttribute creates a new SamlAttribute instance.
 
Method Summary
 void addAttributeValue(Object attributeValue)
           
 boolean equals(Object o)
           
 List<Object> getAttributeValues()
          Method getAttributeValues 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<Object> attributeValues)
          Method setAttributeValues 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<Object> 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<Object> getAttributeValues()
Method getAttributeValues returns the attributeValues of this SamlAttribute object.

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

setAttributeValues

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

Parameters:
attributeValues - the attributeValues of this SamlAttribute object.

addAttributeValue

public void addAttributeValue(Object attributeValue)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.