/* * Copyright 2012 Shared Learning Collaborative, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // // 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: 2012.04.20 at 03:09:04 PM EDT // package org.slc.sli.sample.entities; import java.util.Calendar; 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.bind.annotation.adapters.XmlJavaTypeAdapter; /** * The set of elements defining and characterizing a person's period of employment including start and end dates and the type and reason for separation. * * * <p>Java class for EmploymentPeriod complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="EmploymentPeriod"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="HireDate" type="{http://www.w3.org/2001/XMLSchema}date"/> * <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> * <element name="Separation" type="{http://ed-fi.org/0100}SeparationType" minOccurs="0"/> * <element name="SeparationReason" type="{http://ed-fi.org/0100}SeparationReasonType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EmploymentPeriod", propOrder = { "hireDate", "endDate", "separation", "separationReason" }) public class EmploymentPeriod { @XmlElement(name = "HireDate", required = true, type = String.class) @XmlJavaTypeAdapter(Adapter2 .class) @XmlSchemaType(name = "date") protected Calendar hireDate; @XmlElement(name = "EndDate", type = String.class) @XmlJavaTypeAdapter(Adapter2 .class) @XmlSchemaType(name = "date") protected Calendar endDate; @XmlElement(name = "Separation") protected SeparationType separation; @XmlElement(name = "SeparationReason") protected SeparationReasonType separationReason; /** * Gets the value of the hireDate property. * * @return * possible object is * {@link String } * */ public Calendar getHireDate() { return hireDate; } /** * Sets the value of the hireDate property. * * @param value * allowed object is * {@link String } * */ public void setHireDate(Calendar value) { this.hireDate = value; } /** * Gets the value of the endDate property. * * @return * possible object is * {@link String } * */ public Calendar getEndDate() { return endDate; } /** * Sets the value of the endDate property. * * @param value * allowed object is * {@link String } * */ public void setEndDate(Calendar value) { this.endDate = value; } /** * Gets the value of the separation property. * * @return * possible object is * {@link SeparationType } * */ public SeparationType getSeparation() { return separation; } /** * Sets the value of the separation property. * * @param value * allowed object is * {@link SeparationType } * */ public void setSeparation(SeparationType value) { this.separation = value; } /** * Gets the value of the separationReason property. * * @return * possible object is * {@link SeparationReasonType } * */ public SeparationReasonType getSeparationReason() { return separationReason; } /** * Sets the value of the separationReason property. * * @param value * allowed object is * {@link SeparationReasonType } * */ public void setSeparationReason(SeparationReasonType value) { this.separationReason = value; } }