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