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
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
61
62
63
64
65
66
67 public Calendar getTimestamp() {
68 return timestamp;
69 }
70
71
72
73
74
75
76
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
89
90
91
92
93
94
95 public String getMessage() {
96 return message;
97 }
98
99
100
101
102
103
104
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
117
118
119 public boolean isOperational() {
120 return operational;
121 }
122
123
124
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
137
138
139
140
141
142
143 public String getID() {
144 return id;
145 }
146
147
148
149
150
151
152
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 }