1
2 package org.miloss.fgsms.services.interfaces.dataaccessservice;
3
4 import java.io.Serializable;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlSchemaType;
9 import javax.xml.bind.annotation.XmlType;
10 import java.util.Calendar;
11
12
13 /**
14 * operational status records
15 *
16 * <p>Java class for OperationalRecord complex type.
17 *
18 * <p>The following schema fragment specifies the expected content contained within this class.
19 *
20 * <pre>
21 * <complexType name="OperationalRecord">
22 * <complexContent>
23 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24 * <sequence>
25 * <element name="Timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
26 * <element name="Message" type="{http://www.w3.org/2001/XMLSchema}string"/>
27 * <element name="Operational" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
28 * <element name="ID" type="{http://www.w3.org/2001/XMLSchema}string"/>
29 * </sequence>
30 * </restriction>
31 * </complexContent>
32 * </complexType>
33 * </pre>
34 *
35 *
36 */
37 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "OperationalRecord", propOrder = {
39 "timestamp",
40 "message",
41 "operational",
42 "id"
43 })
44 public class OperationalRecord
45 implements Serializable
46 {
47
48 private final static long serialVersionUID = 1L;
49 @XmlElement(name = "Timestamp", required = true)
50 @XmlSchemaType(name = "dateTime")
51 protected Calendar timestamp;
52 @XmlElement(name = "Message", required = true)
53 protected String message;
54 @XmlElement(name = "Operational")
55 protected boolean operational;
56 @XmlElement(name = "ID", required = true)
57 protected String id;
58
59 /**
60 * Gets the value of the timestamp property.
61 *
62 * @return
63 * possible object is
64 * {@link Calendar }
65 *
66 */
67 public Calendar getTimestamp() {
68 return timestamp;
69 }
70
71 /**
72 * Sets the value of the timestamp property.
73 *
74 * @param value
75 * allowed object is
76 * {@link Calendar }
77 *
78 */
79 public void setTimestamp(Calendar value) {
80 this.timestamp = value;
81 }
82
83 public boolean isSetTimestamp() {
84 return (this.timestamp!= null);
85 }
86
87 /**
88 * Gets the value of the message property.
89 *
90 * @return
91 * possible object is
92 * {@link String }
93 *
94 */
95 public String getMessage() {
96 return message;
97 }
98
99 /**
100 * Sets the value of the message property.
101 *
102 * @param value
103 * allowed object is
104 * {@link String }
105 *
106 */
107 public void setMessage(String value) {
108 this.message = value;
109 }
110
111 public boolean isSetMessage() {
112 return (this.message!= null);
113 }
114
115 /**
116 * Gets the value of the operational property.
117 *
118 */
119 public boolean isOperational() {
120 return operational;
121 }
122
123 /**
124 * Sets the value of the operational property.
125 *
126 */
127 public void setOperational(boolean value) {
128 this.operational = value;
129 }
130
131 public boolean isSetOperational() {
132 return true;
133 }
134
135 /**
136 * Gets the value of the id property.
137 *
138 * @return
139 * possible object is
140 * {@link String }
141 *
142 */
143 public String getID() {
144 return id;
145 }
146
147 /**
148 * Sets the value of the id property.
149 *
150 * @param value
151 * allowed object is
152 * {@link String }
153 *
154 */
155 public void setID(String value) {
156 this.id = value;
157 }
158
159 public boolean isSetID() {
160 return (this.id!= null);
161 }
162
163 }