public class IndividualName extends Object
Java class for IndividualName complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="IndividualName">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://ns.electronichealth.net.au/hi/xsd/common/IndividualNameCore/3.0}nameTitle" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://ns.electronichealth.net.au/hi/xsd/common/IndividualNameCore/3.0}givenName" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://ns.electronichealth.net.au/hi/xsd/common/IndividualNameCore/3.0}familyName"/>
<element ref="{http://ns.electronichealth.net.au/hi/xsd/common/IndividualNameCore/3.0}nameSuffix" maxOccurs="unbounded" minOccurs="0"/>
<element name="nameUsage" type="{http://ns.electronichealth.net.au/hi/xsd/providercore/IndividualName/3.2.0}NameUsageType"/>
<element name="preferred" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
familyName |
protected List<String> |
givenName |
protected List<NameSuffixType> |
nameSuffix |
protected List<NameTitleType> |
nameTitle |
protected NameUsageType |
nameUsage |
protected Boolean |
preferred |
| Constructor and Description |
|---|
IndividualName() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFamilyName()
Gets the value of the familyName property.
|
List<String> |
getGivenName()
Gets the value of the givenName property.
|
List<NameSuffixType> |
getNameSuffix()
Gets the value of the nameSuffix property.
|
List<NameTitleType> |
getNameTitle()
Gets the value of the nameTitle property.
|
NameUsageType |
getNameUsage()
Gets the value of the nameUsage property.
|
Boolean |
isPreferred()
Gets the value of the preferred property.
|
void |
setFamilyName(String value)
Sets the value of the familyName property.
|
void |
setNameUsage(NameUsageType value)
Sets the value of the nameUsage property.
|
void |
setPreferred(Boolean value)
Sets the value of the preferred property.
|
protected List<NameTitleType> nameTitle
protected String familyName
protected List<NameSuffixType> nameSuffix
protected NameUsageType nameUsage
protected Boolean preferred
public List<NameTitleType> getNameTitle()
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 nameTitle property.
For example, to add a new item, do as follows:
getNameTitle().add(newItem);
Objects of the following type(s) are allowed in the list
NameTitleType
public 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 getFamilyName()
Stringpublic void setFamilyName(String value)
value - allowed object is
Stringpublic List<NameSuffixType> getNameSuffix()
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 nameSuffix property.
For example, to add a new item, do as follows:
getNameSuffix().add(newItem);
Objects of the following type(s) are allowed in the list
NameSuffixType
public NameUsageType getNameUsage()
NameUsageTypepublic void setNameUsage(NameUsageType value)
value - allowed object is
NameUsageTypepublic Boolean isPreferred()
BooleanCopyright © 2021. All rights reserved.