com.atlassian.crowd.openid.server.model.profile
Class Profile

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

public class Profile
extends EntityObject

See Also:
Serialized Form

Constructor Summary
Profile()
           
Profile(java.lang.String name)
           
 
Method Summary
 void addAttribute(Attribute attribute)
          Adds or updates the attribute in the Profile's set of attributes.
 boolean equals(java.lang.Object o)
           
 java.util.Set getAttributes()
           
 java.util.Map getAttributesAsMap()
           
 java.lang.String getName()
           
 int hashCode()
           
 void setAttributes(java.util.Set attributes)
           
 void setName(java.lang.String name)
           
 
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

Profile

public Profile()

Profile

public Profile(java.lang.String name)
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

addAttribute

public void addAttribute(Attribute attribute)
Adds or updates the attribute in the Profile's set of attributes.

Parameters:
attribute - attribute to add or update.

getAttributes

public java.util.Set getAttributes()

setAttributes

public void setAttributes(java.util.Set attributes)

getAttributesAsMap

public java.util.Map getAttributesAsMap()

hashCode

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

equals

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


Copyright © 2010 Atlassian. All Rights Reserved.