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

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

public class ContactPersonTypeSupp
extends java.lang.Object

Java class for contactPersonTypeSupp complex type.

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

 <complexType name="contactPersonTypeSupp">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="type">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="Emergency"/>
               <enumeration value="Next of Kin"/>
               <enumeration value="Carer"/>
             </restriction>
           </simpleType>
         </element>
         <element name="name">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <minLength value="1"/>
               <maxLength value="255"/>
               <whiteSpace value="collapse"/>
             </restriction>
           </simpleType>
         </element>
         <element name="phoneNumber" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <minLength value="1"/>
               <maxLength value="50"/>
               <whiteSpace value="collapse"/>
             </restriction>
           </simpleType>
         </element>
         <element name="emailAddress" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <minLength value="1"/>
               <maxLength value="255"/>
               <whiteSpace value="collapse"/>
             </restriction>
           </simpleType>
         </element>
         <element name="relationship" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <minLength value="1"/>
               <maxLength value="255"/>
               <whiteSpace value="collapse"/>
             </restriction>
           </simpleType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String emailAddress
           
protected  java.lang.String name
           
protected  java.lang.String phoneNumber
           
protected  java.lang.String relationship
           
protected  java.lang.String type
           
 
Constructor Summary
ContactPersonTypeSupp()
           
 
Method Summary
 java.lang.String getEmailAddress()
          Gets the value of the emailAddress property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getPhoneNumber()
          Gets the value of the phoneNumber property.
 java.lang.String getRelationship()
          Gets the value of the relationship property.
 java.lang.String getType()
          Gets the value of the type property.
 void setEmailAddress(java.lang.String value)
          Sets the value of the emailAddress property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setPhoneNumber(java.lang.String value)
          Sets the value of the phoneNumber property.
 void setRelationship(java.lang.String value)
          Sets the value of the relationship property.
 void setType(java.lang.String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected java.lang.String type

name

protected java.lang.String name

phoneNumber

protected java.lang.String phoneNumber

emailAddress

protected java.lang.String emailAddress

relationship

protected java.lang.String relationship
Constructor Detail

ContactPersonTypeSupp

public ContactPersonTypeSupp()
Method Detail

getType

public java.lang.String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(java.lang.String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getPhoneNumber

public java.lang.String getPhoneNumber()
Gets the value of the phoneNumber property.

Returns:
possible object is String

setPhoneNumber

public void setPhoneNumber(java.lang.String value)
Sets the value of the phoneNumber property.

Parameters:
value - allowed object is String

getEmailAddress

public java.lang.String getEmailAddress()
Gets the value of the emailAddress property.

Returns:
possible object is String

setEmailAddress

public void setEmailAddress(java.lang.String value)
Sets the value of the emailAddress property.

Parameters:
value - allowed object is String

getRelationship

public java.lang.String getRelationship()
Gets the value of the relationship property.

Returns:
possible object is String

setRelationship

public void setRelationship(java.lang.String value)
Sets the value of the relationship property.

Parameters:
value - allowed object is String