public class Member extends Object implements Serializable
Team| Constructor and Description |
|---|
Member(Set<Role> roles,
nl.surfnet.coin.api.client.domain.Person person) |
Member(Set<Role> roles,
String name,
String id,
String email) |
| Modifier and Type | Method and Description |
|---|---|
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) |
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 memberpublic String getName()
public String getId()
public String getEmail()
public boolean addRole(Role role)
role - the role to be addedpublic boolean removeRole(Role role)
role - the role to be removedpublic 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 listmemberAttribute - MemberAttribute to addpublic boolean isGuest()
public void setGuest(boolean isGuest)
isGuest - Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.