
package com.ejie.ad74a.ws.client.platea.procedimientos;

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;


/**
 * <p>Clase Java para TDocument complex type.
 * 
 * <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
 * 
 * <pre>
 * &lt;complexType name="TDocument"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}documentRoleID"/&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}documentRoleName"/&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}documentRoleDescription"/&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}orderNumber"/&gt;
 *         &lt;element name="documentTypeID" type="{com/ejie/x43s/v2/ttn/xml}TID64"/&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}procedureID"/&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}procedureName"/&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}telActionID"/&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}telActionName"/&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}telActionInstanceID"/&gt;
 *         &lt;element name="isPermissionCode" type="{com/ejie/x43s/v2/ttn/xml}TBoolean" minOccurs="0"/&gt;
 *         &lt;element name="isObligatoryCode" type="{com/ejie/x43s/v2/ttn/xml}TBoolean" minOccurs="0"/&gt;
 *         &lt;element name="isDifferedCode" type="{com/ejie/x43s/v2/ttn/xml}TBoolean" minOccurs="0"/&gt;
 *         &lt;element name="isSignatureCode" type="{com/ejie/x43s/v2/ttn/xml}TBoolean" minOccurs="0"/&gt;
 *         &lt;element name="isInnerDocument" type="{com/ejie/x43s/v2/ttn/xml}TBoolean" minOccurs="0"/&gt;
 *         &lt;element name="function" type="{com/ejie/x43s/v2/ttn/xml}TSvt"/&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}observations"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TDocument", propOrder = {
    "documentRoleID",
    "documentRoleName",
    "documentRoleDescription",
    "orderNumber",
    "documentTypeID",
    "procedureID",
    "procedureName",
    "telActionID",
    "telActionName",
    "telActionInstanceID",
    "isPermissionCode",
    "isObligatoryCode",
    "isDifferedCode",
    "isSignatureCode",
    "isInnerDocument",
    "function",
    "observations"
})
public class TDocument {

    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String documentRoleID;
    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml", required = true)
    protected TTextI18N documentRoleName;
    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml", required = true)
    protected TTextI18N documentRoleDescription;
    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml")
    @XmlSchemaType(name = "unsignedShort")
    protected int orderNumber;
    @XmlElement(required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String documentTypeID;
    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String procedureID;
    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml", required = true)
    protected TTextI18N procedureName;
    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String telActionID;
    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml", required = true)
    protected TTextI18N telActionName;
    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String telActionInstanceID;
    @XmlSchemaType(name = "string")
    protected TBoolean isPermissionCode;
    @XmlSchemaType(name = "string")
    protected TBoolean isObligatoryCode;
    @XmlSchemaType(name = "string")
    protected TBoolean isDifferedCode;
    @XmlSchemaType(name = "string")
    protected TBoolean isSignatureCode;
    @XmlSchemaType(name = "string")
    protected TBoolean isInnerDocument;
    @XmlElement(required = true)
    protected TSvt function;
    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml", required = true)
    protected TTextI18N observations;

    /**
     * Obtiene el valor de la propiedad documentRoleID.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDocumentRoleID() {
        return documentRoleID;
    }

    /**
     * Define el valor de la propiedad documentRoleID.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDocumentRoleID(String value) {
        this.documentRoleID = value;
    }

    /**
     * Obtiene el valor de la propiedad documentRoleName.
     * 
     * @return
     *     possible object is
     *     {@link TTextI18N }
     *     
     */
    public TTextI18N getDocumentRoleName() {
        return documentRoleName;
    }

    /**
     * Define el valor de la propiedad documentRoleName.
     * 
     * @param value
     *     allowed object is
     *     {@link TTextI18N }
     *     
     */
    public void setDocumentRoleName(TTextI18N value) {
        this.documentRoleName = value;
    }

    /**
     * Obtiene el valor de la propiedad documentRoleDescription.
     * 
     * @return
     *     possible object is
     *     {@link TTextI18N }
     *     
     */
    public TTextI18N getDocumentRoleDescription() {
        return documentRoleDescription;
    }

    /**
     * Define el valor de la propiedad documentRoleDescription.
     * 
     * @param value
     *     allowed object is
     *     {@link TTextI18N }
     *     
     */
    public void setDocumentRoleDescription(TTextI18N value) {
        this.documentRoleDescription = value;
    }

    /**
     * Obtiene el valor de la propiedad orderNumber.
     * 
     */
    public int getOrderNumber() {
        return orderNumber;
    }

    /**
     * Define el valor de la propiedad orderNumber.
     * 
     */
    public void setOrderNumber(int value) {
        this.orderNumber = value;
    }

    /**
     * Obtiene el valor de la propiedad documentTypeID.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDocumentTypeID() {
        return documentTypeID;
    }

    /**
     * Define el valor de la propiedad documentTypeID.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDocumentTypeID(String value) {
        this.documentTypeID = value;
    }

    /**
     * Obtiene el valor de la propiedad procedureID.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getProcedureID() {
        return procedureID;
    }

    /**
     * Define el valor de la propiedad procedureID.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setProcedureID(String value) {
        this.procedureID = value;
    }

    /**
     * Obtiene el valor de la propiedad procedureName.
     * 
     * @return
     *     possible object is
     *     {@link TTextI18N }
     *     
     */
    public TTextI18N getProcedureName() {
        return procedureName;
    }

    /**
     * Define el valor de la propiedad procedureName.
     * 
     * @param value
     *     allowed object is
     *     {@link TTextI18N }
     *     
     */
    public void setProcedureName(TTextI18N value) {
        this.procedureName = value;
    }

    /**
     * Obtiene el valor de la propiedad telActionID.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTelActionID() {
        return telActionID;
    }

    /**
     * Define el valor de la propiedad telActionID.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTelActionID(String value) {
        this.telActionID = value;
    }

    /**
     * Obtiene el valor de la propiedad telActionName.
     * 
     * @return
     *     possible object is
     *     {@link TTextI18N }
     *     
     */
    public TTextI18N getTelActionName() {
        return telActionName;
    }

    /**
     * Define el valor de la propiedad telActionName.
     * 
     * @param value
     *     allowed object is
     *     {@link TTextI18N }
     *     
     */
    public void setTelActionName(TTextI18N value) {
        this.telActionName = value;
    }

    /**
     * Obtiene el valor de la propiedad telActionInstanceID.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTelActionInstanceID() {
        return telActionInstanceID;
    }

    /**
     * Define el valor de la propiedad telActionInstanceID.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTelActionInstanceID(String value) {
        this.telActionInstanceID = value;
    }

    /**
     * Obtiene el valor de la propiedad isPermissionCode.
     * 
     * @return
     *     possible object is
     *     {@link TBoolean }
     *     
     */
    public TBoolean getIsPermissionCode() {
        return isPermissionCode;
    }

    /**
     * Define el valor de la propiedad isPermissionCode.
     * 
     * @param value
     *     allowed object is
     *     {@link TBoolean }
     *     
     */
    public void setIsPermissionCode(TBoolean value) {
        this.isPermissionCode = value;
    }

    /**
     * Obtiene el valor de la propiedad isObligatoryCode.
     * 
     * @return
     *     possible object is
     *     {@link TBoolean }
     *     
     */
    public TBoolean getIsObligatoryCode() {
        return isObligatoryCode;
    }

    /**
     * Define el valor de la propiedad isObligatoryCode.
     * 
     * @param value
     *     allowed object is
     *     {@link TBoolean }
     *     
     */
    public void setIsObligatoryCode(TBoolean value) {
        this.isObligatoryCode = value;
    }

    /**
     * Obtiene el valor de la propiedad isDifferedCode.
     * 
     * @return
     *     possible object is
     *     {@link TBoolean }
     *     
     */
    public TBoolean getIsDifferedCode() {
        return isDifferedCode;
    }

    /**
     * Define el valor de la propiedad isDifferedCode.
     * 
     * @param value
     *     allowed object is
     *     {@link TBoolean }
     *     
     */
    public void setIsDifferedCode(TBoolean value) {
        this.isDifferedCode = value;
    }

    /**
     * Obtiene el valor de la propiedad isSignatureCode.
     * 
     * @return
     *     possible object is
     *     {@link TBoolean }
     *     
     */
    public TBoolean getIsSignatureCode() {
        return isSignatureCode;
    }

    /**
     * Define el valor de la propiedad isSignatureCode.
     * 
     * @param value
     *     allowed object is
     *     {@link TBoolean }
     *     
     */
    public void setIsSignatureCode(TBoolean value) {
        this.isSignatureCode = value;
    }

    /**
     * Obtiene el valor de la propiedad isInnerDocument.
     * 
     * @return
     *     possible object is
     *     {@link TBoolean }
     *     
     */
    public TBoolean getIsInnerDocument() {
        return isInnerDocument;
    }

    /**
     * Define el valor de la propiedad isInnerDocument.
     * 
     * @param value
     *     allowed object is
     *     {@link TBoolean }
     *     
     */
    public void setIsInnerDocument(TBoolean value) {
        this.isInnerDocument = value;
    }

    /**
     * Obtiene el valor de la propiedad function.
     * 
     * @return
     *     possible object is
     *     {@link TSvt }
     *     
     */
    public TSvt getFunction() {
        return function;
    }

    /**
     * Define el valor de la propiedad function.
     * 
     * @param value
     *     allowed object is
     *     {@link TSvt }
     *     
     */
    public void setFunction(TSvt value) {
        this.function = value;
    }

    /**
     * Obtiene el valor de la propiedad observations.
     * 
     * @return
     *     possible object is
     *     {@link TTextI18N }
     *     
     */
    public TTextI18N getObservations() {
        return observations;
    }

    /**
     * Define el valor de la propiedad observations.
     * 
     * @param value
     *     allowed object is
     *     {@link TTextI18N }
     *     
     */
    public void setObservations(TTextI18N value) {
        this.observations = value;
    }

}
