
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.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Clase Java para TPrecondition complex type.
 * 
 * <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
 * 
 * <pre>
 * &lt;complexType name="TPrecondition"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="condition" type="{com/ejie/x43s/v2/rta/xml}TCondition"/&gt;
 *         &lt;element name="onFail" type="{com/ejie/x43s/v2/ttn/xml}TOnFailType"/&gt;
 *         &lt;element name="isExecutionOK" type="{com/ejie/x43s/v2/ttn/xml}TBoolean"/&gt;
 *         &lt;element name="errorText" type="{com/ejie/x43s/v2/ttn/xml}TStringI18N"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TPrecondition", propOrder = {
    "condition",
    "onFail",
    "isExecutionOK",
    "errorText"
})
public class TPrecondition {

    @XmlElement(required = true)
    protected TCondition condition;
    @XmlElement(required = true)
    @XmlSchemaType(name = "string")
    protected TOnFailType onFail;
    @XmlElement(required = true)
    @XmlSchemaType(name = "string")
    protected TBoolean isExecutionOK;
    @XmlElement(required = true)
    protected TStringI18N errorText;

    /**
     * Obtiene el valor de la propiedad condition.
     * 
     * @return
     *     possible object is
     *     {@link TCondition }
     *     
     */
    public TCondition getCondition() {
        return condition;
    }

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

    /**
     * Obtiene el valor de la propiedad onFail.
     * 
     * @return
     *     possible object is
     *     {@link TOnFailType }
     *     
     */
    public TOnFailType getOnFail() {
        return onFail;
    }

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

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

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

    /**
     * Obtiene el valor de la propiedad errorText.
     * 
     * @return
     *     possible object is
     *     {@link TStringI18N }
     *     
     */
    public TStringI18N getErrorText() {
        return errorText;
    }

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

}
