//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-147 
// 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: 2010.05.01 at 09:33:52 PM EDT 
//


package usecase;

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;
import javax.xml.datatype.Duration;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for condition complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="condition">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;choice>
 *         &lt;element name="ont_value_condition" type="{}ont_value_condition"/>
 *         &lt;element name="after_time" type="{http://www.w3.org/2001/XMLSchema}duration"/>
 *         &lt;element name="when_date_time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         &lt;element name="when_time" type="{http://www.w3.org/2001/XMLSchema}time"/>
 *       &lt;/choice>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "condition", propOrder = {
    "ontValueCondition",
    "afterTime",
    "whenDateTime",
    "whenTime"
})
public class Condition {

    @XmlElement(name = "ont_value_condition")
    protected OntValueCondition ontValueCondition;
    @XmlElement(name = "after_time")
    protected Duration afterTime;
    @XmlElement(name = "when_date_time")
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar whenDateTime;
    @XmlElement(name = "when_time")
    @XmlSchemaType(name = "time")
    protected XMLGregorianCalendar whenTime;

    /**
     * Gets the value of the ontValueCondition property.
     * 
     * @return
     *     possible object is
     *     {@link OntValueCondition }
     *     
     */
    public OntValueCondition getOntValueCondition() {
        return ontValueCondition;
    }

    /**
     * Sets the value of the ontValueCondition property.
     * 
     * @param value
     *     allowed object is
     *     {@link OntValueCondition }
     *     
     */
    public void setOntValueCondition(OntValueCondition value) {
        this.ontValueCondition = value;
    }

    /**
     * Gets the value of the afterTime property.
     * 
     * @return
     *     possible object is
     *     {@link Duration }
     *     
     */
    public Duration getAfterTime() {
        return afterTime;
    }

    /**
     * Sets the value of the afterTime property.
     * 
     * @param value
     *     allowed object is
     *     {@link Duration }
     *     
     */
    public void setAfterTime(Duration value) {
        this.afterTime = value;
    }

    /**
     * Gets the value of the whenDateTime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getWhenDateTime() {
        return whenDateTime;
    }

    /**
     * Sets the value of the whenDateTime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setWhenDateTime(XMLGregorianCalendar value) {
        this.whenDateTime = value;
    }

    /**
     * Gets the value of the whenTime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getWhenTime() {
        return whenTime;
    }

    /**
     * Sets the value of the whenTime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setWhenTime(XMLGregorianCalendar value) {
        this.whenTime = value;
    }

}
