com.atlassian.crowd.openid.server.model.profile.attribute
Class Attribute

java.lang.Object
  extended by com.atlassian.crowd.openid.server.model.EntityObject
      extended by com.atlassian.crowd.openid.server.model.profile.attribute.Attribute
All Implemented Interfaces:
Serializable

public class Attribute
extends EntityObject

See Also:
Serialized Form

Constructor Summary
Attribute()
           
Attribute(String name, String value)
          Creates an attribute with the createdDate and updatedDate set to now.
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 String getValue()
           
 int hashCode()
           
 void setName(String name)
           
 void setValue(String value)
           
 
Methods inherited from class com.atlassian.crowd.openid.server.model.EntityObject
getCreatedDate, getId, getUpdatedDate, setCreatedDate, setId, setUpdatedDate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute()

Attribute

public Attribute(String name,
                 String value)
Creates an attribute with the createdDate and updatedDate set to now.

Parameters:
name - name of attribute.
value - value of attribute.
Method Detail

getName

public String getName()

setName

public void setName(String name)

getValue

public String getValue()

setValue

public void setValue(String value)

equals

public boolean equals(Object o)
Specified by:
equals in class EntityObject

hashCode

public int hashCode()
Specified by:
hashCode in class EntityObject


Copyright © 2013 Atlassian. All Rights Reserved.