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

Java-Klasse für anonymous complex type. * *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

 * <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") @XmlSchemaType(name = "anySimpleType") 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; } /** * Ruft den Wert der physicalPerson-Eigenschaft ab. * * @return * possible object is * {@link PhysicalPersonType } * */ public PhysicalPersonType getPhysicalPerson() { return physicalPerson; } /** * Legt den Wert der physicalPerson-Eigenschaft fest. * * @param value * allowed object is * {@link PhysicalPersonType } * */ public void setPhysicalPerson(PhysicalPersonType value) { this.physicalPerson = value; } }