Update java files with correct license text
[appc.git] / appc-config / appc-flow-controller / provider / src / main / java / org / onap / appc / flow / controller / interfaceData / Capabilities.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
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  *
19  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
20  * ============LICENSE_END=========================================================
21  */
22 //
23 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
24 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
25 // Any modifications to this file will be lost upon recompilation of the source schema.
26 // Generated on: 2017.07.31 at 10:30:39 AM EDT
27 //
28
29
30 package org.onap.appc.flow.controller.interfaceData;
31
32 import java.util.ArrayList;
33 import java.util.List;
34
35 import javax.xml.bind.annotation.XmlAccessType;
36 import javax.xml.bind.annotation.XmlAccessorType;
37 import javax.xml.bind.annotation.XmlElement;
38 import javax.xml.bind.annotation.XmlList;
39 import javax.xml.bind.annotation.XmlRootElement;
40 import javax.xml.bind.annotation.XmlType;
41
42 import com.fasterxml.jackson.annotation.JsonProperty;
43
44
45 @XmlAccessorType(XmlAccessType.FIELD)
46 @XmlType(name = "", propOrder = {
47     "vnf",
48     "vfModule",
49     "vm",
50     "vnfc"
51 })
52 @XmlRootElement(name = "capabilities")
53 public class Capabilities {
54
55     @XmlList
56     @XmlElement(required = true)
57     protected List<String> vnf;
58     @XmlList
59     @XmlElement(name = "vf-module", required = true)
60     @JsonProperty("vf-module")
61     protected List<String> vfModule;
62     @XmlList
63     @XmlElement(required = true)
64     protected List<String> vm;
65     @XmlList
66     @XmlElement(required = true)
67     protected List<String> vnfc;
68
69     /**
70      * Gets the value of the vnf property.
71      *
72      * <p>
73      * This accessor method returns a reference to the live list,
74      * not a snapshot. Therefore any modification you make to the
75      * returned list will be present inside the JAXB object.
76      * This is why there is not a <CODE>set</CODE> method for the vnf property.
77      *
78      * <p>
79      * For example, to add a new item, do as follows:
80      * <pre>
81      *    getVnf().add(newItem);
82      * </pre>
83      *
84      *
85      * <p>
86      * Objects of the following type(s) are allowed in the list
87      * {@link String }
88      *
89      *
90      */
91     public List<String> getVnf() {
92         if (vnf == null) {
93             vnf = new ArrayList<String>();
94         }
95         return this.vnf;
96     }
97
98     /**
99      * Gets the value of the vfModule property.
100      *
101      * <p>
102      * This accessor method returns a reference to the live list,
103      * not a snapshot. Therefore any modification you make to the
104      * returned list will be present inside the JAXB object.
105      * This is why there is not a <CODE>set</CODE> method for the vfModule property.
106      *
107      * <p>
108      * For example, to add a new item, do as follows:
109      * <pre>
110      *    getVfModule().add(newItem);
111      * </pre>
112      *
113      *
114      * <p>
115      * Objects of the following type(s) are allowed in the list
116      * {@link String }
117      *
118      *
119      */
120     public List<String> getVfModule() {
121         if (vfModule == null) {
122             vfModule = new ArrayList<String>();
123         }
124         return this.vfModule;
125     }
126
127     /**
128      * Gets the value of the vm property.
129      *
130      * <p>
131      * This accessor method returns a reference to the live list,
132      * not a snapshot. Therefore any modification you make to the
133      * returned list will be present inside the JAXB object.
134      * This is why there is not a <CODE>set</CODE> method for the vm property.
135      *
136      * <p>
137      * For example, to add a new item, do as follows:
138      * <pre>
139      *    getVm().add(newItem);
140      * </pre>
141      *
142      *
143      * <p>
144      * Objects of the following type(s) are allowed in the list
145      * {@link String }
146      *
147      *
148      */
149     public List<String> getVm() {
150         if (vm == null) {
151             vm = new ArrayList<String>();
152         }
153         return this.vm;
154     }
155
156     /**
157      * Gets the value of the vnfc property.
158      *
159      * <p>
160      * This accessor method returns a reference to the live list,
161      * not a snapshot. Therefore any modification you make to the
162      * returned list will be present inside the JAXB object.
163      * This is why there is not a <CODE>set</CODE> method for the vnfc property.
164      *
165      * <p>
166      * For example, to add a new item, do as follows:
167      * <pre>
168      *    getVnfc().add(newItem);
169      * </pre>
170      *
171      *
172      * <p>
173      * Objects of the following type(s) are allowed in the list
174      * {@link String }
175      *
176      *
177      */
178     public List<String> getVnfc() {
179         if (vnfc == null) {
180             vnfc = new ArrayList<String>();
181         }
182         return this.vnfc;
183     }
184
185     @Override
186     public String toString() {
187         return "Capabilities [vnf=" + vnf + ", vfModule=" + vfModule + ", vm="
188                 + vm + ", vnfc=" + vnfc + "]";
189     }
190
191 }