//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 
// 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.01.05 at 04:03:16 PM EST 
//


package personeligibility;

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.XmlType;
import basedatatypes.HL72EntityIdentifier;
import basedatatypes.VACode;


/**
 * Conditions qualifying the Veteran for health care benefits.
 * 
 * <p>Java class for QualifyingReason complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="QualifyingReason">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="id" type="{BaseDatatypes}HL72EntityIdentifier"/>
 *         &lt;element name="status" type="{BaseDatatypes}VACode"/>
 *         &lt;element name="militaryServiceEpisode" type="{Personeligibility}MilitaryServiceEpisode" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="qualifyingCoverageFactor" type="{Personeligibility}QualifyingCoverageFactor"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "QualifyingReason", propOrder = {
    "id",
    "status",
    "militaryServiceEpisode",
    "qualifyingCoverageFactor"
})
public class QualifyingReason {

    @XmlElement(required = true)
    protected HL72EntityIdentifier id;
    @XmlElement(required = true)
    protected VACode status;
    protected List<MilitaryServiceEpisode> militaryServiceEpisode;
    @XmlElement(required = true)
    protected QualifyingCoverageFactor qualifyingCoverageFactor;

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link HL72EntityIdentifier }
     *     
     */
    public HL72EntityIdentifier getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link HL72EntityIdentifier }
     *     
     */
    public void setId(HL72EntityIdentifier value) {
        this.id = value;
    }

    /**
     * Gets the value of the status property.
     * 
     * @return
     *     possible object is
     *     {@link VACode }
     *     
     */
    public VACode getStatus() {
        return status;
    }

    /**
     * Sets the value of the status property.
     * 
     * @param value
     *     allowed object is
     *     {@link VACode }
     *     
     */
    public void setStatus(VACode value) {
        this.status = value;
    }

    /**
     * Gets the value of the militaryServiceEpisode 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 militaryServiceEpisode property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMilitaryServiceEpisode().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link MilitaryServiceEpisode }
     * 
     * 
     */
    public List<MilitaryServiceEpisode> getMilitaryServiceEpisode() {
        if (militaryServiceEpisode == null) {
            militaryServiceEpisode = new ArrayList<MilitaryServiceEpisode>();
        }
        return this.militaryServiceEpisode;
    }

    /**
     * Gets the value of the qualifyingCoverageFactor property.
     * 
     * @return
     *     possible object is
     *     {@link QualifyingCoverageFactor }
     *     
     */
    public QualifyingCoverageFactor getQualifyingCoverageFactor() {
        return qualifyingCoverageFactor;
    }

    /**
     * Sets the value of the qualifyingCoverageFactor property.
     * 
     * @param value
     *     allowed object is
     *     {@link QualifyingCoverageFactor }
     *     
     */
    public void setQualifyingCoverageFactor(QualifyingCoverageFactor value) {
        this.qualifyingCoverageFactor = value;
    }

}
