//
// 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: 2017.01.27 at 12:21:52 PM CET 
//

package com.ejie.mbt.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.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
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 ref="{com/ejie/mbt/xml}condition"/>
 *         &lt;element ref="{com/ejie/mbt/xml}inFailCase"/>
 *         &lt;element name="errorText" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
 *         &lt;element ref="{com/ejie/mbt/xml}executionOK"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * @author GFI-NORTE
 */
@XmlAccessorType(value = XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "condition", "inFailCase", "errorText", "executionOK" })
@XmlRootElement(name = "precondition")
public class Precondition {

	@XmlElement(required = true)
	private Condition condition;
	@XmlElement(required = true)
	@XmlJavaTypeAdapter(value = CollapsedStringAdapter.class)
	private String inFailCase;
	@XmlElement(required = true)
	private Object errorText;
	@XmlElement(required = true)
	@XmlJavaTypeAdapter(value = CollapsedStringAdapter.class)
	private String executionOK;

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

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

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

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

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

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

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

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

}
