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