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