// // 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 javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p> * Java class for ExtendedLanguageType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="ExtendedLanguageType"> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>language"> * <attribute name="type" default="original"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="original"/> * <enumeration value="dubbed"/> * <enumeration value="background"/> * </restriction> * </simpleType> * </attribute> * <attribute name="supplemental" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ExtendedLanguageType", propOrder = { "value" }) public class ExtendedLanguageType implements Serializable { private final static long serialVersionUID = 1L; @XmlValue @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language") protected String value; @XmlAttribute(name = "type") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String type; @XmlAttribute(name = "supplemental") protected Boolean supplemental; /** * Gets the value of the value property. * * @return possible object is {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the type property. * * @return possible object is {@link String } * */ public String getType() { if (type == null) { return "original"; } 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; } /** * Gets the value of the supplemental property. * * @return possible object is {@link Boolean } * */ public boolean isSupplemental() { if (supplemental == null) { return false; } else { return supplemental; } } /** * Sets the value of the supplemental property. * * @param value * allowed object is {@link Boolean } * */ public void setSupplemental(Boolean value) { this.supplemental = value; } }