//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.12-1.0.0.0_2-1-12-ea 
// 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: 2017.03.06 at 11:04:49 AM CET 
//

package com.ejie.ctfm.xml;

import java.util.Arrays;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.HexBinaryAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.ejie.platea.generic.xml.RoleName;

/**
 * <p>
 * Java class for anonymous complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="departmentID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="documentType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="entityID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="escaneado" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="extension" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="format" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="location" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="oid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="roleId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="procedureID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="roleName" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
 *         &lt;element name="sourceBinary" type="{http://www.w3.org/2001/XMLSchema}hexBinary" minOccurs="0"/>
 *         &lt;element name="sourceName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element ref="{com/ejie/ctfm/xml}signatures" minOccurs="0"/>
 *         &lt;element ref="{com/ejie/ctfm/xml}descriptors" minOccurs="0"/>
 *         &lt;element name="TER" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="svtInfo" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
 *         &lt;element name="documentoEntregado" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="organoEntregado" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="fechaEntregado" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * @author GFI-NORTE
 */
@XmlAccessorType(value = XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "departmentID", "documentType", "entityID",
		"escaneado", "extension", "format", "location", "oid", "roleId",
		"procedureID", "roleName", "sourceBinary", "sourceName", "signatures",
		"descriptors", "ter", "svtInfo", "documentoEntregado",
		"organoEntregado", "fechaEntregado" })
@XmlRootElement(name = "document")
public class Document {

	private String departmentID;
	private String documentType;
	private String entityID;
	private String escaneado;
	private String extension;
	private String format;
	private String location;
	private String oid;
	private String roleId;
	private String procedureID;
	@XmlElement(namespace = "com/ejie/platea/generic/xml")
	private RoleName roleName;
	@XmlElement(type = String.class)
	@XmlJavaTypeAdapter(value = HexBinaryAdapter.class)
	@XmlSchemaType(name = "hexBinary")
	private byte[] sourceBinary;
	private String sourceName;
	private Signatures signatures;
	private Descriptors descriptors;
	@XmlElement(name = "TER")
	private String ter;
	private Object svtInfo;
	private String documentoEntregado;
	private String organoEntregado;
	private String fechaEntregado;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	/**
	 * Gets the value of the roleName property.
	 * 
	 * @return possible object is {@link Object }
	 * 
	 */
	public RoleName getRoleName() {
		return this.roleName;
	}

	/**
	 * Sets the value of the roleName property.
	 * 
	 * @param value
	 *            allowed object is {@link Object }
	 * 
	 */
	public void setRoleName(RoleName value) {
		this.roleName = value;
	}

	/**
	 * Gets the value of the sourceBinary property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public byte[] getSourceBinary() {
		return this.sourceBinary;
	}

	/**
	 * Sets the value of the sourceBinary property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setSourceBinary(byte[] value) {
		if (value == null) {
			this.sourceBinary = new byte[0];
		} else {
			this.sourceBinary = Arrays.copyOf(value, value.length);
		}
	}

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

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

	/**
	 * Gets the value of the signatures property.
	 * 
	 * @return possible object is {@link Signatures }
	 * 
	 */
	public Signatures getSignatures() {
		return this.signatures;
	}

	/**
	 * Sets the value of the signatures property.
	 * 
	 * @param value
	 *            allowed object is {@link Signatures }
	 * 
	 */
	public void setSignatures(Signatures value) {
		this.signatures = value;
	}

	/**
	 * Gets the value of the descriptors property.
	 * 
	 * @return possible object is {@link Descriptors }
	 * 
	 */
	public Descriptors getDescriptors() {
		return this.descriptors;
	}

	/**
	 * Sets the value of the descriptors property.
	 * 
	 * @param value
	 *            allowed object is {@link Descriptors }
	 * 
	 */
	public void setDescriptors(Descriptors value) {
		this.descriptors = value;
	}

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

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

	/**
	 * Gets the value of the svtInfo property.
	 * 
	 * @return possible object is {@link Object }
	 * 
	 */
	public Object getSvtInfo() {
		return this.svtInfo;
	}

	/**
	 * Sets the value of the svtInfo property.
	 * 
	 * @param value
	 *            allowed object is {@link Object }
	 * 
	 */
	public void setSvtInfo(Object value) {
		this.svtInfo = value;
	}

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

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

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

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

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

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

}
