// // 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.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; /** * <p> * Java class for VisualImpairmentType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="VisualImpairmentType"> * <complexContent> * <extension base="{urn:mpeg:mpeg7:schema:2004}VisualDType"> * <sequence> * <element name="Class" type="{urn:mpeg:mpeg7:schema:2004}ControlledTermUseType"/> * <element name="Strength" type="{urn:mpeg:mpeg7:schema:2004}zeroToOneType" minOccurs="0"/> * <element name="StrengthSamples" type="{http://www.prestospace.org/res/defect_quality}ImpairmentSampleListType" minOccurs="0"/> * <element name="Relevance" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <simpleContent> * <extension base="<urn:mpeg:mpeg7:schema:2004>zeroToOneType"> * <attribute name="appProfile" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * </extension> * </simpleContent> * </complexType> * </element> * <element name="Origin" type="{urn:mpeg:mpeg7:schema:2004}ControlledTermUseType" maxOccurs="unbounded" minOccurs="0"/> * <element name="Confidence" type="{urn:mpeg:mpeg7:schema:2004}zeroToOneType" minOccurs="0"/> * <element name="DetectionProcess" type="{http://www.prestospace.org/res/defect_quality}DetectionProcessType" minOccurs="0"/> * <choice minOccurs="0"> * <element name="ColorSpace" type="{urn:mpeg:mpeg7:schema:2004}ColorSpaceType"/> * <element name="ColorSpaceRef" type="{urn:mpeg:mpeg7:schema:2004}ReferenceType"/> * </choice> * <element name="Status" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="undefined"/> * <enumeration value="checked"/> * <enumeration value="needs restoration"/> * <enumeration value="restored"/> * <enumeration value="deleted"/> * </restriction> * </simpleType> * </element> * <element name="Comment" type="{urn:mpeg:mpeg7:schema:2004}TextAnnotationType" minOccurs="0"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VisualImpairmentType", namespace = "http://www.prestospace.org/res/defect_quality", propOrder = { "clazz", "strength", "strengthSamples", "relevance", "origin", "confidence", "detectionProcess", "colorSpace", "colorSpaceRef", "status", "comment" }) @XmlSeeAlso({ BlackFrameDefectType.class, VideoBreakupDefectType.class, FullFrameDamageType.class, BlockingLevelType.class, UpconversionType.class, DustLevelType.class, ImageInstabilityType.class, NoiseGrainLevelType.class, ChannelMisalignmentType.class, BlurLevelType.class, LineScratchDefectType.class, ColorRangeDefectType.class, FlickerLevelType.class, LineScratchLevelType.class, FrameLossType.class, DropoutDefectType.class, DropoutLevelType.class }) public class VisualImpairmentType extends VisualDType implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "Class", required = true) protected ControlledTermUseType clazz; @XmlElement(name = "Strength") protected Float strength; @XmlElement(name = "StrengthSamples") protected ImpairmentSampleListType strengthSamples; @XmlElement(name = "Relevance") protected List<VisualImpairmentType.Relevance> relevance; @XmlElement(name = "Origin") protected List<ControlledTermUseType> origin; @XmlElement(name = "Confidence") protected Float confidence; @XmlElement(name = "DetectionProcess") protected DetectionProcessType detectionProcess; @XmlElement(name = "ColorSpace") protected ColorSpaceType colorSpace; @XmlElement(name = "ColorSpaceRef") protected ReferenceType colorSpaceRef; @XmlElement(name = "Status") protected String status; @XmlElement(name = "Comment") protected TextAnnotationType comment; /** * Gets the value of the clazz property. * * @return possible object is {@link ControlledTermUseType } * */ public ControlledTermUseType getClazz() { return clazz; } /** * Sets the value of the clazz property. * * @param value * allowed object is {@link ControlledTermUseType } * */ public void setClazz(ControlledTermUseType value) { this.clazz = value; } /** * Gets the value of the strength property. * * @return possible object is {@link Float } * */ public Float getStrength() { return strength; } /** * Sets the value of the strength property. * * @param value * allowed object is {@link Float } * */ public void setStrength(Float value) { this.strength = value; } /** * Gets the value of the strengthSamples property. * * @return possible object is {@link ImpairmentSampleListType } * */ public ImpairmentSampleListType getStrengthSamples() { return strengthSamples; } /** * Sets the value of the strengthSamples property. * * @param value * allowed object is {@link ImpairmentSampleListType } * */ public void setStrengthSamples(ImpairmentSampleListType value) { this.strengthSamples = value; } /** * Gets the value of the relevance 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 relevance property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getRelevance().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link VisualImpairmentType.Relevance } * * */ public List<VisualImpairmentType.Relevance> getRelevance() { if (relevance == null) { relevance = new ArrayList<VisualImpairmentType.Relevance>(); } return this.relevance; } /** * Gets the value of the origin 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 origin property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getOrigin().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link ControlledTermUseType } * * */ public List<ControlledTermUseType> getOrigin() { if (origin == null) { origin = new ArrayList<ControlledTermUseType>(); } return this.origin; } /** * Gets the value of the confidence property. * * @return possible object is {@link Float } * */ public Float getConfidence() { return confidence; } /** * Sets the value of the confidence property. * * @param value * allowed object is {@link Float } * */ public void setConfidence(Float value) { this.confidence = value; } /** * Gets the value of the detectionProcess property. * * @return possible object is {@link DetectionProcessType } * */ public DetectionProcessType getDetectionProcess() { return detectionProcess; } /** * Sets the value of the detectionProcess property. * * @param value * allowed object is {@link DetectionProcessType } * */ public void setDetectionProcess(DetectionProcessType value) { this.detectionProcess = value; } /** * Gets the value of the colorSpace property. * * @return possible object is {@link ColorSpaceType } * */ public ColorSpaceType getColorSpace() { return colorSpace; } /** * Sets the value of the colorSpace property. * * @param value * allowed object is {@link ColorSpaceType } * */ public void setColorSpace(ColorSpaceType value) { this.colorSpace = value; } /** * Gets the value of the colorSpaceRef property. * * @return possible object is {@link ReferenceType } * */ public ReferenceType getColorSpaceRef() { return colorSpaceRef; } /** * Sets the value of the colorSpaceRef property. * * @param value * allowed object is {@link ReferenceType } * */ public void setColorSpaceRef(ReferenceType value) { this.colorSpaceRef = value; } /** * Gets the value of the status property. * * @return possible object is {@link String } * */ public String getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is {@link String } * */ public void setStatus(String value) { this.status = value; } /** * Gets the value of the comment property. * * @return possible object is {@link TextAnnotationType } * */ public TextAnnotationType getComment() { return comment; } /** * Sets the value of the comment property. * * @param value * allowed object is {@link TextAnnotationType } * */ public void setComment(TextAnnotationType value) { this.comment = 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>zeroToOneType"> * <attribute name="appProfile" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class Relevance implements Serializable { private final static long serialVersionUID = 1L; @XmlValue protected float value; @XmlAttribute(name = "appProfile") @XmlSchemaType(name = "anyURI") protected String appProfile; /** * Gets the value of the value property. * */ public float getValue() { return value; } /** * Sets the value of the value property. * */ public void setValue(float value) { this.value = value; } /** * Gets the value of the appProfile property. * * @return possible object is {@link String } * */ public String getAppProfile() { return appProfile; } /** * Sets the value of the appProfile property. * * @param value * allowed object is {@link String } * */ public void setAppProfile(String value) { this.appProfile = value; } } }