// // 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.XmlIDREF; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * <p> * Java class for RegionLocatorType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="RegionLocatorType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="CoordRef" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> * <attribute name="spatialRef" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * </restriction> * </complexContent> * </complexType> * </element> * <element name="Box" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <simpleContent> * <extension base="<urn:mpeg:mpeg7:schema:2004>BoxListType"> * <attribute name="unlocatedRegion" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * </extension> * </simpleContent> * </complexType> * </element> * <element name="Polygon" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Coords" type="{urn:mpeg:mpeg7:schema:2004}IntegerMatrixType"/> * </sequence> * <attribute name="unlocatedRegion" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "RegionLocatorType", propOrder = { "coordRef", "box", "polygon" }) public class RegionLocatorType implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "CoordRef") protected RegionLocatorType.CoordRef coordRef; @XmlElement(name = "Box") protected List<RegionLocatorType.Box> box; @XmlElement(name = "Polygon") protected List<RegionLocatorType.Polygon> polygon; /** * Gets the value of the coordRef property. * * @return possible object is {@link RegionLocatorType.CoordRef } * */ public RegionLocatorType.CoordRef getCoordRef() { return coordRef; } /** * Sets the value of the coordRef property. * * @param value * allowed object is {@link RegionLocatorType.CoordRef } * */ public void setCoordRef(RegionLocatorType.CoordRef value) { this.coordRef = value; } /** * Gets the value of the box 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 box property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getBox().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link RegionLocatorType.Box } * * */ public List<RegionLocatorType.Box> getBox() { if (box == null) { box = new ArrayList<RegionLocatorType.Box>(); } return this.box; } /** * Gets the value of the polygon 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 polygon property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getPolygon().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link RegionLocatorType.Polygon } * * */ public List<RegionLocatorType.Polygon> getPolygon() { if (polygon == null) { polygon = new ArrayList<RegionLocatorType.Polygon>(); } return this.polygon; } /** * <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>BoxListType"> * <attribute name="unlocatedRegion" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Box extends BoxListType implements Serializable { private final static long serialVersionUID = 1L; @XmlAttribute(name = "unlocatedRegion") protected Boolean unlocatedRegion; /** * Gets the value of the unlocatedRegion property. * * @return possible object is {@link Boolean } * */ public boolean isUnlocatedRegion() { if (unlocatedRegion == null) { return false; } else { return unlocatedRegion; } } /** * Sets the value of the unlocatedRegion property. * * @param value * allowed object is {@link Boolean } * */ public void setUnlocatedRegion(Boolean value) { this.unlocatedRegion = value; } } /** * <p> * Java class for anonymous complex type. * * <p> * The following schema fragment specifies the expected content contained * within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> * <attribute name="spatialRef" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class CoordRef implements Serializable { private final static long serialVersionUID = 1L; @XmlAttribute(name = "ref", required = true) @XmlIDREF @XmlSchemaType(name = "IDREF") protected Object ref; @XmlAttribute(name = "spatialRef") protected Boolean spatialRef; /** * Gets the value of the ref property. * * @return possible object is {@link Object } * */ public Object getRef() { return ref; } /** * Sets the value of the ref property. * * @param value * allowed object is {@link Object } * */ public void setRef(Object value) { this.ref = value; } /** * Gets the value of the spatialRef property. * * @return possible object is {@link Boolean } * */ public boolean isSpatialRef() { if (spatialRef == null) { return false; } else { return spatialRef; } } /** * Sets the value of the spatialRef property. * * @param value * allowed object is {@link Boolean } * */ public void setSpatialRef(Boolean value) { this.spatialRef = value; } } /** * <p> * Java class for anonymous complex type. * * <p> * The following schema fragment specifies the expected content contained * within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Coords" type="{urn:mpeg:mpeg7:schema:2004}IntegerMatrixType"/> * </sequence> * <attribute name="unlocatedRegion" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "coords" }) public static class Polygon implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "Coords", required = true) protected IntegerMatrixType coords; @XmlAttribute(name = "unlocatedRegion") protected Boolean unlocatedRegion; /** * Gets the value of the coords property. * * @return possible object is {@link IntegerMatrixType } * */ public IntegerMatrixType getCoords() { return coords; } /** * Sets the value of the coords property. * * @param value * allowed object is {@link IntegerMatrixType } * */ public void setCoords(IntegerMatrixType value) { this.coords = value; } /** * Gets the value of the unlocatedRegion property. * * @return possible object is {@link Boolean } * */ public boolean isUnlocatedRegion() { if (unlocatedRegion == null) { return false; } else { return unlocatedRegion; } } /** * Sets the value of the unlocatedRegion property. * * @param value * allowed object is {@link Boolean } * */ public void setUnlocatedRegion(Boolean value) { this.unlocatedRegion = value; } } }