// // 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.XmlElements; import javax.xml.bind.annotation.XmlType; /** * <p> * Java class for SpokenContentHeaderType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="SpokenContentHeaderType"> * <complexContent> * <extension base="{urn:mpeg:mpeg7:schema:2004}HeaderType"> * <sequence> * <choice maxOccurs="unbounded"> * <element name="WordLexicon" type="{urn:mpeg:mpeg7:schema:2004}WordLexiconType"/> * <element name="PhoneLexicon" type="{urn:mpeg:mpeg7:schema:2004}PhoneLexiconType"/> * </choice> * <element name="ConfusionInfo" type="{urn:mpeg:mpeg7:schema:2004}ConfusionCountType" maxOccurs="unbounded" minOccurs="0"/> * <element name="DescriptionMetadata" type="{urn:mpeg:mpeg7:schema:2004}DescriptionMetadataType" minOccurs="0"/> * <element name="SpeakerInfo" type="{urn:mpeg:mpeg7:schema:2004}SpeakerInfoType" maxOccurs="unbounded"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SpokenContentHeaderType", propOrder = { "wordLexiconOrPhoneLexicon", "confusionInfo", "descriptionMetadata", "speakerInfo" }) public class SpokenContentHeaderType extends HeaderType implements Serializable { private final static long serialVersionUID = 1L; @XmlElements({ @XmlElement(name = "WordLexicon", type = WordLexiconType.class), @XmlElement(name = "PhoneLexicon", type = PhoneLexiconType.class) }) protected List<LexiconType> wordLexiconOrPhoneLexicon; @XmlElement(name = "ConfusionInfo") protected List<ConfusionCountType> confusionInfo; @XmlElement(name = "DescriptionMetadata") protected DescriptionMetadataType descriptionMetadata; @XmlElement(name = "SpeakerInfo", required = true) protected List<SpeakerInfoType> speakerInfo; /** * Gets the value of the wordLexiconOrPhoneLexicon 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 wordLexiconOrPhoneLexicon property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getWordLexiconOrPhoneLexicon().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link WordLexiconType } {@link PhoneLexiconType } * * */ public List<LexiconType> getWordLexiconOrPhoneLexicon() { if (wordLexiconOrPhoneLexicon == null) { wordLexiconOrPhoneLexicon = new ArrayList<LexiconType>(); } return this.wordLexiconOrPhoneLexicon; } /** * Gets the value of the confusionInfo 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 confusionInfo property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getConfusionInfo().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link ConfusionCountType } * * */ public List<ConfusionCountType> getConfusionInfo() { if (confusionInfo == null) { confusionInfo = new ArrayList<ConfusionCountType>(); } return this.confusionInfo; } /** * Gets the value of the descriptionMetadata property. * * @return possible object is {@link DescriptionMetadataType } * */ public DescriptionMetadataType getDescriptionMetadata() { return descriptionMetadata; } /** * Sets the value of the descriptionMetadata property. * * @param value * allowed object is {@link DescriptionMetadataType } * */ public void setDescriptionMetadata(DescriptionMetadataType value) { this.descriptionMetadata = value; } /** * Gets the value of the speakerInfo 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 speakerInfo property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getSpeakerInfo().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link SpeakerInfoType } * * */ public List<SpeakerInfoType> getSpeakerInfo() { if (speakerInfo == null) { speakerInfo = new ArrayList<SpeakerInfoType>(); } return this.speakerInfo; } }