au.net.electronichealth.ns.pcehr.xsd.common.commoncoreelements._1
Class NameTypeSupp

java.lang.Object
  extended by au.net.electronichealth.ns.pcehr.xsd.common.commoncoreelements._1.NameTypeSupp

public class NameTypeSupp
extends java.lang.Object

Java class for nameTypeSupp complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="nameTypeSupp">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="nameTitle" type="{http://ns.electronichealth.net.au/pcehr/xsd/common/CommonCoreElements/1.0}nameTitle" minOccurs="0"/>
         <element name="familyName">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <minLength value="1"/>
               <maxLength value="40"/>
             </restriction>
           </simpleType>
         </element>
         <element name="givenName" maxOccurs="2" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <minLength value="1"/>
               <maxLength value="40"/>
             </restriction>
           </simpleType>
         </element>
         <element name="nameSuffix" type="{http://ns.electronichealth.net.au/pcehr/xsd/common/CommonCoreElements/1.0}nameSuffix" minOccurs="0"/>
         <element name="usage" type="{http://ns.electronichealth.net.au/pcehr/xsd/common/CommonCoreElements/1.0}usage" minOccurs="0"/>
         <element name="preferred" type="{http://ns.electronichealth.net.au/pcehr/xsd/common/CommonCoreElements/1.0}preferred" minOccurs="0"/>
         <element name="conditionalUse" type="{http://ns.electronichealth.net.au/pcehr/xsd/common/CommonCoreElements/1.0}conditionalUse" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String conditionalUse
           
protected  java.lang.String familyName
           
protected  java.util.List<java.lang.String> givenNames
           
protected  NameSuffix nameSuffix
           
protected  java.lang.String nameTitle
           
protected  Preferred preferred
           
protected  Usage usage
           
 
Constructor Summary
NameTypeSupp()
           
 
Method Summary
 java.lang.String getConditionalUse()
          Gets the value of the conditionalUse property.
 java.lang.String getFamilyName()
          Gets the value of the familyName property.
 java.util.List<java.lang.String> getGivenNames()
          Gets the value of the givenNames property.
 NameSuffix getNameSuffix()
          Gets the value of the nameSuffix property.
 java.lang.String getNameTitle()
          Gets the value of the nameTitle property.
 Preferred getPreferred()
          Gets the value of the preferred property.
 Usage getUsage()
          Gets the value of the usage property.
 void setConditionalUse(java.lang.String value)
          Sets the value of the conditionalUse property.
 void setFamilyName(java.lang.String value)
          Sets the value of the familyName property.
 void setNameSuffix(NameSuffix value)
          Sets the value of the nameSuffix property.
 void setNameTitle(java.lang.String value)
          Sets the value of the nameTitle property.
 void setPreferred(Preferred value)
          Sets the value of the preferred property.
 void setUsage(Usage value)
          Sets the value of the usage property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nameTitle

protected java.lang.String nameTitle

familyName

protected java.lang.String familyName

givenNames

protected java.util.List<java.lang.String> givenNames

nameSuffix

protected NameSuffix nameSuffix

usage

protected Usage usage

preferred

protected Preferred preferred

conditionalUse

protected java.lang.String conditionalUse
Constructor Detail

NameTypeSupp

public NameTypeSupp()
Method Detail

getNameTitle

public java.lang.String getNameTitle()
Gets the value of the nameTitle property.

Returns:
possible object is String

setNameTitle

public void setNameTitle(java.lang.String value)
Sets the value of the nameTitle property.

Parameters:
value - allowed object is String

getFamilyName

public java.lang.String getFamilyName()
Gets the value of the familyName property.

Returns:
possible object is String

setFamilyName

public void setFamilyName(java.lang.String value)
Sets the value of the familyName property.

Parameters:
value - allowed object is String

getGivenNames

public java.util.List<java.lang.String> getGivenNames()
Gets the value of the givenNames property.

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 givenNames property.

For example, to add a new item, do as follows:

    getGivenNames().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getNameSuffix

public NameSuffix getNameSuffix()
Gets the value of the nameSuffix property.

Returns:
possible object is NameSuffix

setNameSuffix

public void setNameSuffix(NameSuffix value)
Sets the value of the nameSuffix property.

Parameters:
value - allowed object is NameSuffix

getUsage

public Usage getUsage()
Gets the value of the usage property.

Returns:
possible object is Usage

setUsage

public void setUsage(Usage value)
Sets the value of the usage property.

Parameters:
value - allowed object is Usage

getPreferred

public Preferred getPreferred()
Gets the value of the preferred property.

Returns:
possible object is Preferred

setPreferred

public void setPreferred(Preferred value)
Sets the value of the preferred property.

Parameters:
value - allowed object is Preferred

getConditionalUse

public java.lang.String getConditionalUse()
Gets the value of the conditionalUse property.

Returns:
possible object is String

setConditionalUse

public void setConditionalUse(java.lang.String value)
Sets the value of the conditionalUse property.

Parameters:
value - allowed object is String