package at.gv.util.xsd.ersb.pd; 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; /** * entspricht NameType * *

Java class for PersonenNameTyp complex type. * *

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

 * <complexType name="PersonenNameTyp">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Vorname" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="Familienname">
 *           <complexType>
 *             <simpleContent>
 *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
 *                 <attribute name="primaer" default="undefiniert">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="wahr"/>
 *                       <enumeration value="falsch"/>
 *                       <enumeration value="undefiniert"/>
 *                     </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="typ">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="akademischerGrad"/>
 *                       <enumeration value="Adelstitel"/>
 *                       <enumeration value="FamiliennamenAffix"/>
 *                       <enumeration value="Anrede"/>
 *                       <enumeration value="Generation"/>
 *                       <enumeration value="Qualifikation"/>
 *                     </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 = "PersonenNameTyp", propOrder = { "vorname", "familienname", "affix" }) public class PersonenNameTyp { @XmlElement(name = "Vorname", required = true) protected String vorname; @XmlElement(name = "Familienname", required = true) protected PersonenNameTyp.Familienname familienname; @XmlElement(name = "Affix") protected List affix; /** * Gets the value of the vorname property. * * @return * possible object is * {@link String } * */ public String getVorname() { return vorname; } /** * Sets the value of the vorname property. * * @param value * allowed object is * {@link String } * */ public void setVorname(String value) { this.vorname = value; } /** * Gets the value of the familienname property. * * @return * possible object is * {@link PersonenNameTyp.Familienname } * */ public PersonenNameTyp.Familienname getFamilienname() { return familienname; } /** * Sets the value of the familienname property. * * @param value * allowed object is * {@link PersonenNameTyp.Familienname } * */ public void setFamilienname(PersonenNameTyp.Familienname value) { this.familienname = value; } /** * 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 PersonenNameTyp.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="typ">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="akademischerGrad"/>
     *             <enumeration value="Adelstitel"/>
     *             <enumeration value="FamiliennamenAffix"/>
     *             <enumeration value="Anrede"/>
     *             <enumeration value="Generation"/>
     *             <enumeration value="Qualifikation"/>
     *           </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 = "typ") protected String typ; @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 typ property. * * @return * possible object is * {@link String } * */ public String getTyp() { return typ; } /** * Sets the value of the typ property. * * @param value * allowed object is * {@link String } * */ public void setTyp(String value) { this.typ = 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="primaer" default="undefiniert">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="wahr"/>
     *             <enumeration value="falsch"/>
     *             <enumeration value="undefiniert"/>
     *           </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 Familienname { @XmlValue protected String value; @XmlAttribute(name = "primaer") protected String primaer; @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 primaer property. * * @return * possible object is * {@link String } * */ public String getPrimaer() { if (primaer == null) { return "undefiniert"; } else { return primaer; } } /** * Sets the value of the primaer property. * * @param value * allowed object is * {@link String } * */ public void setPrimaer(String value) { this.primaer = 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; } } }