
package com.amadeus.travelManagement.amadeus.xml._2010._06.travel_ordercreaterq_v1;

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.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * Electronic documents, images, and other files which accompany and support some information.
 * 
 * &lt;p&gt;Java class for MediaType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="MediaType"&amp;gt;
 *   &amp;lt;complexContent&amp;gt;
 *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
 *       &amp;lt;sequence&amp;gt;
 *         &amp;lt;element name="MediaID" type="{http://xml.amadeus.com/2010/06/Travel_OrderCreateRQ_v1}ID_Type"/&amp;gt;
 *         &amp;lt;element name="BinaryObject" type="{http://xml.amadeus.com/2010/06/Travel_OrderCreateRQ_v1}BinaryObjectType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="DescText" type="{http://xml.amadeus.com/2010/06/Travel_OrderCreateRQ_v1}TextType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="FileSizeMeasure" type="{http://xml.amadeus.com/2010/06/Travel_OrderCreateRQ_v1}MeasureType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="HeightMeasure" type="{http://xml.amadeus.com/2010/06/Travel_OrderCreateRQ_v1}MeasureType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="WidthMeasure" type="{http://xml.amadeus.com/2010/06/Travel_OrderCreateRQ_v1}MeasureType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="HintText" type="{http://xml.amadeus.com/2010/06/Travel_OrderCreateRQ_v1}TextType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="RenderingInstructionsText" type="{http://xml.amadeus.com/2010/06/Travel_OrderCreateRQ_v1}TextType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="RenderingMethodText" type="{http://xml.amadeus.com/2010/06/Travel_OrderCreateRQ_v1}TextType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="RenderingOutputFormatText" type="{http://xml.amadeus.com/2010/06/Travel_OrderCreateRQ_v1}TextType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="RenderingOverviewText" type="{http://xml.amadeus.com/2010/06/Travel_OrderCreateRQ_v1}TextType" minOccurs="0"/&amp;gt;
 *       &amp;lt;/sequence&amp;gt;
 *     &amp;lt;/restriction&amp;gt;
 *   &amp;lt;/complexContent&amp;gt;
 * &amp;lt;/complexType&amp;gt;
 * &lt;/pre&gt;
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MediaType", propOrder = {
    "mediaID",
    "binaryObject",
    "descText",
    "fileSizeMeasure",
    "heightMeasure",
    "widthMeasure",
    "hintText",
    "renderingInstructionsText",
    "renderingMethodText",
    "renderingOutputFormatText",
    "renderingOverviewText"
})
public class MediaType {

    @XmlElement(name = "MediaID", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String mediaID;
    @XmlElement(name = "BinaryObject")
    protected BinaryObjectType binaryObject;
    @XmlElement(name = "DescText")
    protected List<String> descText;
    @XmlElement(name = "FileSizeMeasure")
    protected MeasureType fileSizeMeasure;
    @XmlElement(name = "HeightMeasure")
    protected MeasureType heightMeasure;
    @XmlElement(name = "WidthMeasure")
    protected MeasureType widthMeasure;
    @XmlElement(name = "HintText")
    protected String hintText;
    @XmlElement(name = "RenderingInstructionsText")
    protected String renderingInstructionsText;
    @XmlElement(name = "RenderingMethodText")
    protected String renderingMethodText;
    @XmlElement(name = "RenderingOutputFormatText")
    protected String renderingOutputFormatText;
    @XmlElement(name = "RenderingOverviewText")
    protected String renderingOverviewText;

    /**
     * Gets the value of the mediaID property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMediaID() {
        return mediaID;
    }

    /**
     * Sets the value of the mediaID property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMediaID(String value) {
        this.mediaID = value;
    }

    /**
     * Gets the value of the binaryObject property.
     * 
     * @return
     *     possible object is
     *     {@link BinaryObjectType }
     *     
     */
    public BinaryObjectType getBinaryObject() {
        return binaryObject;
    }

    /**
     * Sets the value of the binaryObject property.
     * 
     * @param value
     *     allowed object is
     *     {@link BinaryObjectType }
     *     
     */
    public void setBinaryObject(BinaryObjectType value) {
        this.binaryObject = value;
    }

    /**
     * Gets the value of the descText property.
     * 
     * &lt;p&gt;
     * 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 &lt;CODE&gt;set&lt;/CODE&gt; method for the descText property.
     * 
     * &lt;p&gt;
     * For example, to add a new item, do as follows:
     * &lt;pre&gt;
     *    getDescText().add(newItem);
     * &lt;/pre&gt;
     * 
     * 
     * &lt;p&gt;
     * Objects of the following type(s) are allowed in the list
     * {@link String }
     * 
     * 
     */
    public List<String> getDescText() {
        if (descText == null) {
            descText = new ArrayList<String>();
        }
        return this.descText;
    }

    /**
     * Gets the value of the fileSizeMeasure property.
     * 
     * @return
     *     possible object is
     *     {@link MeasureType }
     *     
     */
    public MeasureType getFileSizeMeasure() {
        return fileSizeMeasure;
    }

    /**
     * Sets the value of the fileSizeMeasure property.
     * 
     * @param value
     *     allowed object is
     *     {@link MeasureType }
     *     
     */
    public void setFileSizeMeasure(MeasureType value) {
        this.fileSizeMeasure = value;
    }

    /**
     * Gets the value of the heightMeasure property.
     * 
     * @return
     *     possible object is
     *     {@link MeasureType }
     *     
     */
    public MeasureType getHeightMeasure() {
        return heightMeasure;
    }

    /**
     * Sets the value of the heightMeasure property.
     * 
     * @param value
     *     allowed object is
     *     {@link MeasureType }
     *     
     */
    public void setHeightMeasure(MeasureType value) {
        this.heightMeasure = value;
    }

    /**
     * Gets the value of the widthMeasure property.
     * 
     * @return
     *     possible object is
     *     {@link MeasureType }
     *     
     */
    public MeasureType getWidthMeasure() {
        return widthMeasure;
    }

    /**
     * Sets the value of the widthMeasure property.
     * 
     * @param value
     *     allowed object is
     *     {@link MeasureType }
     *     
     */
    public void setWidthMeasure(MeasureType value) {
        this.widthMeasure = value;
    }

    /**
     * Gets the value of the hintText property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getHintText() {
        return hintText;
    }

    /**
     * Sets the value of the hintText property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setHintText(String value) {
        this.hintText = value;
    }

    /**
     * Gets the value of the renderingInstructionsText property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRenderingInstructionsText() {
        return renderingInstructionsText;
    }

    /**
     * Sets the value of the renderingInstructionsText property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRenderingInstructionsText(String value) {
        this.renderingInstructionsText = value;
    }

    /**
     * Gets the value of the renderingMethodText property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRenderingMethodText() {
        return renderingMethodText;
    }

    /**
     * Sets the value of the renderingMethodText property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRenderingMethodText(String value) {
        this.renderingMethodText = value;
    }

    /**
     * Gets the value of the renderingOutputFormatText property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRenderingOutputFormatText() {
        return renderingOutputFormatText;
    }

    /**
     * Sets the value of the renderingOutputFormatText property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRenderingOutputFormatText(String value) {
        this.renderingOutputFormatText = value;
    }

    /**
     * Gets the value of the renderingOverviewText property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRenderingOverviewText() {
        return renderingOverviewText;
    }

    /**
     * Sets the value of the renderingOverviewText property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRenderingOverviewText(String value) {
        this.renderingOverviewText = value;
    }

}
