@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 as many frameworks required that.
|
protected |
PersonBase(PersonBase.BuilderBase pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getDisplayName() |
String |
getFirstName()
Method returns the attribute "firstName".
|
String |
getSurname()
Method returns the attribute "surname".
|
void |
setFirstName(String pFirstName)
Method sets the attribute "firstName".
|
void |
setSurname(String pSurname)
Method sets the 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 String getSurname()
public void setSurname(String pSurname)
pSurname - Value to which the attribute "surname" should be set.public String getFirstName()
public void setFirstName(String pFirstName)
pFirstName - Value to which the attribute "firstName" should be set.public StringBuilder toStringBuilder(String pIndent)
toStringBuilder in class PartnerStringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2022. All rights reserved.