Enhancements for the aai-common library
[aai/aai-common.git] / aai-core / src / main / java / org / onap / aai / domain / responseMessage / AAIResponseMessageData.java
1 /**
2  * ============LICENSE_START=======================================================
3  * org.onap.aai
4  * ================================================================================
5  * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Modifications Copyright © 2018 IBM.
8  * ================================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *    http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * ============LICENSE_END=========================================================
21  */
22
23 package org.onap.aai.domain.responseMessage;
24
25 //
26 //This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
27 //See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
28 //Any modifications to this file will be lost upon recompilation of the source schema.
29 //Generated on: 2015.09.11 at 11:53:27 AM EDT
30 //
31
32 import javax.xml.bind.annotation.*;
33 import java.util.ArrayList;
34 import java.util.List;
35
36 @XmlAccessorType(XmlAccessType.FIELD)
37 @XmlType(name = "", propOrder = {"aaiResponseMessageDatum", "any"})
38 @XmlRootElement(name = "aai-response-message-data", namespace = "http://org.onap.aai.inventory")
39 public class AAIResponseMessageData {
40
41     @XmlElement(name = "aai-response-message-datum")
42     protected List<AAIResponseMessageDatum> aaiResponseMessageDatum;
43     @XmlAnyElement(lax = true)
44     protected List<Object> any;
45
46     /**
47      * Gets the AAI response message datum.
48      *
49      * @return the AAI response message datum
50      */
51     public List<AAIResponseMessageDatum> getAAIResponseMessageDatum() {
52         if (aaiResponseMessageDatum == null) {
53             aaiResponseMessageDatum = new ArrayList<>();
54         }
55         return this.aaiResponseMessageDatum;
56     }
57
58     /**
59      * Gets the any.
60      *
61      * @return the any
62      */
63     public List<Object> getAny() {
64         if (any == null) {
65             any = new ArrayList<>();
66         }
67         return this.any;
68     }
69
70 }