nl.surfnet.coin.api.client.domain
Class Person

java.lang.Object
  extended by nl.surfnet.coin.api.client.domain.Person
All Implemented Interfaces:
Serializable

public class Person
extends Object
implements Serializable

Person representation

See Also:
Serialized Form

Constructor Summary
Person()
           
 
Method Summary
 void addAccount(Account account)
           
 void addEmail(Email email)
           
 void addOrganization(Organization organization)
           
 void addPhoneNumber(PhoneNumber phoneNumber)
           
 void addTag(String tag)
           
 boolean equals(Object other)
           
 Set<Account> getAccounts()
           
 String getDisplayName()
           
 Set<Email> getEmails()
           
 String getEmailValue()
           
 String getError()
           
 String getId()
           
 Name getName()
           
 String getNickname()
           
 Set<Organization> getOrganizations()
           
 Set<PhoneNumber> getPhoneNumbers()
           
 Set<String> getTags()
           
 String getVoot_membership_role()
           
 int hashCode()
           
 void setAccounts(Set<Account> accounts)
           
 void setDisplayName(String displayName)
           
 void setEmails(Set<Email> emails)
           
 void setError(String error)
           
 void setId(String id)
           
 void setName(Name name)
           
 void setNickname(String nickName)
           
 void setOrganizations(Set<Organization> organizations)
           
 void setPhoneNumbers(Set<PhoneNumber> phoneNumbers)
           
 void setTags(Set<String> tags)
           
 void setVoot_membership_role(String voot_membership_role)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Person

public Person()
Method Detail

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.