public static class DepositMetadata.Person extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
email |
String |
firstName |
String |
fullName |
String |
lastName |
String |
middleName |
DepositMetadata.PERSON_TYPE |
type
The role for this person.
|
| Constructor and Description |
|---|
Person() |
Person(DepositMetadata.Person otherPerson) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConstructedName()
Returns the assembled name for the person using the first/middle/last names.
|
String |
getEmail() |
String |
getFirstName() |
String |
getFullName()
Returns the supplied "full" name string for the person.
|
String |
getLastName() |
String |
getMiddleName() |
String |
getName()
Returns the "total" name for the person, regardless of how that name was supplied.
|
String |
getReversedName()
Returns the last-name-first version of the "total" name for a person
whose name was supplied as a combination of a first, a last and an optional middle name.
|
DepositMetadata.PERSON_TYPE |
getType() |
void |
setEmail(String email) |
void |
setFirstName(String firstName) |
void |
setFullName(String fullName)
Stores a single string containing the person's entire name.
|
void |
setLastName(String lastName) |
void |
setMiddleName(String middleName) |
void |
setType(DepositMetadata.PERSON_TYPE type) |
public String fullName
public String firstName
public String middleName
public String lastName
public String email
public DepositMetadata.PERSON_TYPE type
public Person()
public Person(DepositMetadata.Person otherPerson)
public String getConstructedName()
public String getName()
public String getReversedName()
public String getFullName()
public void setFullName(String fullName)
fullName - the person's entire namepublic String getFirstName()
public void setFirstName(String firstName)
public String getMiddleName()
public void setMiddleName(String middleName)
public String getLastName()
public void setLastName(String lastName)
public String getEmail()
public void setEmail(String email)
public DepositMetadata.PERSON_TYPE getType()
public void setType(DepositMetadata.PERSON_TYPE type)
Copyright © 2019. All rights reserved.