[AAI-171 Amsterdam] Move rest.db to aai-common
[aai/aai-common.git] / aai-core / src / main / java / org / openecomp / aai / domain / translog / TransactionLogEntry.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * org.openecomp.aai
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.aai.domain.translog;
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.XmlRootElement;
27 import javax.xml.bind.annotation.XmlType;
28
29 import org.eclipse.persistence.oxm.annotations.XmlCDATA;
30
31 @XmlAccessorType(XmlAccessType.FIELD)
32 @XmlType(name = "", propOrder = {
33                 "transactionLogEntryId",
34                 "status",
35                 "rqstDate",
36                 "respDate",
37                 "sourceId",
38                 "resourceId",
39                 "resourceType",
40                 "rqstBuf",
41                 "respBuf",
42                 "notificationPayload",
43                 "notificationId",
44                 "notificationStatus",
45                 "notificationTopic",
46                 "notificationEntityLink",
47                 "notificationAction"
48 })
49 @XmlRootElement(name = "transaction-log-entry", namespace = "http://org.openecomp.aai.inventory")
50 public class TransactionLogEntry {
51
52         @XmlElement(name = "transaction-log-entry-id", required = true)
53         protected String transactionLogEntryId;
54         @XmlElement(name = "status")
55         protected String status;
56         @XmlElement(name = "rqst-date")
57         protected String rqstDate;
58         @XmlElement(name = "resp-date")
59         protected String respDate;
60         @XmlElement(name = "source-id")
61         protected String sourceId;
62         @XmlElement(name = "resource-id")
63         protected String resourceId;
64         @XmlElement(name = "resource-type")
65         protected String resourceType;
66         @XmlElement(name = "rqst-buf")
67         protected String rqstBuf;
68         @XmlElement(name = "resp-buf")
69         protected String respBuf;
70         @XmlElement(name = "notification-payload")
71         protected String notificationPayload;
72         @XmlElement(name = "notification-id")
73         protected String notificationId;
74         @XmlElement(name = "notification-status")
75         protected String notificationStatus;
76         @XmlElement(name = "notification-topic")
77         private String notificationTopic;
78         @XmlElement(name = "notification-entity-link")
79         private String notificationEntityLink;
80         @XmlElement(name = "notification-action")
81         private String notificationAction;
82
83         /**
84          * Gets the value of the transcationLogEntryId property.
85          * 
86          * @return
87          *     possible object is
88          *     {@link String }
89          *     
90          */
91         public String getTransactionLogEntryId() {
92                 return transactionLogEntryId;
93         }
94
95         /**
96          * Sets the value of the transactionLogEntryId property.
97          * 
98          * @param value
99          *     allowed object is
100          *     {@link String }
101          *     
102          */
103         public void setTransactionLogEntryId(String value) {
104                 this.transactionLogEntryId = value;
105         }
106
107         /**
108          * Gets the value of the status property.
109          * 
110          * @return
111          *     possible object is
112          *     {@link String }
113          *     
114          */
115         public String getStatus() {
116                 return status;
117         }
118
119         /**
120          * Sets the value of the status property.
121          * 
122          * @param value
123          *     allowed object is
124          *     {@link String }
125          *     
126          */
127         public void setStatus(String value) {
128                 this.status = value;
129         }
130
131         /**
132          * Gets the value of the rqstDate property.
133          * 
134          * @return
135          *     possible object is
136          *     {@link String }
137          *     
138          */
139
140         public String getRqstDate() {
141                 return rqstDate;
142         }
143
144         /**
145          * Sets the value of the rqstDate property.
146          * 
147          * @param value
148          *     allowed object is
149          *     {@link String }
150          *     
151          */
152         public void setRqstDate(String value) {
153                 this.rqstDate = value;
154         }
155
156
157         /**
158          * Gets the value of the respDate property.
159          * 
160          * @return
161          *     possible object is
162          *     {@link String }
163          *     
164          */
165
166         public String getRespDate() {
167                 return respDate;
168         }
169
170         /**
171          * Sets the value of the respDate property.
172          * 
173          * @param value
174          *     allowed object is
175          *     {@link String }
176          *     
177          */
178         public void setRespDate(String value) {
179                 this.respDate = value;
180         }
181         /**
182          * Gets the value of the sourceId property.
183          * 
184          * @return
185          *     possible object is
186          *     {@link String }
187          *     
188          */
189         public String getSourceId() {
190                 return sourceId;
191         }
192
193         /**
194          * Sets the value of the sourceId property.
195          * 
196          * @param value
197          *     allowed object is
198          *     {@link String }
199          *     
200          */
201         public void setSourceId(String value) {
202                 this.sourceId = value;
203         }
204
205         /**
206          * Gets the value of the resourceId property.
207          * 
208          * @return
209          *     possible object is
210          *     {@link String }
211          *     
212          */
213         public String getResourceId() {
214                 return resourceId;
215         }
216
217         /**
218          * Sets the value of the resourceId property.
219          * 
220          * @param value
221          *     allowed object is
222          *     {@link String }
223          *     
224          */
225         public void setResourceId(String value) {
226                 this.resourceId = value;
227         }
228
229         /**
230          * Gets the value of the resourceType property.
231          * 
232          * @return
233          *     possible object is
234          *     {@link String }
235          *     
236          */
237         public String getResourceType() {
238                 return resourceType;
239         }
240
241         /**
242          * Sets the value of the resourceType property.
243          * 
244          * @param value
245          *     allowed object is
246          *     {@link String }
247          *     
248          */
249         public void setResourceType(String value) {
250                 this.resourceType = value;
251         }
252
253         /**
254          * Gets the value of the rqstBuf property.
255          * 
256          * @return
257          *     possible object is
258          *     {@link String }
259          *     
260          */
261         public String getRqstBuf() {
262                 return rqstBuf;
263         }
264
265         /**
266          * Sets the value of the rqstBuf property.
267          * 
268          * @param value
269          *     allowed object is
270          *     {@link String }
271          *     
272          */
273         @XmlCDATA
274         public void setRqstBuf(String value) {
275                 this.rqstBuf = value;
276         }
277
278         /**
279          * Gets the value of the respBuf property.
280          * 
281          * @return
282          *     possible object is
283          *     {@link String }
284          *     
285          */
286         public String getrespBuf() {
287                 return respBuf;
288         }
289
290         /**
291          * Sets the value of the respBuf property.
292          * 
293          * @param value
294          *     allowed object is
295          *     {@link String }
296          *     
297          */
298         @XmlCDATA
299         public void setrespBuf(String value) {
300                 this.respBuf = value;
301         }
302
303         /**
304          * Gets the value of the notificationPayload property.
305          * 
306          * @return
307          *     possible object is
308          *     {@link String }
309          *     
310          */
311         public String getNotificationPayload() {
312                 return notificationPayload;
313         }
314
315         /**
316          * Sets the value of the notificationPayload property.
317          * 
318          * @param value
319          *     allowed object is
320          *     {@link String }
321          *     
322          */
323         @XmlCDATA
324         public void setNotificationPayload(String value) {
325                 this.notificationPayload = value;
326         }
327
328
329         /**
330          * Gets the value of the notificationId property.
331          * 
332          * @return
333          *     possible object is
334          *     {@link String }
335          *     
336          */
337         public String getNotificationId() {
338                 return notificationId;
339         }
340
341         /**
342          * Sets the value of the notificationId property.
343          * 
344          * @param value
345          *     allowed object is
346          *     {@link String }
347          *     
348          */
349         public void setNotificationId(String value) {
350                 this.notificationId = value;
351         }
352
353         /**
354          * Gets the value of the notificationId property.
355          * 
356          * @return
357          *     possible object is
358          *     {@link String }
359          *     
360          */
361         public String getNotificationStatus() {
362                 return notificationStatus;
363         }
364
365         /**
366          * Sets the value of the notificationId property.
367          * 
368          * @param value
369          *     allowed object is
370          *     {@link String }
371          *     
372          */
373         public void setNotificationStatus(String value) {
374                 this.notificationStatus = value;
375         }
376
377         /**
378          * Gets the value of the notificationTopic property.
379          * 
380          * @return
381          *     possible object is
382          *     {@link String }
383          *     
384          */
385         public String getNotificationTopic() {
386                 return notificationTopic;
387         }
388
389         /**
390          * Sets the value of the notificationTopic property.
391          *
392          * @param topic the new notification topic
393          */
394         public void setNotificationTopic(String topic) {
395                 this.notificationTopic = topic;
396         }
397
398         /**
399          * Gets the value of the notificationEntityLink property.
400          * 
401          * @return
402          *     possible object is
403          *     {@link String }
404          *     
405          */
406         public String getNotificationEntityLink() {
407                 return notificationEntityLink;
408         }
409
410         /**
411          * Sets the value of the notificationEntityLink property.
412          *
413          * @param entityLink the new notification entity link
414          */
415         public void setNotificationEntityLink(String entityLink) {
416                 this.notificationEntityLink = entityLink;
417         }
418
419         /**
420          * Sets the value of the notificationAction property.
421          *
422          * @return the notification action
423          */
424         public String getNotificationAction() {
425                 return notificationAction;
426         }
427
428         /**
429          * Sets the value of the notificationAction property.
430          *
431          * @param action the new notification action
432          */
433         public void setNotificationAction(String action) {
434                 this.notificationAction = action;
435         }
436
437
438 }