//
// 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.XmlList;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for Shape3DType complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="Shape3DType">
* <complexContent>
* <extension base="{urn:mpeg:mpeg7:schema:2004}VisualDType">
* <sequence>
* <element name="Spectrum">
* <simpleType>
* <restriction>
* <simpleType>
* <list itemType="{urn:mpeg:mpeg7:schema:2004}unsigned12" />
* </simpleType>
* <maxLength value="255"/>
* </restriction>
* </simpleType>
* </element>
* <element name="PlanarSurfaces" type="{urn:mpeg:mpeg7:schema:2004}unsigned12"/>
* <element name="SingularSurfaces" type="{urn:mpeg:mpeg7:schema:2004}unsigned12"/>
* </sequence>
* <attribute name="bitsPerBin" type="{urn:mpeg:mpeg7:schema:2004}unsigned4" default="12" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Shape3DType", propOrder = { "spectrum", "planarSurfaces", "singularSurfaces" })
public class Shape3DType extends VisualDType implements Serializable {
private final static long serialVersionUID = 1L;
@XmlList
@XmlElement(name = "Spectrum", type = Integer.class)
protected List<Integer> spectrum;
@XmlElement(name = "PlanarSurfaces")
protected int planarSurfaces;
@XmlElement(name = "SingularSurfaces")
protected int singularSurfaces;
@XmlAttribute(name = "bitsPerBin")
protected Integer bitsPerBin;
/**
* Gets the value of the spectrum 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 spectrum property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getSpectrum().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link Integer }
*
*
*/
public List<Integer> getSpectrum() {
if (spectrum == null) {
spectrum = new ArrayList<Integer>();
}
return this.spectrum;
}
/**
* Gets the value of the planarSurfaces property.
*
*/
public int getPlanarSurfaces() {
return planarSurfaces;
}
/**
* Sets the value of the planarSurfaces property.
*
*/
public void setPlanarSurfaces(int value) {
this.planarSurfaces = value;
}
/**
* Gets the value of the singularSurfaces property.
*
*/
public int getSingularSurfaces() {
return singularSurfaces;
}
/**
* Sets the value of the singularSurfaces property.
*
*/
public void setSingularSurfaces(int value) {
this.singularSurfaces = value;
}
/**
* Gets the value of the bitsPerBin property.
*
* @return possible object is {@link Integer }
*
*/
public int getBitsPerBin() {
if (bitsPerBin == null) {
return 12;
} else {
return bitsPerBin;
}
}
/**
* Sets the value of the bitsPerBin property.
*
* @param value
* allowed object is {@link Integer }
*
*/
public void setBitsPerBin(Integer value) {
this.bitsPerBin = value;
}
}