diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/szr/persondata/AlternativeNameType.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/szr/persondata/AlternativeNameType.java | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/AlternativeNameType.java b/src/main/java/at/gv/util/xsd/szr/persondata/AlternativeNameType.java new file mode 100644 index 0000000..34b3bdf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/persondata/AlternativeNameType.java @@ -0,0 +1,96 @@ + +package at.gv.util.xsd.szr.persondata; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AlternativeNameType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AlternativeNameType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FamilyName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" fixed="MaidenName" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AlternativeNameType", propOrder = { + "familyName" +}) +public class AlternativeNameType { + + @XmlElement(name = "FamilyName", required = true) + protected String familyName; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anySimpleType") + protected String type; + + /** + * Gets the value of the familyName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFamilyName() { + return familyName; + } + + /** + * Sets the value of the familyName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFamilyName(String value) { + this.familyName = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "MaidenName"; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} |