//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-792 
// 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.10.23 at 04:07:23 PM MDT 
//


package gov.va.schema.militaryhistory;

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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for VADIR complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="VADIR">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="vaId" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="OefOifIndicator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="RetirementStatusIndicator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="DeathDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
 *         &lt;element name="DeathIndicator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="ServicePeriods" type="{http://www.DNS   /schema/MilitaryHistory}ServicePeriod" maxOccurs="unbounded"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VADIR", propOrder = {
    "vaId",
    "oefOifIndicator",
    "retirementStatusIndicator",
    "deathDate",
    "deathIndicator",
    "servicePeriods"
})
public class VADIR {

    protected long vaId;
    @XmlElement(name = "OefOifIndicator")
    protected String oefOifIndicator;
    @XmlElement(name = "RetirementStatusIndicator")
    protected String retirementStatusIndicator;
    @XmlElement(name = "DeathDate")
    @XmlSchemaType(name = "date")
    protected XMLGregorianCalendar deathDate;
    @XmlElement(name = "DeathIndicator")
    protected String deathIndicator;
    @XmlElement(name = "ServicePeriods", required = true)
    protected List<ServicePeriod> servicePeriods;

    /**
     * Gets the value of the vaId property.
     * 
     */
    public long getVaId() {
        return vaId;
    }

    /**
     * Sets the value of the vaId property.
     * 
     */
    public void setVaId(long value) {
        this.vaId = value;
    }

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

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

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

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

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

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

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

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

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

}
