public class PersonNameType extends Object
Java class for PersonNameType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PersonNameType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="FormattedName" maxOccurs="unbounded" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="type" default="presentation">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="presentation"/>
<enumeration value="legal"/>
<enumeration value="sortOrder"/>
</restriction>
</simpleType>
</attribute>
</extension>
</simpleContent>
</complexType>
</element>
<element name="LegalName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="PreferredGivenName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="MiddleName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="FamilyName" maxOccurs="unbounded" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="primary" default="undefined">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="true"/>
<enumeration value="false"/>
<enumeration value="undefined"/>
</restriction>
</simpleType>
</attribute>
<attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</simpleContent>
</complexType>
</element>
<element name="Affix" maxOccurs="unbounded" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="type" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="academicGrade"/>
<enumeration value="aristocraticPrefix"/>
<enumeration value="aristocraticTitle"/>
<enumeration value="familyNamePrefix"/>
<enumeration value="familyNameSuffix"/>
<enumeration value="formOfAddress"/>
<enumeration value="generation"/>
<enumeration value="qualification"/>
</restriction>
</simpleType>
</attribute>
</extension>
</simpleContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
PersonNameType.Affix
Java class for anonymous complex type.
|
static class |
PersonNameType.FamilyName
Java class for anonymous complex type.
|
static class |
PersonNameType.FormattedName
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<PersonNameType.Affix> |
affix |
protected List<PersonNameType.FamilyName> |
familyName |
protected List<PersonNameType.FormattedName> |
formattedName |
protected List<String> |
givenName |
protected String |
legalName |
protected String |
middleName |
protected String |
preferredGivenName |
| Constructor and Description |
|---|
PersonNameType() |
| Modifier and Type | Method and Description |
|---|---|
List<PersonNameType.Affix> |
getAffix()
Gets the value of the affix property.
|
List<PersonNameType.FamilyName> |
getFamilyName()
Gets the value of the familyName property.
|
List<PersonNameType.FormattedName> |
getFormattedName()
Gets the value of the formattedName property.
|
List<String> |
getGivenName()
Gets the value of the givenName property.
|
String |
getLegalName()
Gets the value of the legalName property.
|
String |
getMiddleName()
Gets the value of the middleName property.
|
String |
getPreferredGivenName()
Gets the value of the preferredGivenName property.
|
void |
setLegalName(String value)
Sets the value of the legalName property.
|
void |
setMiddleName(String value)
Sets the value of the middleName property.
|
void |
setPreferredGivenName(String value)
Sets the value of the preferredGivenName property.
|
protected List<PersonNameType.FormattedName> formattedName
protected String legalName
protected String preferredGivenName
protected String middleName
protected List<PersonNameType.FamilyName> familyName
protected List<PersonNameType.Affix> affix
public List<PersonNameType.FormattedName> getFormattedName()
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 formattedName property.
For example, to add a new item, do as follows:
getFormattedName().add(newItem);
Objects of the following type(s) are allowed in the list
PersonNameType.FormattedName
public String getLegalName()
Stringpublic void setLegalName(String value)
value - allowed object is
Stringpublic List<String> getGivenName()
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 givenName property.
For example, to add a new item, do as follows:
getGivenName().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getPreferredGivenName()
Stringpublic void setPreferredGivenName(String value)
value - allowed object is
Stringpublic String getMiddleName()
Stringpublic void setMiddleName(String value)
value - allowed object is
Stringpublic List<PersonNameType.FamilyName> getFamilyName()
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 familyName property.
For example, to add a new item, do as follows:
getFamilyName().add(newItem);
Objects of the following type(s) are allowed in the list
PersonNameType.FamilyName
public List<PersonNameType.Affix> getAffix()
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 affix property.
For example, to add a new item, do as follows:
getAffix().add(newItem);
Objects of the following type(s) are allowed in the list
PersonNameType.Affix
Copyright © 2016. All rights reserved.