//
// 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: 2016.08.17 at 09:21:17 AM CEST 
//

package com.ejie.foldermanagement.xml;

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;

/**
 * <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="oid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="code" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="mimeType" 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="roleNameEs" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="roleNameEu" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="sourceName" 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="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="hash" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="sourceBinary" type="{http://www.w3.org/2001/XMLSchema}hexBinary" minOccurs="0"/>
 *         &lt;element ref="{com/ejie/folderManagement/xml}signaturesEvent" minOccurs="0"/>
 *         &lt;element ref="{com/ejie/folderManagement/xml}descriptorsEvent" minOccurs="0"/>
 *         &lt;element name="TER" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element ref="{com/ejie/folderManagement/xml}svtInfoEvent" minOccurs="0"/>
 *         &lt;element ref="{com/ejie/folderManagement/xml}ownMetadataEvent" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * @author GFI-NORTE
 */
@XmlAccessorType(value = XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "oid", "code", "mimeType", "roleId",
		"roleNameEs", "roleNameEu", "sourceName", "documentType", "escaneado",
		"extension", "format", "location", "hash", "sourceBinary",
		"signaturesEvent", "descriptorsEvent", "ter", "svtInfoEvent",
		"ownMetadataEvent" })
@XmlRootElement(name = "documentEvent")
public class DocumentEvent {

	private String oid;
	private String code;
	private String mimeType;
	private String roleId;
	private String roleNameEs;
	private String roleNameEu;
	private String sourceName;
	private String documentType;
	private String escaneado;
	private String extension;
	private String format;
	private String location;
	private String hash;
	@XmlElement(type = String.class)
	@XmlJavaTypeAdapter(value = HexBinaryAdapter.class)
	@XmlSchemaType(name = "hexBinary")
	private byte[] sourceBinary;
	@XmlElement(nillable = true)
	private SignaturesEvent signaturesEvent;
	@XmlElement(nillable = true)
	private DescriptorsEvent descriptorsEvent;
	@XmlElement(name = "TER")
	private String ter;
	private SvtInfoEvent svtInfoEvent;
	private OwnMetadataEvent ownMetadataEvent;

	/**
	 * 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 code property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getCode() {
		return this.code;
	}

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

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

	/**
	 * Sets the value of the mimeType property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setMimeType(String value) {
		this.mimeType = 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 roleNameEs property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getRoleNameEs() {
		return this.roleNameEs;
	}

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

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

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

	/**
	 * 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 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 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 hash property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getHash() {
		return this.hash;
	}

	/**
	 * Sets the value of the hash property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setHash(String value) {
		this.hash = 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) {
		this.sourceBinary = ((byte[]) value);
	}

	/**
	 * Gets the value of the signaturesEvent property.
	 * 
	 * @return possible object is {@link SignaturesEvent }
	 * 
	 */
	public SignaturesEvent getSignaturesEvent() {
		return this.signaturesEvent;
	}

	/**
	 * Sets the value of the signaturesEvent property.
	 * 
	 * @param value
	 *            allowed object is {@link SignaturesEvent }
	 * 
	 */
	public void setSignaturesEvent(SignaturesEvent value) {
		this.signaturesEvent = value;
	}

	/**
	 * Gets the value of the descriptorsEvent property.
	 * 
	 * @return possible object is {@link DescriptorsEvent }
	 * 
	 */
	public DescriptorsEvent getDescriptorsEvent() {
		return this.descriptorsEvent;
	}

	/**
	 * Sets the value of the descriptorsEvent property.
	 * 
	 * @param value
	 *            allowed object is {@link DescriptorsEvent }
	 * 
	 */
	public void setDescriptorsEvent(DescriptorsEvent value) {
		this.descriptorsEvent = 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 svtInfoEvent property.
	 * 
	 * @return possible object is {@link SvtInfoEvent }
	 * 
	 */
	public SvtInfoEvent getSvtInfoEvent() {
		return this.svtInfoEvent;
	}

	/**
	 * Sets the value of the svtInfoEvent property.
	 * 
	 * @param value
	 *            allowed object is {@link SvtInfoEvent }
	 * 
	 */
	public void setSvtInfoEvent(SvtInfoEvent value) {
		this.svtInfoEvent = value;
	}

	/**
	 * Gets the value of the ownMetadataEvent property.
	 * 
	 * @return possible object is {@link OwnMetadataEvent }
	 * 
	 */
	public OwnMetadataEvent getOwnMetadataEvent() {
		return this.ownMetadataEvent;
	}

	/**
	 * Sets the value of the ownMetadataEvent property.
	 * 
	 * @param value
	 *            allowed object is {@link OwnMetadataEvent }
	 * 
	 */
	public void setOwnMetadataEvent(OwnMetadataEvent value) {
		this.ownMetadataEvent = value;
	}

}
