// // 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.XmlType; /** * <p> * Java class for AvailabilityType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="AvailabilityType"> * <complexContent> * <extension base="{urn:mpeg:mpeg7:schema:2004}DSType"> * <sequence> * <element name="InstanceRef" type="{urn:mpeg:mpeg7:schema:2004}ReferenceType"/> * <element name="Dissemination" type="{urn:mpeg:mpeg7:schema:2004}DisseminationType" minOccurs="0"/> * <element name="AvailabilityPeriod" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <extension base="{urn:mpeg:mpeg7:schema:2004}TimeType"> * <attribute name="type"> * <simpleType> * <list> * <simpleType> * <union> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="live"/> * <enumeration value="repeat"/> * <enumeration value="firstShowing"/> * <enumeration value="lastShowing"/> * <enumeration value="conditionalAccess"/> * <enumeration value="encrypted"/> * <enumeration value="payPerUse"/> * </restriction> * </simpleType> * <simpleType> * <restriction base="{urn:mpeg:mpeg7:schema:2004}termReferenceType"> * </restriction> * </simpleType> * </union> * </simpleType> * </list> * </simpleType> * </attribute> * </extension> * </complexContent> * </complexType> * </element> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AvailabilityType", propOrder = { "instanceRef", "dissemination", "availabilityPeriod" }) public class AvailabilityType extends DSType implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "InstanceRef", required = true) protected ReferenceType instanceRef; @XmlElement(name = "Dissemination") protected DisseminationType dissemination; @XmlElement(name = "AvailabilityPeriod") protected List<AvailabilityType.AvailabilityPeriod> availabilityPeriod; /** * Gets the value of the instanceRef property. * * @return possible object is {@link ReferenceType } * */ public ReferenceType getInstanceRef() { return instanceRef; } /** * Sets the value of the instanceRef property. * * @param value * allowed object is {@link ReferenceType } * */ public void setInstanceRef(ReferenceType value) { this.instanceRef = value; } /** * Gets the value of the dissemination property. * * @return possible object is {@link DisseminationType } * */ public DisseminationType getDissemination() { return dissemination; } /** * Sets the value of the dissemination property. * * @param value * allowed object is {@link DisseminationType } * */ public void setDissemination(DisseminationType value) { this.dissemination = value; } /** * Gets the value of the availabilityPeriod 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 availabilityPeriod property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getAvailabilityPeriod().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link AvailabilityType.AvailabilityPeriod } * * */ public List<AvailabilityType.AvailabilityPeriod> getAvailabilityPeriod() { if (availabilityPeriod == null) { availabilityPeriod = new ArrayList<AvailabilityType.AvailabilityPeriod>(); } return this.availabilityPeriod; } /** * <p> * Java class for anonymous complex type. * * <p> * The following schema fragment specifies the expected content contained * within this class. * * <pre> * <complexType> * <complexContent> * <extension base="{urn:mpeg:mpeg7:schema:2004}TimeType"> * <attribute name="type"> * <simpleType> * <list> * <simpleType> * <union> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="live"/> * <enumeration value="repeat"/> * <enumeration value="firstShowing"/> * <enumeration value="lastShowing"/> * <enumeration value="conditionalAccess"/> * <enumeration value="encrypted"/> * <enumeration value="payPerUse"/> * </restriction> * </simpleType> * <simpleType> * <restriction base="{urn:mpeg:mpeg7:schema:2004}termReferenceType"> * </restriction> * </simpleType> * </union> * </simpleType> * </list> * </simpleType> * </attribute> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class AvailabilityPeriod extends TimeType implements Serializable { private final static long serialVersionUID = 1L; @XmlAttribute(name = "type") protected List<String> type; /** * Gets the value of the type 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 type property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getType().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getType() { if (type == null) { type = new ArrayList<String>(); } return this.type; } } }