@Valid public abstract class PersonBase extends Partner
| Modifier and Type | Class and Description |
|---|---|
static class |
PersonBase.BuilderBase
Class implements builder to create a new instance of class Person.
|
Partner.Builder| Modifier | Constructor and Description |
|---|---|
protected |
PersonBase()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
PersonBase(PersonBase.BuilderBase pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getDisplayName() |
String |
getFirstName()
Method returns attribute
firstName. |
String |
getSurname()
Method returns attribute
surname. |
void |
setFirstName(String pFirstName)
Method sets attribute
firstName. |
void |
setSurname(String pSurname)
Method sets attribute
surname. |
String |
toString()
Method creates a new String with the values of all attributes of this class.
|
StringBuilder |
toStringBuilder(String pIndent)
Method returns a StringBuilder that can be used to create a String representation of this object.
|
addToPostalAddresses, addToPostalAddresses, builder, builder, clearPostalAddresses, getID, getPostalAddresses, getUnversionedID, removeFromPostalAddressesprotected PersonBase()
protected PersonBase(PersonBase.BuilderBase pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public void setSurname(String pSurname)
surname.pSurname - Value to which surname should be set.public void setFirstName(String pFirstName)
firstName.pFirstName - Value to which firstName should be set.public StringBuilder toStringBuilder(String pIndent)
toStringBuilder in class PartnerStringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.