Class OtherNameIndividual
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.OtherNameIndividual
Keeps track of other names, for example the old name of a woman before marriage or an artist name.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaristocraticTitle(String aristocraticTitle) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) booleanfamilyName(String familyName) familyNamePrefix(String familyNamePrefix) formattedName(String formattedName) generation(String generation) e.g.When sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity nameContains the non-chosen or inherited name.Family name prefix.Full name flatten (first, middle, and last names)e.g.First nameLegal name or birth name (name one has for official purposes)Middle name or initialContains the chosen name by which the person prefers to be addressed.getTitle()Use for titles (aristrocatic, social, ...): Pr, Dr, Sir,....@Valid TimePeriodGet validForinthashCode()middleName(String middleName) preferredGivenName(String preferredGivenName) voidsetAristocraticTitle(String aristocraticTitle) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetFamilyName(String familyName) voidsetFamilyNamePrefix(String familyNamePrefix) voidsetFormattedName(String formattedName) voidsetFullName(String fullName) voidsetGeneration(String generation) voidsetGivenName(String givenName) voidsetLegalName(String legalName) voidsetMiddleName(String middleName) voidsetPreferredGivenName(String preferredGivenName) voidvoidsetValidFor(TimePeriod validFor) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
OtherNameIndividual
public OtherNameIndividual()
-
-
Method Details
-
aristocraticTitle
-
getAristocraticTitle
e.g. Baron, Graf, Earl,…- Returns:
- aristocraticTitle
-
setAristocraticTitle
-
familyName
-
getFamilyName
Contains the non-chosen or inherited name. Also known as last name in the Western context- Returns:
- familyName
-
setFamilyName
-
familyNamePrefix
-
getFamilyNamePrefix
Family name prefix- Returns:
- familyNamePrefix
-
setFamilyNamePrefix
-
formattedName
-
getFormattedName
. A fully formatted name in one string with all of its pieces in their proper place and all of the necessary punctuation. Useful for specific contexts (Chinese, Japanese, Korean,…)- Returns:
- formattedName
-
setFormattedName
-
fullName
-
getFullName
Full name flatten (first, middle, and last names)- Returns:
- fullName
-
setFullName
-
generation
-
getGeneration
e.g. Sr, Jr…- Returns:
- generation
-
setGeneration
-
givenName
-
getGivenName
First name- Returns:
- givenName
-
setGivenName
-
legalName
-
getLegalName
Legal name or birth name (name one has for official purposes)- Returns:
- legalName
-
setLegalName
-
middleName
-
getMiddleName
Middle name or initial- Returns:
- middleName
-
setMiddleName
-
preferredGivenName
-
getPreferredGivenName
Contains the chosen name by which the person prefers to be addressed. Note: This name may be a name other than a given name, such as a nickname- Returns:
- preferredGivenName
-
setPreferredGivenName
-
title
-
getTitle
Use for titles (aristrocatic, social, ...): Pr, Dr, Sir,....- Returns:
- title
-
setTitle
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-