nl.surfnet.coin.api.client.domain
Class Person
java.lang.Object
nl.surfnet.coin.api.client.domain.Person
- All Implemented Interfaces:
- Serializable
public class Person
- extends Object
- implements Serializable
Person representation
- See Also:
- Serialized Form
Person
public Person()
addEmail
public void addEmail(Email email)
addTag
public void addTag(String tag)
addAccount
public void addAccount(Account account)
addOrganization
public void addOrganization(Organization organization)
addPhoneNumber
public void addPhoneNumber(PhoneNumber phoneNumber)
getNickname
public String getNickname()
- Returns:
- the nickName
setNickname
public void setNickname(String nickName)
- Parameters:
nickName - the nickName to set
getEmails
public Set<Email> getEmails()
- Returns:
- the emails
getEmailValue
public String getEmailValue()
setEmails
public void setEmails(Set<Email> emails)
- Parameters:
emails - the emails to set
getId
public String getId()
- Returns:
- the id
setId
public void setId(String id)
- Parameters:
id - the id to set
getName
public Name getName()
- Returns:
- the name
setName
public void setName(Name name)
- Parameters:
name - the name to set
getTags
public Set<String> getTags()
- Returns:
- the tags
setTags
public void setTags(Set<String> tags)
- Parameters:
tags - the tags to set
getAccounts
public Set<Account> getAccounts()
- Returns:
- the accounts
setAccounts
public void setAccounts(Set<Account> accounts)
- Parameters:
accounts - the accounts to set
getDisplayName
public String getDisplayName()
- Returns:
- the displayName
setDisplayName
public void setDisplayName(String displayName)
- Parameters:
displayName - the displayName to set
getVoot_membership_role
public String getVoot_membership_role()
- Returns:
- the voot_membership_role
setVoot_membership_role
public void setVoot_membership_role(String voot_membership_role)
- Parameters:
voot_membership_role - the voot_membership_role to set
getOrganizations
public Set<Organization> getOrganizations()
- Returns:
- the organizations
setOrganizations
public void setOrganizations(Set<Organization> organizations)
- Parameters:
organizations - the organizations to set
getPhoneNumbers
public Set<PhoneNumber> getPhoneNumbers()
- Returns:
- the phoneNumbers
setPhoneNumbers
public void setPhoneNumbers(Set<PhoneNumber> phoneNumbers)
- Parameters:
phoneNumbers - the phoneNumbers to set
getError
public String getError()
- Returns:
- the error
setError
public void setError(String error)
- Parameters:
error - the error to set
toString
public String toString()
- Overrides:
toString in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.