|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.surfnet.coin.teams.domain.Member
public class Member
A member of a Team
| Field Summary | |
|---|---|
static Set<Role> |
member
|
| Constructor Summary | |
|---|---|
Member(Set<Role> roles,
nl.surfnet.coin.api.client.domain.Person person)
|
|
Member(Set<Role> roles,
String name,
String id,
String email)
|
|
| Method Summary | |
|---|---|
void |
addMemberAttribute(MemberAttribute memberAttribute)
Adds one MemberAttribute to the list |
boolean |
addRole(Role role)
|
Member |
copy()
Copy the Member |
boolean |
equals(Object obj)
|
String |
getEmail()
|
String |
getId()
|
List<MemberAttribute> |
getMemberAttributes()
|
String |
getName()
|
Set<Role> |
getRoles()
|
int |
hashCode()
|
boolean |
isGuest()
Defines if the Member has a guest status |
boolean |
removeRole(Role role)
|
void |
setGuest(boolean isGuest)
Sets the value that indicates if the Member has guest status |
void |
setMemberAttributes(List<MemberAttribute> memberAttributes)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Set<Role> member
| Constructor Detail |
|---|
public Member(Set<Role> roles,
String name,
String id,
String email)
roles - Set of Role's for this membername - full nameid - uuid of the memberemail - address of the member
public Member(Set<Role> roles,
nl.surfnet.coin.api.client.domain.Person person)
roles - Set of Role's for this memberperson - Person that represents this member| Method Detail |
|---|
public String getName()
public String getId()
public String getEmail()
public Set<Role> getRoles()
public boolean addRole(Role role)
role - the role to be added
public boolean removeRole(Role role)
role - the role to be removed
public List<MemberAttribute> getMemberAttributes()
MemberAttribute's,
can be empty but not nullpublic void setMemberAttributes(List<MemberAttribute> memberAttributes)
memberAttributes - List of (custom) MemberAttribute'spublic void addMemberAttribute(MemberAttribute memberAttribute)
MemberAttribute to the list
memberAttribute - MemberAttribute to addpublic Member copy()
Member
public boolean isGuest()
public void setGuest(boolean isGuest)
isGuest - public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||