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.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** *

Java class for anonymous complex type. * *

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

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="TypeOfRelation" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}RelationType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "typeOfRelation", "physicalPerson" }) @XmlRootElement(name = "relatedPerson") public class RelatedPerson { @XmlElement(name = "TypeOfRelation") protected List typeOfRelation; @XmlElement(name = "PhysicalPerson", required = true) protected PhysicalPersonType physicalPerson; /** * Gets the value of the typeOfRelation 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 typeOfRelation property. * *

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

     *    getTypeOfRelation().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getTypeOfRelation() { if (typeOfRelation == null) { typeOfRelation = new ArrayList(); } return this.typeOfRelation; } /** * Gets the value of the physicalPerson property. * * @return * possible object is * {@link PhysicalPersonType } * */ public PhysicalPersonType getPhysicalPerson() { return physicalPerson; } /** * Sets the value of the physicalPerson property. * * @param value * allowed object is * {@link PhysicalPersonType } * */ public void setPhysicalPerson(PhysicalPersonType value) { this.physicalPerson = value; } }