Reduce the number of problems in aai-common by removing unused imports
[aai/aai-common.git] / aai-core / src / main / java / org / onap / aai / domain / responseMessage / AAIResponseMessages.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.responseMessage;
22
23 //
24 //This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
25 //See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
26 //Any modifications to this file will be lost upon recompilation of the source schema.
27 //Generated on: 2015.09.11 at 11:53:27 AM EDT
28 //
29
30 import java.util.ArrayList;
31 import java.util.List;
32
33 import javax.xml.bind.annotation.*;
34
35 /**
36  * <p>
37  * Java class for anonymous complex type.
38  *
39  * <p>
40  * The following schema fragment specifies the expected content contained within this class.
41  *
42  * <pre>
43  * &lt;complexType>
44  *   &lt;complexContent>
45  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
46  *       &lt;sequence>
47  *         &lt;element name="flavor" maxOccurs="unbounded" minOccurs="0">
48  *           &lt;complexType>
49  *             &lt;complexContent>
50  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51  *                 &lt;sequence>
52  *                   &lt;element name="flavor-id" type="{http://www.w3.org/2001/XMLSchema}string"/>
53  *                   &lt;element name="flavor-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
54  *                   &lt;element name="flavor-vcpus" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
55  *                   &lt;element name="flavor-ram" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
56  *                   &lt;element name="flavor-disk" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
57  *                   &lt;element name="flavor-ephemeral" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
58  *                   &lt;element name="flavor-swap" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
59  *                   &lt;element name="flavor-is-public" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
60  *                   &lt;element name="flavor-selflink" type="{urn:ietf:params:xml:ns:yang:ietf-inet-types}uri" minOccurs="0"/>
61  *                   &lt;element name="flavor-disabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
62  *                   &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
63  *                   &lt;element ref="{http://org.onap.aai.inventory/v3}relationship-list" minOccurs="0"/>
64  *                 &lt;/sequence>
65  *               &lt;/restriction>
66  *             &lt;/complexContent>
67  *           &lt;/complexType>
68  *         &lt;/element>
69  *         &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
70  *       &lt;/sequence>
71  *     &lt;/restriction>
72  *   &lt;/complexContent>
73  * &lt;/complexType>
74  * </pre>
75  *
76  *
77  */
78 @XmlAccessorType(XmlAccessType.FIELD)
79 @XmlType(name = "", propOrder = {"aaiResponseMessage", "any"})
80 @XmlRootElement(name = "aai-response-messages", namespace = "http://org.onap.aai.inventory")
81 public class AAIResponseMessages {
82     @XmlElement(name = "aai-response-message")
83     protected List<AAIResponseMessage> aaiResponseMessage;
84     @XmlAnyElement(lax = true)
85     protected List<Object> any;
86
87     /**
88      * Gets the AAI response message.
89      *
90      * @return the AAI response message
91      */
92     public List<AAIResponseMessage> getAAIResponseMessage() {
93         if (aaiResponseMessage == null) {
94             aaiResponseMessage = new ArrayList<AAIResponseMessage>();
95         }
96         return this.aaiResponseMessage;
97     }
98
99     /**
100      * Gets the any.
101      *
102      * @return the any
103      */
104     public List<Object> getAny() {
105         if (any == null) {
106             any = new ArrayList<Object>();
107         }
108         return this.any;
109     }
110
111 }