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

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
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 TEmailData complex type.
 * 
 * <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
 * 
 * <pre>
 * &lt;complexType name="TEmailData"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;choice&gt;
 *           &lt;element name="role" type="{com/ejie/x43s/v2/rta/xml}TTaskRoleType"/&gt;
 *           &lt;sequence&gt;
 *             &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *             &lt;element name="address" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *           &lt;/sequence&gt;
 *           &lt;sequence&gt;
 *             &lt;element name="workflowSvt" type="{com/ejie/x43s/v2/rta/xml}TWorkflowSvt"/&gt;
 *           &lt;/sequence&gt;
 *         &lt;/choice&gt;
 *         &lt;element name="messageTemplateID" type="{com/ejie/x43s/v2/ttn/xml}TID64" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TEmailData", propOrder = {
    "role",
    "name",
    "address",
    "workflowSvt",
    "messageTemplateID"
})
public class TEmailData {

    @XmlSchemaType(name = "string")
    protected TTaskRoleType role;
    protected String name;
    protected String address;
    protected TWorkflowSvt workflowSvt;
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String messageTemplateID;

    /**
     * Obtiene el valor de la propiedad role.
     * 
     * @return
     *     possible object is
     *     {@link TTaskRoleType }
     *     
     */
    public TTaskRoleType getRole() {
        return role;
    }

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

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

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

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

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

    /**
     * Obtiene el valor de la propiedad workflowSvt.
     * 
     * @return
     *     possible object is
     *     {@link TWorkflowSvt }
     *     
     */
    public TWorkflowSvt getWorkflowSvt() {
        return workflowSvt;
    }

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

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

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

}
