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 22 package org.miloss.fgsms.plugins.sla.alertservice; 23 24 import javax.xml.bind.annotation.XmlAccessType; 25 import javax.xml.bind.annotation.XmlAccessorType; 26 import javax.xml.bind.annotation.XmlElement; 27 import javax.xml.bind.annotation.XmlSchemaType; 28 import javax.xml.bind.annotation.XmlType; 29 import java.util.Calendar; 30 31 32 /** 33 * <p>Java class for RecieveServiceAlert complex type. 34 * 35 * <p>The following schema fragment specifies the expected content contained within this class. 36 * 37 * <pre> 38 * <complexType name="RecieveServiceAlert"> 39 * <complexContent> 40 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 41 * <sequence> 42 * <element name="utcdatetime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> 43 * <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/> 44 * </sequence> 45 * </restriction> 46 * </complexContent> 47 * </complexType> 48 * </pre> 49 * 50 * 51 */ 52 @XmlAccessorType(XmlAccessType.FIELD) 53 @XmlType(name = "RecieveServiceAlert", propOrder = { 54 "utcdatetime", 55 "message" 56 }) 57 public class RecieveServiceAlert { 58 59 @XmlElement(required = true) 60 @XmlSchemaType(name = "dateTime") 61 protected Calendar timestamp; 62 @XmlElement(required = true) 63 protected String message; 64 65 /** 66 * Gets the value of the timestamp property. 67 * 68 * @return 69 * possible object is 70 * {@link Calendar } 71 * 72 */ 73 public Calendar getTimestamp() { 74 return timestamp; 75 } 76 77 /** 78 * Sets the value of the timestamp property. 79 * 80 * @param value 81 * allowed object is 82 * {@link Calendar } 83 * 84 */ 85 public void setTimestamp(Calendar value) { 86 this.timestamp = value; 87 } 88 89 /** 90 * Gets the value of the message property. 91 * 92 * @return 93 * possible object is 94 * {@link String } 95 * 96 */ 97 public String getMessage() { 98 return message; 99 } 100 101 /** 102 * Sets the value of the message property. 103 * 104 * @param value 105 * allowed object is 106 * {@link String } 107 * 108 */ 109 public void setMessage(String value) { 110 this.message = value; 111 } 112 113 }