
package com.ejie.ab61.clientesWS.X43TareasTramitacion;

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


/**
 * <p>Java class for TPrecondition complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="TPrecondition">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="condition" type="{com/ejie/x43s/v2/rta/xml}TCondition"/>
 *         &lt;element name="onFail" type="{com/ejie/x43s/v2/ttn/xml}TOnFailType"/>
 *         &lt;element name="isExecutionOK" type="{com/ejie/x43s/v2/ttn/xml}TBoolean"/>
 *         &lt;element name="errorText" type="{com/ejie/x43s/v2/ttn/xml}TStringI18N"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TPrecondition", propOrder = {
    "condition",
    "onFail",
    "isExecutionOK",
    "errorText"
})
public class TPrecondition {

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

    /**
     * Gets the value of the condition property.
     * 
     * @return
     *     possible object is
     *     {@link TCondition }
     *     
     */
    public TCondition getCondition() {
        return condition;
    }

    /**
     * Sets the value of the condition property.
     * 
     * @param value
     *     allowed object is
     *     {@link TCondition }
     *     
     */
    public void setCondition(TCondition value) {
        this.condition = value;
    }

    /**
     * Gets the value of the onFail property.
     * 
     * @return
     *     possible object is
     *     {@link TOnFailType }
     *     
     */
    public TOnFailType getOnFail() {
        return onFail;
    }

    /**
     * Sets the value of the onFail property.
     * 
     * @param value
     *     allowed object is
     *     {@link TOnFailType }
     *     
     */
    public void setOnFail(TOnFailType value) {
        this.onFail = value;
    }

    /**
     * Gets the value of the isExecutionOK property.
     * 
     * @return
     *     possible object is
     *     {@link TBoolean }
     *     
     */
    public TBoolean getIsExecutionOK() {
        return isExecutionOK;
    }

    /**
     * Sets the value of the isExecutionOK property.
     * 
     * @param value
     *     allowed object is
     *     {@link TBoolean }
     *     
     */
    public void setIsExecutionOK(TBoolean value) {
        this.isExecutionOK = value;
    }

    /**
     * Gets the value of the errorText property.
     * 
     * @return
     *     possible object is
     *     {@link TStringI18N }
     *     
     */
    public TStringI18N getErrorText() {
        return errorText;
    }

    /**
     * Sets the value of the errorText property.
     * 
     * @param value
     *     allowed object is
     *     {@link TStringI18N }
     *     
     */
    public void setErrorText(TStringI18N value) {
        this.errorText = value;
    }

}
