package at.gv.util.xsd.stork; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** *

Java class for representationPerson complex type. * *

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

 * <complexType name="representationPerson">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <choice>
 *         <sequence>
 *           <element name="naturalPerson" type="{urn:eu:stork:names:tc:PEPS:1.0:assertion}natPerson"/>
 *         </sequence>
 *         <sequence>
 *           <element name="legalPerson" type="{urn:eu:stork:names:tc:PEPS:1.0:assertion}jurPerson"/>
 *         </sequence>
 *       </choice>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "representationPerson", propOrder = { "naturalPerson", "legalPerson" }) public class RepresentationPerson { protected NatPerson naturalPerson; protected JurPerson legalPerson; /** * Gets the value of the naturalPerson property. * * @return * possible object is * {@link NatPerson } * */ public NatPerson getNaturalPerson() { return naturalPerson; } /** * Sets the value of the naturalPerson property. * * @param value * allowed object is * {@link NatPerson } * */ public void setNaturalPerson(NatPerson value) { this.naturalPerson = value; } /** * Gets the value of the legalPerson property. * * @return * possible object is * {@link JurPerson } * */ public JurPerson getLegalPerson() { return legalPerson; } /** * Sets the value of the legalPerson property. * * @param value * allowed object is * {@link JurPerson } * */ public void setLegalPerson(JurPerson value) { this.legalPerson = value; } }