package at.gv.util.xsd.persondata; 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.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import org.w3c.dom.Element; /** * physical person, compare NatuerlichePersonTyp * *

Java class for PhysicalPersonType complex type. * *

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

 * <complexType name="PhysicalPersonType">
 *   <complexContent>
 *     <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType">
 *       <sequence minOccurs="0">
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Name" minOccurs="0"/>
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AlternativeName" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}MaritalStatus" minOccurs="0"/>
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Sex" minOccurs="0"/>
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}DateOfBirth" minOccurs="0"/>
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PlaceOfBirth" minOccurs="0"/>
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}StateOfBirth" minOccurs="0"/>
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CountryOfBirth" minOccurs="0"/>
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}DateOfDeath" minOccurs="0"/>
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Nationality" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Confession" minOccurs="0"/>
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Occupation" minOccurs="0"/>
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}relatedPerson" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}BankConnection" maxOccurs="unbounded" minOccurs="0"/>
 *         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <anyAttribute namespace='##other'/>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PhysicalPersonType", propOrder = { "name", "alternativeName", "maritalStatus", "sex", "dateOfBirth", "placeOfBirth", "stateOfBirth", "countryOfBirth", "dateOfDeath", "nationality", "confession", "occupation", "relatedPerson", "bankConnection", "any" }) public class PhysicalPersonType extends AbstractPersonType { @XmlElement(name = "Name") protected PersonNameType name; @XmlElement(name = "AlternativeName") protected List alternativeName; @XmlElement(name = "MaritalStatus") protected MaritalStatusType maritalStatus; @XmlElement(name = "Sex") protected SexType sex; @XmlElement(name = "DateOfBirth") protected String dateOfBirth; @XmlElement(name = "PlaceOfBirth") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String placeOfBirth; @XmlElement(name = "StateOfBirth") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String stateOfBirth; @XmlElement(name = "CountryOfBirth") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String countryOfBirth; @XmlElement(name = "DateOfDeath") protected String dateOfDeath; @XmlElement(name = "Nationality") protected List nationality; @XmlElement(name = "Confession") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String confession; @XmlElement(name = "Occupation") protected String occupation; protected List relatedPerson; @XmlElement(name = "BankConnection") protected List bankConnection; @XmlAnyElement(lax = true) protected List any; /** * Gets the value of the name property. * * @return * possible object is * {@link PersonNameType } * */ public PersonNameType getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link PersonNameType } * */ public void setName(PersonNameType value) { this.name = value; } /** * Gets the value of the alternativeName 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 alternativeName property. * *

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

     *    getAlternativeName().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AlternativeName } * * */ public List getAlternativeName() { if (alternativeName == null) { alternativeName = new ArrayList(); } return this.alternativeName; } /** * Gets the value of the maritalStatus property. * * @return * possible object is * {@link MaritalStatusType } * */ public MaritalStatusType getMaritalStatus() { return maritalStatus; } /** * Sets the value of the maritalStatus property. * * @param value * allowed object is * {@link MaritalStatusType } * */ public void setMaritalStatus(MaritalStatusType value) { this.maritalStatus = value; } /** * Gets the value of the sex property. * * @return * possible object is * {@link SexType } * */ public SexType getSex() { return sex; } /** * Sets the value of the sex property. * * @param value * allowed object is * {@link SexType } * */ public void setSex(SexType value) { this.sex = value; } /** * Gets the value of the dateOfBirth property. * * @return * possible object is * {@link String } * */ public String getDateOfBirth() { return dateOfBirth; } /** * Sets the value of the dateOfBirth property. * * @param value * allowed object is * {@link String } * */ public void setDateOfBirth(String value) { this.dateOfBirth = value; } /** * Gets the value of the placeOfBirth property. * * @return * possible object is * {@link String } * */ public String getPlaceOfBirth() { return placeOfBirth; } /** * Sets the value of the placeOfBirth property. * * @param value * allowed object is * {@link String } * */ public void setPlaceOfBirth(String value) { this.placeOfBirth = value; } /** * Gets the value of the stateOfBirth property. * * @return * possible object is * {@link String } * */ public String getStateOfBirth() { return stateOfBirth; } /** * Sets the value of the stateOfBirth property. * * @param value * allowed object is * {@link String } * */ public void setStateOfBirth(String value) { this.stateOfBirth = value; } /** * Gets the value of the countryOfBirth property. * * @return * possible object is * {@link String } * */ public String getCountryOfBirth() { return countryOfBirth; } /** * Sets the value of the countryOfBirth property. * * @param value * allowed object is * {@link String } * */ public void setCountryOfBirth(String value) { this.countryOfBirth = value; } /** * Gets the value of the dateOfDeath property. * * @return * possible object is * {@link String } * */ public String getDateOfDeath() { return dateOfDeath; } /** * Sets the value of the dateOfDeath property. * * @param value * allowed object is * {@link String } * */ public void setDateOfDeath(String value) { this.dateOfDeath = value; } /** * Gets the value of the nationality 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 nationality property. * *

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

     *    getNationality().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NationalityType } * * */ public List getNationality() { if (nationality == null) { nationality = new ArrayList(); } return this.nationality; } /** * Gets the value of the confession property. * * @return * possible object is * {@link String } * */ public String getConfession() { return confession; } /** * Sets the value of the confession property. * * @param value * allowed object is * {@link String } * */ public void setConfession(String value) { this.confession = value; } /** * Gets the value of the occupation property. * * @return * possible object is * {@link String } * */ public String getOccupation() { return occupation; } /** * Sets the value of the occupation property. * * @param value * allowed object is * {@link String } * */ public void setOccupation(String value) { this.occupation = value; } /** * Gets the value of the relatedPerson 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 relatedPerson property. * *

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

     *    getRelatedPerson().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link RelatedPerson } * * */ public List getRelatedPerson() { if (relatedPerson == null) { relatedPerson = new ArrayList(); } return this.relatedPerson; } /** * Gets the value of the bankConnection 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 bankConnection property. * *

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

     *    getBankConnection().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link BankConnectionType } * * */ public List getBankConnection() { if (bankConnection == null) { bankConnection = new ArrayList(); } return this.bankConnection; } /** * Gets the value of the any 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 any property. * *

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

     *    getAny().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * {@link Element } * * */ public List getAny() { if (any == null) { any = new ArrayList(); } return this.any; } }