//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.07.24 at 11:42:28 PM CEST
//
package eu.prestoprime.model.ext.qa;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>
* Java class for PersonNameType complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="PersonNameType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice maxOccurs="unbounded">
* <element name="GivenName" type="{urn:mpeg:mpeg7:schema:2004}NameComponentType"/>
* <element name="LinkingName" type="{urn:mpeg:mpeg7:schema:2004}NameComponentType" minOccurs="0"/>
* <element name="FamilyName" type="{urn:mpeg:mpeg7:schema:2004}NameComponentType" minOccurs="0"/>
* <element name="Title" type="{urn:mpeg:mpeg7:schema:2004}NameComponentType" minOccurs="0"/>
* <element name="Salutation" type="{urn:mpeg:mpeg7:schema:2004}NameComponentType" minOccurs="0"/>
* <element name="Numeration" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </choice>
* </sequence>
* <attribute name="dateFrom" type="{urn:mpeg:mpeg7:schema:2004}timePointType" />
* <attribute name="dateTo" type="{urn:mpeg:mpeg7:schema:2004}timePointType" />
* <attribute name="type">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="former"/>
* <enumeration value="variant"/>
* <enumeration value="main"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PersonNameType", propOrder = { "givenNameOrLinkingNameOrFamilyName" })
public class PersonNameType implements Serializable {
private final static long serialVersionUID = 1L;
@XmlElementRefs({ @XmlElementRef(name = "Numeration", namespace = "urn:mpeg:mpeg7:schema:2004", type = JAXBElement.class, required = false), @XmlElementRef(name = "GivenName", namespace = "urn:mpeg:mpeg7:schema:2004", type = JAXBElement.class, required = false), @XmlElementRef(name = "Salutation", namespace = "urn:mpeg:mpeg7:schema:2004", type = JAXBElement.class, required = false), @XmlElementRef(name = "LinkingName", namespace = "urn:mpeg:mpeg7:schema:2004", type = JAXBElement.class, required = false), @XmlElementRef(name = "Title", namespace = "urn:mpeg:mpeg7:schema:2004", type = JAXBElement.class, required = false), @XmlElementRef(name = "FamilyName", namespace = "urn:mpeg:mpeg7:schema:2004", type = JAXBElement.class, required = false) })
protected List<JAXBElement<? extends Serializable>> givenNameOrLinkingNameOrFamilyName;
@XmlAttribute(name = "dateFrom")
protected String dateFrom;
@XmlAttribute(name = "dateTo")
protected String dateTo;
@XmlAttribute(name = "type")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String type;
@XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String lang;
/**
* Gets the value of the givenNameOrLinkingNameOrFamilyName 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 givenNameOrLinkingNameOrFamilyName
* property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getGivenNameOrLinkingNameOrFamilyName().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link NameComponentType }{@code >}
* {@link JAXBElement }{@code <}{@link NameComponentType }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >} {@link JAXBElement }
* {@code <}{@link NameComponentType }{@code >} {@link JAXBElement }{@code <}
* {@link NameComponentType }{@code >} {@link JAXBElement }{@code <}
* {@link NameComponentType }{@code >}
*
*
*/
public List<JAXBElement<? extends Serializable>> getGivenNameOrLinkingNameOrFamilyName() {
if (givenNameOrLinkingNameOrFamilyName == null) {
givenNameOrLinkingNameOrFamilyName = new ArrayList<JAXBElement<? extends Serializable>>();
}
return this.givenNameOrLinkingNameOrFamilyName;
}
/**
* Gets the value of the dateFrom property.
*
* @return possible object is {@link String }
*
*/
public String getDateFrom() {
return dateFrom;
}
/**
* Sets the value of the dateFrom property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setDateFrom(String value) {
this.dateFrom = value;
}
/**
* Gets the value of the dateTo property.
*
* @return possible object is {@link String }
*
*/
public String getDateTo() {
return dateTo;
}
/**
* Sets the value of the dateTo property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setDateTo(String value) {
this.dateTo = 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 lang property.
*
* @return possible object is {@link String }
*
*/
public String getLang() {
return lang;
}
/**
* Sets the value of the lang property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setLang(String value) {
this.lang = value;
}
}