// // 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 KeywordAnnotationType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="KeywordAnnotationType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Keyword" maxOccurs="unbounded"> * <complexType> * <simpleContent> * <extension base="<urn:mpeg:mpeg7:schema:2004>TextualType"> * <attribute name="type" default="main"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="main"/> * <enumeration value="secondary"/> * <enumeration value="other"/> * </restriction> * </simpleType> * </attribute> * </extension> * </simpleContent> * </complexType> * </element> * </sequence> * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "KeywordAnnotationType", propOrder = { "keyword" }) public class KeywordAnnotationType implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "Keyword", required = true) protected List<KeywordAnnotationType.Keyword> keyword; @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 keyword 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 keyword property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getKeyword().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link KeywordAnnotationType.Keyword } * * */ public List<KeywordAnnotationType.Keyword> getKeyword() { if (keyword == null) { keyword = new ArrayList<KeywordAnnotationType.Keyword>(); } return this.keyword; } /** * 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; } /** * <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="type" default="main"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="main"/> * <enumeration value="secondary"/> * <enumeration value="other"/> * </restriction> * </simpleType> * </attribute> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Keyword extends TextualType implements Serializable { private final static long serialVersionUID = 1L; @XmlAttribute(name = "type") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String type; /** * Gets the value of the type property. * * @return possible object is {@link String } * */ public String getType() { if (type == null) { return "main"; } else { return type; } } /** * Sets the value of the type property. * * @param value * allowed object is {@link String } * */ public void setType(String value) { this.type = value; } } }