public abstract class AbstractPerson extends Object
| Constructor and Description |
|---|
AbstractPerson() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAffiliations(Collection<Affiliation> affiliations)
Adds organisational or institutional affiliations of the person.
|
void |
addNameIdentifiers(Collection<NameIdentifier> nameIdentifiers)
Changes unique identifiers of an individual or legal entity, according to various schemes.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<Affiliation> |
getAffiliations()
Retrieves the organisational or institutional affiliations of the person.
|
String |
getFamilyName()
Retrieves the surname or last name of the person.
|
String |
getGivenName()
Retrieves the personal or first name of the person.
|
abstract PersonName |
getName()
Returns the name of the person.
|
Set<NameIdentifier> |
getNameIdentifiers()
Retrieves unique identifiers for an individual or legal entity, according to various schemes.
|
int |
hashCode() |
void |
setFamilyName(String familyName)
Sets the surname or last name of the person.
|
void |
setGivenName(String givenName)
Sets the personal or first name of the person.
|
void |
setNameIdentifiers(Set<NameIdentifier> nameIdentifiers)
Sets unique identifiers for an individual or legal entity, according to various schemes.
|
String |
toString() |
public abstract PersonName getName()
public void addNameIdentifiers(Collection<NameIdentifier> nameIdentifiers)
nameIdentifiers - unique identifiers of an individual or legal entitypublic void addAffiliations(Collection<Affiliation> affiliations)
affiliations - the organisational or institutional Affiliations of the personpublic String getGivenName()
public String getFamilyName()
public Set<NameIdentifier> getNameIdentifiers()
public Set<Affiliation> getAffiliations()
public void setGivenName(String givenName)
givenName - the personal or first name of the personpublic void setFamilyName(String familyName)
familyName - the urname or last name of the personpublic void setNameIdentifiers(Set<NameIdentifier> nameIdentifiers)
nameIdentifiers - unique identifiers for an individual or legal entityprotected boolean canEqual(Object other)
Copyright © 2017–2019. All rights reserved.