public class User extends EntityObject
Modifier and Type | Method and Description |
---|---|
void |
addProfile(Profile profile) |
boolean |
equals(Object o) |
Profile |
getDefaultProfile() |
Set |
getProfiles() |
String |
getUsername() |
int |
hashCode() |
boolean |
hasProfile(Profile profile) |
void |
removeProfile(Profile profile) |
void |
setDefaultProfile(Profile defaultProfile) |
void |
setProfiles(Set profiles) |
void |
setUsername(String username) |
getCreatedDate, getId, getUpdatedDate, setCreatedDate, setId, setUpdatedDate
public User()
public User(String username)
public String getUsername()
public void setUsername(String username)
public Profile getDefaultProfile()
public void setDefaultProfile(Profile defaultProfile)
public void addProfile(Profile profile)
public void removeProfile(Profile profile)
public boolean hasProfile(Profile profile)
public Set getProfiles()
public void setProfiles(Set profiles)
public boolean equals(Object o)
equals
in class EntityObject
public int hashCode()
hashCode
in class EntityObject
Copyright © 2013 Atlassian. All Rights Reserved.