1 /** 2 * This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 * 6 * If it is not possible or desirable to put the notice in a particular 7 * file, then You may include the notice in a location (such as a LICENSE 8 * file in a relevant directory) where a recipient would be likely to look 9 * for such a notice. 10 11 * 12 */ 13 14 /* --------------------------------------------------------------------------- 15 * U.S. Government, Department of the Army 16 * Army Materiel Command 17 * Research Development Engineering Command 18 * Communications Electronics Research Development and Engineering Center 19 * --------------------------------------------------------------------------- 20 */ 21 package org.miloss.fgsms.plugins.sla.alertservice; 22 23 import javax.xml.bind.annotation.XmlAccessType; 24 import javax.xml.bind.annotation.XmlAccessorType; 25 import javax.xml.bind.annotation.XmlElement; 26 import javax.xml.bind.annotation.XmlSchemaType; 27 import javax.xml.bind.annotation.XmlType; 28 import java.util.Calendar; 29 30 31 /** 32 * <p>Java class for RecieveServiceAlert complex type. 33 * 34 * <p>The following schema fragment specifies the expected content contained within this class. 35 * 36 * <pre> 37 * <complexType name="RecieveServiceAlert"> 38 * <complexContent> 39 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 40 * <sequence> 41 * <element name="utcdatetime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> 42 * <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/> 43 * </sequence> 44 * </restriction> 45 * </complexContent> 46 * </complexType> 47 * </pre> 48 * 49 * 50 */ 51 @XmlAccessorType(XmlAccessType.FIELD) 52 @XmlType(name = "RecieveServiceAlert", propOrder = { 53 "utcdatetime", 54 "message" 55 }) 56 public class RecieveServiceAlert { 57 58 @XmlElement(required = true) 59 @XmlSchemaType(name = "dateTime") 60 protected Calendar timestamp; 61 @XmlElement(required = true) 62 protected String message; 63 64 /** 65 * Gets the value of the timestamp property. 66 * 67 * @return 68 * possible object is 69 * {@link Calendar } 70 * 71 */ 72 public Calendar getTimestamp() { 73 return timestamp; 74 } 75 76 /** 77 * Sets the value of the timestamp property. 78 * 79 * @param value 80 * allowed object is 81 * {@link Calendar } 82 * 83 */ 84 public void setTimestamp(Calendar value) { 85 this.timestamp = value; 86 } 87 88 /** 89 * Gets the value of the message property. 90 * 91 * @return 92 * possible object is 93 * {@link String } 94 * 95 */ 96 public String getMessage() { 97 return message; 98 } 99 100 /** 101 * Sets the value of the message property. 102 * 103 * @param value 104 * allowed object is 105 * {@link String } 106 * 107 */ 108 public void setMessage(String value) { 109 this.message = value; 110 } 111 112 }