public class PersonData
extends sirius.db.mixing.Composite
Modifier and Type | Field and Description |
---|---|
static sirius.db.mixing.Mapping |
FIRSTNAME
Contains the first name of the person.
|
static sirius.db.mixing.Mapping |
LASTNAME
Contains the last name of the person.
|
static sirius.db.mixing.Mapping |
SALUTATION
Contains a salutation.
|
static sirius.db.mixing.Mapping |
TITLE
Contains a title.
|
Constructor and Description |
---|
PersonData() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAddressableName()
Generates a string which is used to address the person.
|
String |
getFirstname() |
String |
getLastname() |
String |
getSalutation() |
String |
getTitle() |
String |
getTranslatedSalutation()
Returns the value (translated name) of the saluation.
|
int |
hashCode() |
void |
setFirstname(String firstname) |
void |
setLastname(String lastname) |
void |
setSalutation(String salutation) |
void |
setTitle(String title) |
String |
toString()
Generates a string representation of the full name.
|
public static final sirius.db.mixing.Mapping TITLE
public static final sirius.db.mixing.Mapping SALUTATION
It is expected to be one of the codes in the code list "salutations".
public static final sirius.db.mixing.Mapping FIRSTNAME
public static final sirius.db.mixing.Mapping LASTNAME
public String getAddressableName()
An example would be Mr. Prof. Skip
public String toString()
public String getTranslatedSalutation()
public String getTitle()
public void setTitle(String title)
public String getSalutation()
public void setSalutation(String salutation)
public String getFirstname()
public void setFirstname(String firstname)
public String getLastname()
public void setLastname(String lastname)
Copyright © 2018. All rights reserved.