/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * Copyright (c) 2013, MPL CodeInside http://codeinside.ru */ package ru.fccland.portal.types; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "eventID", "eventType", "eventDate", "requestNumber" }) @XmlRootElement(name = "events") public class Events { @XmlElement(required = true) protected String eventID; @XmlElement(required = true) protected String eventType; @XmlElement(required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar eventDate; @XmlElement(required = true) protected String requestNumber; /** * Gets the value of the eventID property. * * @return * possible object is * {@link String } * */ public String getEventID() { return eventID; } /** * Sets the value of the eventID property. * * @param value * allowed object is * {@link String } * */ public void setEventID(String value) { this.eventID = value; } /** * Gets the value of the eventType property. * * @return * possible object is * {@link String } * */ public String getEventType() { return eventType; } /** * Sets the value of the eventType property. * * @param value * allowed object is * {@link String } * */ public void setEventType(String value) { this.eventType = value; } /** * Gets the value of the eventDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getEventDate() { return eventDate; } /** * Sets the value of the eventDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setEventDate(XMLGregorianCalendar value) { this.eventDate = value; } /** * Gets the value of the requestNumber property. * * @return * possible object is * {@link String } * */ public String getRequestNumber() { return requestNumber; } /** * Sets the value of the requestNumber property. * * @param value * allowed object is * {@link String } * */ public void setRequestNumber(String value) { this.requestNumber = value; } }