package at.gv.util.xsd.mzs.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.XmlType; import javax.xml.bind.annotation.XmlValue; /** *
Java class for PersonNameType complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType name="PersonNameType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="FamilyName"> * <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> * </sequence> * </restriction> * </complexContent> * </complexType> ** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PersonNameType", propOrder = { "givenName", "familyName" }) public class PersonNameType { @XmlElement(name = "GivenName", required = true) protected String givenName; @XmlElement(name = "FamilyName", required = true) protected PersonNameType.FamilyName familyName; /** * Gets the value of the givenName property. * * @return * possible object is * {@link String } * */ public String getGivenName() { return givenName; } /** * Sets the value of the givenName property. * * @param value * allowed object is * {@link String } * */ public void setGivenName(String value) { this.givenName = value; } /** * Gets the value of the familyName property. * * @return * possible object is * {@link PersonNameType.FamilyName } * */ public PersonNameType.FamilyName getFamilyName() { return familyName; } /** * Sets the value of the familyName property. * * @param value * allowed object is * {@link PersonNameType.FamilyName } * */ public void setFamilyName(PersonNameType.FamilyName value) { this.familyName = 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 protected String primary; @XmlAttribute 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; } } }