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