//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.03.18 at 01:35:39 PM CET
//
package ch.fd.invoice400.request;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for patientPersonType complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="patientPersonType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="familyname" type="{http://www.xmlData.ch/xmlInvoice/XSD}stringType1_35"/>
* <element name="givenname" type="{http://www.xmlData.ch/xmlInvoice/XSD}stringType1_35" maxOccurs="3"/>
* </sequence>
* <sequence>
* <element name="postal" type="{http://www.xmlData.ch/xmlInvoice/XSD}postalAddressType"/>
* <element name="telecom" type="{http://www.xmlData.ch/xmlInvoice/XSD}telecomAddressType" minOccurs="0"/>
* <element name="online" type="{http://www.xmlData.ch/xmlInvoice/XSD}onlineAddressType" minOccurs="0"/>
* </sequence>
* </sequence>
* <attribute name="salutation" type="{http://www.xmlData.ch/xmlInvoice/XSD}stringType1_35" />
* <attribute name="title" type="{http://www.xmlData.ch/xmlInvoice/XSD}stringType1_35" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "patientPersonType", propOrder = {
"familyname", "givenname", "postal", "telecom", "online"
})
public class PatientPersonType {
@XmlElement(required = true)
protected String familyname;
@XmlElement(required = true)
protected List<String> givenname;
@XmlElement(required = true)
protected PostalAddressType postal;
protected TelecomAddressType telecom;
protected OnlineAddressType online;
@XmlAttribute(name = "salutation")
protected String salutation;
@XmlAttribute(name = "title")
protected String title;
/**
* Gets the value of the familyname property.
*
* @return possible object is {@link String }
*
*/
public String getFamilyname(){
return familyname;
}
/**
* Sets the value of the familyname property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setFamilyname(String value){
this.familyname = value;
}
/**
* Gets the value of the givenname property.
*
* <p>
* 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 <CODE>set</CODE> method for the givenname property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getGivenname().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getGivenname(){
if (givenname == null) {
givenname = new ArrayList<String>();
}
return this.givenname;
}
/**
* Gets the value of the postal property.
*
* @return possible object is {@link PostalAddressType }
*
*/
public PostalAddressType getPostal(){
return postal;
}
/**
* Sets the value of the postal property.
*
* @param value
* allowed object is {@link PostalAddressType }
*
*/
public void setPostal(PostalAddressType value){
this.postal = value;
}
/**
* Gets the value of the telecom property.
*
* @return possible object is {@link TelecomAddressType }
*
*/
public TelecomAddressType getTelecom(){
return telecom;
}
/**
* Sets the value of the telecom property.
*
* @param value
* allowed object is {@link TelecomAddressType }
*
*/
public void setTelecom(TelecomAddressType value){
this.telecom = value;
}
/**
* Gets the value of the online property.
*
* @return possible object is {@link OnlineAddressType }
*
*/
public OnlineAddressType getOnline(){
return online;
}
/**
* Sets the value of the online property.
*
* @param value
* allowed object is {@link OnlineAddressType }
*
*/
public void setOnline(OnlineAddressType value){
this.online = value;
}
/**
* Gets the value of the salutation property.
*
* @return possible object is {@link String }
*
*/
public String getSalutation(){
return salutation;
}
/**
* Sets the value of the salutation property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSalutation(String value){
this.salutation = value;
}
/**
* Gets the value of the title property.
*
* @return possible object is {@link String }
*
*/
public String getTitle(){
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTitle(String value){
this.title = value;
}
}