@CodingStyleguideUnaware public class PersonNameType extends PersonNameBaseType
<?xml version="1.0" encoding="UTF-8"?><ccts:DictionaryEntryName xmlns:ccts="urn:un:unece:uncefact:documentation:1.1" xmlns="http://www.hr-xml.org/3" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:xsd="http://www.w3.org/2001/XMLSchema">Person Name. Details</ccts:DictionaryEntryName>
<?xml version="1.0" encoding="UTF-8"?><ccts:DefinitionText xmlns:ccts="urn:un:unece:uncefact:documentation:1.1" xmlns="http://www.hr-xml.org/3" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:xsd="http://www.w3.org/2001/XMLSchema">A
collection of data representing a person name. </ccts:DefinitionText>
<?xml version="1.0" encoding="UTF-8"?><ccts:UsageRule xmlns:ccts="urn:un:unece:uncefact:documentation:1.1" xmlns="http://www.hr-xml.org/3" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:xsd="http://www.w3.org/2001/XMLSchema">Various uses
and options are supported. The person name model is intended to be useful across
many cultural contexts. The ordering and presentation of given names and family
names may vary by cultural custom. A person name can be represented as a
formatted string "Mr. John L Smith III, Phd" or represented as discretely
fielded data or both. An option to present a name in an alternative "alphabet"
or script is supported. For example the same name might be presented using
Roman, Kanji, Arabic, or other character sets. Note the term "script" versus
"character set" is used so as not to confuse this issue with concepts such as
"character encoding". </ccts:UsageRule>
Java class for PersonNameType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PersonNameType">
<complexContent>
<extension base="{http://www.hr-xml.org/3}PersonNameBaseType">
<sequence>
<element ref="{http://www.hr-xml.org/3}AlternateScriptPersonName" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.hr-xml.org/3}UserArea" minOccurs="0"/>
</sequence>
<attGroup ref="{http://www.hr-xml.org/3}EffectiveDateAttributeGroup"/>
<attribute name="scriptCode" type="{http://www.openapplications.org/oagis/9}NormalizedStringType" />
<attribute name="nameTypeCode" type="{http://www.hr-xml.org/3}NameTypeCodeContentType" />
<attribute name="legalNameIndicator" type="{http://www.openapplications.org/oagis/9}IndicatorType" />
</extension>
</complexContent>
</complexType>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
PersonNameType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlternateScriptPersonName(AlternateScriptPersonNameType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addValidFrom(String elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addValidTo(String elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
PersonNameType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(PersonNameType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<AlternateScriptPersonNameType> |
getAlternateScriptPersonName()
Gets the value of the alternateScriptPersonName property.
|
AlternateScriptPersonNameType |
getAlternateScriptPersonNameAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getAlternateScriptPersonNameCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
getNameTypeCode()
Gets the value of the nameTypeCode property.
|
String |
getScriptCode()
Gets the value of the scriptCode property.
|
UserAreaType |
getUserArea()
Gets the value of the userArea property.
|
List<String> |
getValidFrom()
Gets the value of the validFrom property.
|
String |
getValidFromAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getValidFromCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<String> |
getValidTo()
Gets the value of the validTo property.
|
String |
getValidToAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getValidToCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasAlternateScriptPersonNameEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoAlternateScriptPersonNameEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoValidFromEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoValidToEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasValidFromEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasValidToEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
Boolean |
isLegalNameIndicator()
Gets the value of the legalNameIndicator property.
|
void |
setAlternateScriptPersonName(List<AlternateScriptPersonNameType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setLegalNameIndicator(Boolean value)
Sets the value of the legalNameIndicator property.
|
void |
setNameTypeCode(String value)
Sets the value of the nameTypeCode property.
|
void |
setScriptCode(String value)
Sets the value of the scriptCode property.
|
void |
setUserArea(UserAreaType value)
Sets the value of the userArea property.
|
void |
setValidFrom(List<String> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setValidTo(List<String> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
addFamilyName, addGivenName, addQualificationAffixCode, addTitleAffixCode, cloneTo, getFamilyName, getFamilyNameAtIndex, getFamilyNameCount, getFormattedName, getFormattedNameValue, getFormerFamilyName, getFormerFamilyNameValue, getGenerationAffixCode, getGenerationAffixCodeValue, getGivenName, getGivenNameAtIndex, getGivenNameCount, getLegalName, getLegalNameValue, getMiddleName, getMiddleNameValue, getPersonNameInitials, getPersonNameInitialsValue, getPreferredName, getPreferredNameValue, getPreferredSalutationCode, getPreferredSalutationCodeValue, getQualificationAffixCode, getQualificationAffixCodeAtIndex, getQualificationAffixCodeCount, getTitleAffixCode, getTitleAffixCodeAtIndex, getTitleAffixCodeCount, hasFamilyNameEntries, hasGivenNameEntries, hasNoFamilyNameEntries, hasNoGivenNameEntries, hasNoQualificationAffixCodeEntries, hasNoTitleAffixCodeEntries, hasQualificationAffixCodeEntries, hasTitleAffixCodeEntries, setFamilyName, setFormattedName, setFormattedName, setFormerFamilyName, setFormerFamilyName, setGenerationAffixCode, setGenerationAffixCode, setGivenName, setLegalName, setLegalName, setMiddleName, setMiddleName, setPersonNameInitials, setPersonNameInitials, setPreferredName, setPreferredName, setPreferredSalutationCode, setPreferredSalutationCode, setQualificationAffixCode, setTitleAffixCodepublic PersonNameType()
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<AlternateScriptPersonNameType> getAlternateScriptPersonName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the alternateScriptPersonName property.
For example, to add a new item, do as follows:
getAlternateScriptPersonName().add(newItem);
Objects of the following type(s) are allowed in the list
AlternateScriptPersonNameType
@Nullable public UserAreaType getUserArea()
UserAreaTypepublic void setUserArea(@Nullable UserAreaType value)
value - allowed object is
UserAreaType@Nullable public String getScriptCode()
Stringpublic void setScriptCode(@Nullable String value)
value - allowed object is
String@Nullable public String getNameTypeCode()
Stringpublic void setNameTypeCode(@Nullable String value)
value - allowed object is
Stringpublic Boolean isLegalNameIndicator()
Booleanpublic void setLegalNameIndicator(@Nullable Boolean value)
value - allowed object is
Boolean@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<String> getValidFrom()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the validFrom property.
For example, to add a new item, do as follows:
getValidFrom().add(newItem);
Objects of the following type(s) are allowed in the list
String
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<String> getValidTo()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the validTo property.
For example, to add a new item, do as follows:
getValidTo().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean equals(Object o)
equals in class PersonNameBaseTypepublic int hashCode()
hashCode in class PersonNameBaseTypepublic String toString()
toString in class PersonNameBaseTypepublic void setAlternateScriptPersonName(@Nullable List<AlternateScriptPersonNameType> aList)
aList - The new list member to set. May be null.public void setValidFrom(@Nullable List<String> aList)
aList - The new list member to set. May be null.public void setValidTo(@Nullable List<String> aList)
aList - The new list member to set. May be null.public boolean hasAlternateScriptPersonNameEntries()
true if at least one item is contained, false otherwise.public boolean hasNoAlternateScriptPersonNameEntries()
true if no item is contained, false otherwise.@Nonnegative public int getAlternateScriptPersonNameCount()
@Nullable public AlternateScriptPersonNameType getAlternateScriptPersonNameAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addAlternateScriptPersonName(@Nonnull AlternateScriptPersonNameType elem)
elem - The element to be added. May not be null.public boolean hasValidFromEntries()
true if at least one item is contained, false otherwise.public boolean hasNoValidFromEntries()
true if no item is contained, false otherwise.@Nonnegative public int getValidFromCount()
@Nullable public String getValidFromAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addValidFrom(@Nonnull String elem)
elem - The element to be added. May not be null.public boolean hasValidToEntries()
true if at least one item is contained, false otherwise.public boolean hasNoValidToEntries()
true if no item is contained, false otherwise.@Nonnegative public int getValidToCount()
@Nullable public String getValidToAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addValidTo(@Nonnull String elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull PersonNameType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public PersonNameType clone()
clone in interface com.helger.commons.lang.IExplicitlyCloneableclone in class PersonNameBaseTypenull.Copyright © 2016–2020 Philip Helger. All rights reserved.