//
// 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 ServicePeriod complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="ServicePeriod">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
 *         &lt;element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
 *         &lt;element name="BranchOfService" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="PersonnelCategory" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="CharacterOfService" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="Activations" type="{http://www.DNS   /schema/MilitaryHistory}Activation" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="MilitaryPayments" type="{http://www.DNS   /schema/MilitaryHistory}MilitaryPay" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="Deployments" type="{http://www.DNS   /schema/MilitaryHistory}Deployment" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ServicePeriod", propOrder = {
    "startDate",
    "endDate",
    "branchOfService",
    "personnelCategory",
    "characterOfService",
    "activations",
    "militaryPayments",
    "deployments"
})
public class ServicePeriod {

    @XmlElement(name = "StartDate", required = true)
    @XmlSchemaType(name = "date")
    protected XMLGregorianCalendar startDate;
    @XmlElement(name = "EndDate")
    @XmlSchemaType(name = "date")
    protected XMLGregorianCalendar endDate;
    @XmlElement(name = "BranchOfService", required = true)
    protected String branchOfService;
    @XmlElement(name = "PersonnelCategory", required = true)
    protected String personnelCategory;
    @XmlElement(name = "CharacterOfService")
    protected String characterOfService;
    @XmlElement(name = "Activations")
    protected List<Activation> activations;
    @XmlElement(name = "MilitaryPayments")
    protected List<MilitaryPay> militaryPayments;
    @XmlElement(name = "Deployments")
    protected List<Deployment> deployments;

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

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

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

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

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

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

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

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

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

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

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

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

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

}
