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.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; /** * container for parts of a name, comapre PersonenNameTyp * *

Java class for CompactPersonNameType complex type. * *

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

 * <complexType name="CompactPersonNameType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
 *         <element name="FamilyName" maxOccurs="unbounded">
 *           <complexType>
 *             <simpleContent>
 *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
 *                 <attribute name="primary" default="undefined">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="true"/>
 *                       <enumeration value="false"/>
 *                       <enumeration value="undefined"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *                 <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" />
 *               </extension>
 *             </simpleContent>
 *           </complexType>
 *         </element>
 *         <element name="Affix" maxOccurs="unbounded" minOccurs="0">
 *           <complexType>
 *             <simpleContent>
 *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
 *                 <attribute name="type">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="academicGrade"/>
 *                       <enumeration value="aristocraticPrefix"/>
 *                       <enumeration value="aristocraticTitle"/>
 *                       <enumeration value="familyNamePrefix"/>
 *                       <enumeration value="familyNameSuffix"/>
 *                       <enumeration value="formOfAddress"/>
 *                       <enumeration value="generation"/>
 *                       <enumeration value="qualification"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *                 <attribute name="position">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="prefix"/>
 *                       <enumeration value="suffix"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *               </extension>
 *             </simpleContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CompactPersonNameType", propOrder = { "givenName", "familyName", "affix" }) public class CompactPersonNameType { @XmlElement(name = "GivenName", required = true) protected List givenName; @XmlElement(name = "FamilyName", required = true) protected List familyName; @XmlElement(name = "Affix") protected List affix; /** * Gets the value of the givenName 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 givenName property. * *

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

     *    getGivenName().add(newItem);
     * 
* * *

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

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

     *    getFamilyName().add(newItem);
     * 
* * *

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

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

     *    getAffix().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CompactPersonNameType.Affix } * * */ public List getAffix() { if (affix == null) { affix = new ArrayList(); } return this.affix; } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <simpleContent>
     *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
     *       <attribute name="type">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="academicGrade"/>
     *             <enumeration value="aristocraticPrefix"/>
     *             <enumeration value="aristocraticTitle"/>
     *             <enumeration value="familyNamePrefix"/>
     *             <enumeration value="familyNameSuffix"/>
     *             <enumeration value="formOfAddress"/>
     *             <enumeration value="generation"/>
     *             <enumeration value="qualification"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *       <attribute name="position">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="prefix"/>
     *             <enumeration value="suffix"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *     </extension>
     *   </simpleContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class Affix { @XmlValue protected String value; @XmlAttribute(name = "type") protected String type; @XmlAttribute(name = "position") protected String position; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the position property. * * @return * possible object is * {@link String } * */ public String getPosition() { return position; } /** * Sets the value of the position property. * * @param value * allowed object is * {@link String } * */ public void setPosition(String value) { this.position = value; } } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <simpleContent>
     *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
     *       <attribute name="primary" default="undefined">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="true"/>
     *             <enumeration value="false"/>
     *             <enumeration value="undefined"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *       <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" />
     *     </extension>
     *   </simpleContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class FamilyName { @XmlValue protected String value; @XmlAttribute(name = "primary") protected String primary; @XmlAttribute(name = "prefix") protected String prefix; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the primary property. * * @return * possible object is * {@link String } * */ public String getPrimary() { if (primary == null) { return "undefined"; } else { return primary; } } /** * Sets the value of the primary property. * * @param value * allowed object is * {@link String } * */ public void setPrimary(String value) { this.primary = value; } /** * Gets the value of the prefix property. * * @return * possible object is * {@link String } * */ public String getPrefix() { return prefix; } /** * Sets the value of the prefix property. * * @param value * allowed object is * {@link String } * */ public void setPrefix(String value) { this.prefix = value; } } }