package at.gv.util.xsd.zkopf.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; /** *
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> * <element name="Affix" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>string"> * <attribute name="type" use="required"> * <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 = "PersonNameType", propOrder = { "givenName", "familyName", "affix" }) public class PersonNameType { @XmlElement(name = "GivenName", required = true) protected String givenName; @XmlElement(name = "FamilyName", required = true) protected PersonNameType.FamilyName familyName; @XmlElement(name = "Affix") protected List
* 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 PersonNameType.Affix }
*
*
*/
public List Java class for anonymous complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
* 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" use="required">
* <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(required = true)
protected String type;
@XmlAttribute
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;
}
}
/**
*
* <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;
}
}
}