diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 |
commit | defceef8afef538555c13d33e344a89a828a3d97 (patch) | |
tree | 24b44f970f161d5b139dde501ca0f5d883f9fdea /src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenNameTyp.java | |
download | egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.gz egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.bz2 egovutils-defceef8afef538555c13d33e344a89a828a3d97.zip |
inital
Diffstat (limited to 'src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenNameTyp.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenNameTyp.java | 415 |
1 files changed, 415 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenNameTyp.java b/src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenNameTyp.java new file mode 100644 index 0000000..0b75a94 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenNameTyp.java @@ -0,0 +1,415 @@ + +package at.gv.util.xsd.ersb.personendata1; + +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 + * + * <p>Java class for PersonenNameTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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> + * </pre> + * + * + */ +@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<PersonenNameTyp.Affix> 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. + * + * <p> + * 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 <CODE>set</CODE> method for the affix property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAffix().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonenNameTyp.Affix } + * + * + */ + public List<PersonenNameTyp.Affix> getAffix() { + if (affix == null) { + affix = new ArrayList<PersonenNameTyp.Affix>(); + } + return this.affix; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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> + * </pre> + * + * + */ + @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; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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> + * </pre> + * + * + */ + @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; + } + + } + +} |