//
// 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for CreatorType complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="CreatorType">
* <complexContent>
* <extension base="{urn:mpeg:mpeg7:schema:2004}MediaAgentType">
* <sequence>
* <element name="Character" type="{urn:mpeg:mpeg7:schema:2004}PersonNameType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Instrument" type="{urn:mpeg:mpeg7:schema:2004}CreationToolType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CreatorType", propOrder = { "character", "instrument" })
public class CreatorType extends MediaAgentType implements Serializable {
private final static long serialVersionUID = 1L;
@XmlElement(name = "Character")
protected List<PersonNameType> character;
@XmlElement(name = "Instrument")
protected List<CreationToolType> instrument;
/**
* Gets the value of the character 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 character property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getCharacter().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link PersonNameType }
*
*
*/
public List<PersonNameType> getCharacter() {
if (character == null) {
character = new ArrayList<PersonNameType>();
}
return this.character;
}
/**
* Gets the value of the instrument 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 instrument property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getInstrument().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CreationToolType }
*
*
*/
public List<CreationToolType> getInstrument() {
if (instrument == null) {
instrument = new ArrayList<CreationToolType>();
}
return this.instrument;
}
}