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