/* * 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.math.BigDecimal; 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; /** * This event entity represents the recording of the dates of staff leave (e.g., sick leave, personal time, vacation, etc.). * * <p>Java class for LeaveEvent complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="LeaveEvent"> * <complexContent> * <extension base="{http://ed-fi.org/0100}ComplexObjectType"> * <sequence> * <element name="EventDate" type="{http://www.w3.org/2001/XMLSchema}date"/> * <element name="LeaveEventCategory" type="{http://ed-fi.org/0100}LeaveEventCategoryType"/> * <element name="LeaveEventReason" type="{http://ed-fi.org/0100}LeaveEventReason" minOccurs="0"/> * <element name="HoursOnLeave" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> * <element name="SubstituteAssigned" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="StaffReference" type="{http://ed-fi.org/0100}StaffReferenceType"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "LeaveEvent", propOrder = { "eventDate", "leaveEventCategory", "leaveEventReason", "hoursOnLeave", "substituteAssigned", "staffReference" }) public class LeaveEvent extends ComplexObjectType { @XmlElement(name = "EventDate", required = true, type = String.class) @XmlJavaTypeAdapter(Adapter2 .class) @XmlSchemaType(name = "date") protected Calendar eventDate; @XmlElement(name = "LeaveEventCategory", required = true) protected LeaveEventCategoryType leaveEventCategory; @XmlElement(name = "LeaveEventReason") protected String leaveEventReason; @XmlElement(name = "HoursOnLeave") protected BigDecimal hoursOnLeave; @XmlElement(name = "SubstituteAssigned") protected Boolean substituteAssigned; @XmlElement(name = "StaffReference", required = true) protected StaffReferenceType staffReference; /** * Gets the value of the eventDate property. * * @return * possible object is * {@link String } * */ public Calendar getEventDate() { return eventDate; } /** * Sets the value of the eventDate property. * * @param value * allowed object is * {@link String } * */ public void setEventDate(Calendar value) { this.eventDate = value; } /** * Gets the value of the leaveEventCategory property. * * @return * possible object is * {@link LeaveEventCategoryType } * */ public LeaveEventCategoryType getLeaveEventCategory() { return leaveEventCategory; } /** * Sets the value of the leaveEventCategory property. * * @param value * allowed object is * {@link LeaveEventCategoryType } * */ public void setLeaveEventCategory(LeaveEventCategoryType value) { this.leaveEventCategory = value; } /** * Gets the value of the leaveEventReason property. * * @return * possible object is * {@link String } * */ public String getLeaveEventReason() { return leaveEventReason; } /** * Sets the value of the leaveEventReason property. * * @param value * allowed object is * {@link String } * */ public void setLeaveEventReason(String value) { this.leaveEventReason = value; } /** * Gets the value of the hoursOnLeave property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getHoursOnLeave() { return hoursOnLeave; } /** * Sets the value of the hoursOnLeave property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setHoursOnLeave(BigDecimal value) { this.hoursOnLeave = value; } /** * Gets the value of the substituteAssigned property. * * @return * possible object is * {@link Boolean } * */ public Boolean isSubstituteAssigned() { return substituteAssigned; } /** * Sets the value of the substituteAssigned property. * * @param value * allowed object is * {@link Boolean } * */ public void setSubstituteAssigned(Boolean value) { this.substituteAssigned = value; } /** * Gets the value of the staffReference property. * * @return * possible object is * {@link StaffReferenceType } * */ public StaffReferenceType getStaffReference() { return staffReference; } /** * Sets the value of the staffReference property. * * @param value * allowed object is * {@link StaffReferenceType } * */ public void setStaffReference(StaffReferenceType value) { this.staffReference = value; } }