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