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

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

public class AttributeStatementBean
extends Object

Class SamlAttributeStatement represents a SAML attribute statement Created on May 20, 2009


Constructor Summary
AttributeStatementBean()
          Constructor SamlAttributeStatement creates a new SamlAttributeStatement instance.
AttributeStatementBean(SubjectBean subject, List<AttributeBean> attributeBeans)
          Constructor SamlAttributeStatement creates a new SamlAttributeStatement instance.
 
Method Summary
 boolean equals(Object o)
           
 List<AttributeBean> getSamlAttributes()
          Method getSamlAttributes returns the samlAttributes of this SamlAttributeStatement object.
 SubjectBean getSubject()
          Get the Subject
 int hashCode()
           
 void setSamlAttributes(List<AttributeBean> attributeBeans)
          Method setSamlAttributes sets the samlAttributes of this SamlAttributeStatement object.
 void setSubject(SubjectBean subject)
          Set the Subject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeStatementBean

public AttributeStatementBean()
Constructor SamlAttributeStatement creates a new SamlAttributeStatement instance.


AttributeStatementBean

public AttributeStatementBean(SubjectBean subject,
                              List<AttributeBean> attributeBeans)
Constructor SamlAttributeStatement creates a new SamlAttributeStatement instance.

Parameters:
subject - A new SubjectBean instance
attributeBeans - A list of Attributes
Method Detail

getSamlAttributes

public List<AttributeBean> getSamlAttributes()
Method getSamlAttributes returns the samlAttributes of this SamlAttributeStatement object.

Returns:
the samlAttributes (type List) of this SamlAttributeStatement object.

setSamlAttributes

public void setSamlAttributes(List<AttributeBean> attributeBeans)
Method setSamlAttributes sets the samlAttributes of this SamlAttributeStatement object.

Parameters:
attributeBeans - the samlAttributes of this SamlAttributeStatement object.

getSubject

public SubjectBean getSubject()
Get the Subject

Returns:
the Subject

setSubject

public void setSubject(SubjectBean subject)
Set the Subject

Parameters:
subject - the SubjectBean instance to set

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.