public abstract class AbstractPerson extends Object
| Constructor and Description |
|---|
AbstractPerson(PersonName nameObject)
Simple constructor that requires all mandatory fields.
|
AbstractPerson(String name)
Constructor that creates a PersonName out of a String.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAffiliations()
Returns the organisational or institutional affiliations of the person.
|
String |
getFamilyName()
Returns the surname or last name of the person.
|
String |
getGivenName()
Returns the personal or first name of the person.
|
abstract PersonName |
getName()
Returns the name of the person.
|
List<NameIdentifier> |
getNameIdentifiers()
Returns unique identifiers of an individual or legal entity, according to various schemes.
|
void |
setAffiliations(List<String> affiliations)
Changes the organisational or institutional affiliations of the person.
|
void |
setFamilyName(String familyName)
Changes the surname or last name of the person.
|
void |
setGivenName(String givenName)
Changes the personal or first name of the person.
|
abstract void |
setName(PersonName name)
Changes the name of the person.
|
void |
setNameIdentifiers(List<NameIdentifier> nameIdentifiers)
Changes unique identifiers of an individual or legal entity, according to various schemes.
|
public AbstractPerson(String name)
name - the name of the personpublic AbstractPerson(PersonName nameObject)
nameObject - the name and name type of the personpublic abstract PersonName getName()
public abstract void setName(PersonName name)
name - the name of the personpublic String getGivenName()
public void setGivenName(String givenName)
givenName - the personal or first name of the personpublic String getFamilyName()
public void setFamilyName(String familyName)
familyName - the surname or last name of the personpublic List<NameIdentifier> getNameIdentifiers()
public void setNameIdentifiers(List<NameIdentifier> nameIdentifiers)
nameIdentifiers - unique identifiers of an individual or legal entitypublic List<String> getAffiliations()
Copyright © 2017–2018. All rights reserved.