//
// 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.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;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>
* Java class for TermDefinitionBaseType complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="TermDefinitionBaseType">
* <complexContent>
* <extension base="{urn:mpeg:mpeg7:schema:2004}DSType">
* <sequence>
* <element name="Name" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<urn:mpeg:mpeg7:schema:2004>TextualType">
* <attribute name="preferred" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* <element name="Definition" type="{urn:mpeg:mpeg7:schema:2004}TextualType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="termID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TermDefinitionBaseType", propOrder = { "name", "definition" })
public abstract class TermDefinitionBaseType extends DSType implements Serializable {
private final static long serialVersionUID = 1L;
@XmlElement(name = "Name")
protected List<TermDefinitionBaseType.Name> name;
@XmlElement(name = "Definition")
protected List<TextualType> definition;
@XmlAttribute(name = "termID")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String termID;
/**
* Gets the value of the name 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 name property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getName().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TermDefinitionBaseType.Name }
*
*
*/
public List<TermDefinitionBaseType.Name> getName() {
if (name == null) {
name = new ArrayList<TermDefinitionBaseType.Name>();
}
return this.name;
}
/**
* Gets the value of the definition 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 definition property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getDefinition().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TextualType }
*
*
*/
public List<TextualType> getDefinition() {
if (definition == null) {
definition = new ArrayList<TextualType>();
}
return this.definition;
}
/**
* Gets the value of the termID property.
*
* @return possible object is {@link String }
*
*/
public String getTermID() {
return termID;
}
/**
* Sets the value of the termID property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTermID(String value) {
this.termID = 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="<urn:mpeg:mpeg7:schema:2004>TextualType">
* <attribute name="preferred" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Name extends TextualType implements Serializable {
private final static long serialVersionUID = 1L;
@XmlAttribute(name = "preferred")
protected Boolean preferred;
/**
* Gets the value of the preferred property.
*
* @return possible object is {@link Boolean }
*
*/
public Boolean isPreferred() {
return preferred;
}
/**
* Sets the value of the preferred property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setPreferred(Boolean value) {
this.preferred = value;
}
}
}