com.atlassian.crowd.openid.server.model.user
Class User
java.lang.Object
com.atlassian.crowd.openid.server.model.EntityObject
com.atlassian.crowd.openid.server.model.user.User
- All Implemented Interfaces:
- java.io.Serializable
public class User
- extends EntityObject
- See Also:
- Serialized Form
Constructor Summary |
User()
|
User(java.lang.String username)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
User
public User()
User
public User(java.lang.String username)
getUsername
public java.lang.String getUsername()
setUsername
public void setUsername(java.lang.String username)
getDefaultProfile
public Profile getDefaultProfile()
setDefaultProfile
public void setDefaultProfile(Profile defaultProfile)
addProfile
public void addProfile(Profile profile)
removeProfile
public void removeProfile(Profile profile)
hasProfile
public boolean hasProfile(Profile profile)
getProfiles
public java.util.Set getProfiles()
setProfiles
public void setProfiles(java.util.Set profiles)
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in class EntityObject
hashCode
public int hashCode()
- Specified by:
hashCode
in class EntityObject
Copyright © 2010 Atlassian. All Rights Reserved.