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 * an audit log instance
15 *
16 * <p>Java class for AuditLog complex type.
17 *
18 * <p>The following schema fragment specifies the expected content contained within this class.
19 *
20 * <pre>
21 * <complexType name="AuditLog">
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="username" type="{http://www.w3.org/2001/XMLSchema}string"/>
27 * <element name="class" type="{http://www.w3.org/2001/XMLSchema}string"/>
28 * <element name="method" type="{http://www.w3.org/2001/XMLSchema}string"/>
29 * <element name="memo" type="{http://www.w3.org/2001/XMLSchema}string"/>
30 * <element name="classification" type="{http://www.w3.org/2001/XMLSchema}string"/>
31 * <element name="ipaddress" type="{http://www.w3.org/2001/XMLSchema}string"/>
32 * </sequence>
33 * </restriction>
34 * </complexContent>
35 * </complexType>
36 * </pre>
37 *
38 *
39 */
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "AuditLog", propOrder = {
42 "timestamp",
43 "username",
44 "clazz",
45 "method",
46 "memo",
47 "classification",
48 "ipaddress"
49 })
50 public class AuditLog
51 implements Serializable
52 {
53
54 private final static long serialVersionUID = 1L;
55 @XmlElement(name = "Timestamp", required = true)
56 @XmlSchemaType(name = "dateTime")
57 protected Calendar timestamp;
58 @XmlElement(required = true)
59 protected String username;
60 @XmlElement(name = "class", required = true)
61 protected String clazz;
62 @XmlElement(required = true)
63 protected String method;
64 @XmlElement(required = true)
65 protected String memo;
66 @XmlElement(required = true)
67 protected String classification;
68 @XmlElement(required = true)
69 protected String ipaddress;
70
71 /**
72 * Gets the value of the timestamp property.
73 *
74 * @return
75 * possible object is
76 * {@link Calendar }
77 *
78 */
79 public Calendar getTimestamp() {
80 return timestamp;
81 }
82
83 /**
84 * Sets the value of the timestamp property.
85 *
86 * @param value
87 * allowed object is
88 * {@link Calendar }
89 *
90 */
91 public void setTimestamp(Calendar value) {
92 this.timestamp = value;
93 }
94
95 public boolean isSetTimestamp() {
96 return (this.timestamp!= null);
97 }
98
99 /**
100 * Gets the value of the username property.
101 *
102 * @return
103 * possible object is
104 * {@link String }
105 *
106 */
107 public String getUsername() {
108 return username;
109 }
110
111 /**
112 * Sets the value of the username property.
113 *
114 * @param value
115 * allowed object is
116 * {@link String }
117 *
118 */
119 public void setUsername(String value) {
120 this.username = value;
121 }
122
123 public boolean isSetUsername() {
124 return (this.username!= null);
125 }
126
127 /**
128 * Gets the value of the clazz property.
129 *
130 * @return
131 * possible object is
132 * {@link String }
133 *
134 */
135 public String getClazz() {
136 return clazz;
137 }
138
139 /**
140 * Sets the value of the clazz property.
141 *
142 * @param value
143 * allowed object is
144 * {@link String }
145 *
146 */
147 public void setClazz(String value) {
148 this.clazz = value;
149 }
150
151 public boolean isSetClazz() {
152 return (this.clazz!= null);
153 }
154
155 /**
156 * Gets the value of the method property.
157 *
158 * @return
159 * possible object is
160 * {@link String }
161 *
162 */
163 public String getMethod() {
164 return method;
165 }
166
167 /**
168 * Sets the value of the method property.
169 *
170 * @param value
171 * allowed object is
172 * {@link String }
173 *
174 */
175 public void setMethod(String value) {
176 this.method = value;
177 }
178
179 public boolean isSetMethod() {
180 return (this.method!= null);
181 }
182
183 /**
184 * Gets the value of the memo property.
185 *
186 * @return
187 * possible object is
188 * {@link String }
189 *
190 */
191 public String getMemo() {
192 return memo;
193 }
194
195 /**
196 * Sets the value of the memo property.
197 *
198 * @param value
199 * allowed object is
200 * {@link String }
201 *
202 */
203 public void setMemo(String value) {
204 this.memo = value;
205 }
206
207 public boolean isSetMemo() {
208 return (this.memo!= null);
209 }
210
211 /**
212 * Gets the value of the classification property.
213 *
214 * @return
215 * possible object is
216 * {@link String }
217 *
218 */
219 public String getClassification() {
220 return classification;
221 }
222
223 /**
224 * Sets the value of the classification property.
225 *
226 * @param value
227 * allowed object is
228 * {@link String }
229 *
230 */
231 public void setClassification(String value) {
232 this.classification = value;
233 }
234
235 public boolean isSetClassification() {
236 return (this.classification!= null);
237 }
238
239 /**
240 * Gets the value of the ipaddress property.
241 *
242 * @return
243 * possible object is
244 * {@link String }
245 *
246 */
247 public String getIpaddress() {
248 return ipaddress;
249 }
250
251 /**
252 * Sets the value of the ipaddress property.
253 *
254 * @param value
255 * allowed object is
256 * {@link String }
257 *
258 */
259 public void setIpaddress(String value) {
260 this.ipaddress = value;
261 }
262
263 public boolean isSetIpaddress() {
264 return (this.ipaddress!= null);
265 }
266
267 }