//
// 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 java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * <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 name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="number" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/>
 *         &lt;element name="context" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="scope" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="level" type="{}level"/>
 *         &lt;element name="primary_actor" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="trigger" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="preconditions" type="{}condition_set"/>
 *         &lt;element name="normal_course">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence maxOccurs="unbounded">
 *                   &lt;element name="statement" type="{}statement"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="postconditions" type="{}condition_set"/>
 *         &lt;element name="alternate_courses" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="alt_course" type="{}extra_course" maxOccurs="unbounded"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="exception_courses" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="excep_course" type="{}extra_course" maxOccurs="unbounded"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "name",
    "number",
    "context",
    "scope",
    "level",
    "primaryActor",
    "trigger",
    "preconditions",
    "normalCourse",
    "postconditions",
    "alternateCourses",
    "exceptionCourses"
})
@XmlRootElement(name = "use_case")
public class UseCase {

    @XmlElement(required = true)
    protected String name;
    @XmlElement(required = true)
    @XmlSchemaType(name = "nonNegativeInteger")
    protected BigInteger number;
    @XmlElement(required = true)
    protected String context;
    @XmlElement(required = true)
    protected String scope;
    @XmlElement(required = true)
    protected Level level;
    @XmlElement(name = "primary_actor", required = true)
    protected String primaryActor;
    protected String trigger;
    @XmlElement(required = true)
    protected ConditionSet preconditions;
    @XmlElement(name = "normal_course", required = true)
    protected UseCase.NormalCourse normalCourse;
    @XmlElement(required = true)
    protected ConditionSet postconditions;
    @XmlElement(name = "alternate_courses")
    protected UseCase.AlternateCourses alternateCourses;
    @XmlElement(name = "exception_courses")
    protected UseCase.ExceptionCourses exceptionCourses;

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

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

    /**
     * Gets the value of the number property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getNumber() {
        return number;
    }

    /**
     * Sets the value of the number property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setNumber(BigInteger value) {
        this.number = value;
    }

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

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

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

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

    /**
     * Gets the value of the level property.
     * 
     * @return
     *     possible object is
     *     {@link Level }
     *     
     */
    public Level getLevel() {
        return level;
    }

    /**
     * Sets the value of the level property.
     * 
     * @param value
     *     allowed object is
     *     {@link Level }
     *     
     */
    public void setLevel(Level value) {
        this.level = value;
    }

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

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

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

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

    /**
     * Gets the value of the preconditions property.
     * 
     * @return
     *     possible object is
     *     {@link ConditionSet }
     *     
     */
    public ConditionSet getPreconditions() {
        return preconditions;
    }

    /**
     * Sets the value of the preconditions property.
     * 
     * @param value
     *     allowed object is
     *     {@link ConditionSet }
     *     
     */
    public void setPreconditions(ConditionSet value) {
        this.preconditions = value;
    }

    /**
     * Gets the value of the normalCourse property.
     * 
     * @return
     *     possible object is
     *     {@link UseCase.NormalCourse }
     *     
     */
    public UseCase.NormalCourse getNormalCourse() {
        return normalCourse;
    }

    /**
     * Sets the value of the normalCourse property.
     * 
     * @param value
     *     allowed object is
     *     {@link UseCase.NormalCourse }
     *     
     */
    public void setNormalCourse(UseCase.NormalCourse value) {
        this.normalCourse = value;
    }

    /**
     * Gets the value of the postconditions property.
     * 
     * @return
     *     possible object is
     *     {@link ConditionSet }
     *     
     */
    public ConditionSet getPostconditions() {
        return postconditions;
    }

    /**
     * Sets the value of the postconditions property.
     * 
     * @param value
     *     allowed object is
     *     {@link ConditionSet }
     *     
     */
    public void setPostconditions(ConditionSet value) {
        this.postconditions = value;
    }

    /**
     * Gets the value of the alternateCourses property.
     * 
     * @return
     *     possible object is
     *     {@link UseCase.AlternateCourses }
     *     
     */
    public UseCase.AlternateCourses getAlternateCourses() {
        return alternateCourses;
    }

    /**
     * Sets the value of the alternateCourses property.
     * 
     * @param value
     *     allowed object is
     *     {@link UseCase.AlternateCourses }
     *     
     */
    public void setAlternateCourses(UseCase.AlternateCourses value) {
        this.alternateCourses = value;
    }

    /**
     * Gets the value of the exceptionCourses property.
     * 
     * @return
     *     possible object is
     *     {@link UseCase.ExceptionCourses }
     *     
     */
    public UseCase.ExceptionCourses getExceptionCourses() {
        return exceptionCourses;
    }

    /**
     * Sets the value of the exceptionCourses property.
     * 
     * @param value
     *     allowed object is
     *     {@link UseCase.ExceptionCourses }
     *     
     */
    public void setExceptionCourses(UseCase.ExceptionCourses value) {
        this.exceptionCourses = value;
    }


    /**
     * <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 name="alt_course" type="{}extra_course" maxOccurs="unbounded"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "altCourse"
    })
    public static class AlternateCourses {

        @XmlElement(name = "alt_course", required = true)
        protected List<ExtraCourse> altCourse;

        /**
         * Gets the value of the altCourse property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the altCourse property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getAltCourse().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link ExtraCourse }
         * 
         * 
         */
        public List<ExtraCourse> getAltCourse() {
            if (altCourse == null) {
                altCourse = new ArrayList<ExtraCourse>();
            }
            return this.altCourse;
        }

    }


    /**
     * <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 name="excep_course" type="{}extra_course" maxOccurs="unbounded"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "excepCourse"
    })
    public static class ExceptionCourses {

        @XmlElement(name = "excep_course", required = true)
        protected List<ExtraCourse> excepCourse;

        /**
         * Gets the value of the excepCourse property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the excepCourse property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getExcepCourse().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link ExtraCourse }
         * 
         * 
         */
        public List<ExtraCourse> getExcepCourse() {
            if (excepCourse == null) {
                excepCourse = new ArrayList<ExtraCourse>();
            }
            return this.excepCourse;
        }

    }


    /**
     * <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 maxOccurs="unbounded">
     *         &lt;element name="statement" type="{}statement"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "statement"
    })
    public static class NormalCourse {

        @XmlElement(required = true)
        protected List<Statement> statement;

        /**
         * Gets the value of the statement property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the statement property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getStatement().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link Statement }
         * 
         * 
         */
        public List<Statement> getStatement() {
            if (statement == null) {
                statement = new ArrayList<Statement>();
            }
            return this.statement;
        }

    }

}
