
package com.ejie.ab61.clientesWS.X43TareasTramitacion;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for TSignDocument complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="TSignDocument">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="signType" type="{com/ejie/x43s/v2/ttn/xml}TCertificateSignType" minOccurs="0"/>
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}certificateID" minOccurs="0"/>
 *         &lt;element name="relationType" type="{com/ejie/x43s/v2/ttn/xml}TFolderRelationType" minOccurs="0"/>
 *         &lt;element name="hash" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
 *         &lt;element name="hashAlg" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}ep" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TSignDocument", namespace = "com/ejie/x43s/v2/ttn/xml", propOrder = {
    "signType",
    "certificateID",
    "relationType",
    "hash",
    "hashAlg",
    "ep"
})
public class TSignDocument {

    protected TCertificateSignType signType;
    protected String certificateID;
    protected TFolderRelationType relationType;
    protected byte[] hash;
    protected String hashAlg;
    protected AExtensionPoint ep;

    /**
     * Gets the value of the signType property.
     * 
     * @return
     *     possible object is
     *     {@link TCertificateSignType }
     *     
     */
    public TCertificateSignType getSignType() {
        return signType;
    }

    /**
     * Sets the value of the signType property.
     * 
     * @param value
     *     allowed object is
     *     {@link TCertificateSignType }
     *     
     */
    public void setSignType(TCertificateSignType value) {
        this.signType = value;
    }

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

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

    /**
     * Gets the value of the relationType property.
     * 
     * @return
     *     possible object is
     *     {@link TFolderRelationType }
     *     
     */
    public TFolderRelationType getRelationType() {
        return relationType;
    }

    /**
     * Sets the value of the relationType property.
     * 
     * @param value
     *     allowed object is
     *     {@link TFolderRelationType }
     *     
     */
    public void setRelationType(TFolderRelationType value) {
        this.relationType = value;
    }

    /**
     * Gets the value of the hash property.
     * 
     * @return
     *     possible object is
     *     byte[]
     */
    public byte[] getHash() {
        return hash;
    }

    /**
     * Sets the value of the hash property.
     * 
     * @param value
     *     allowed object is
     *     byte[]
     */
    public void setHash(byte[] value) {
        this.hash = ((byte[]) value);
    }

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

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

    /**
     * Gets the value of the ep property.
     * 
     * @return
     *     possible object is
     *     {@link AExtensionPoint }
     *     
     */
    public AExtensionPoint getEp() {
        return ep;
    }

    /**
     * Sets the value of the ep property.
     * 
     * @param value
     *     allowed object is
     *     {@link AExtensionPoint }
     *     
     */
    public void setEp(AExtensionPoint value) {
        this.ep = value;
    }

}
