Changed to unmaintained
[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-2019 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  * ============LICENSE_END=========================================================
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 package org.onap.appc.flow.controller.interfaceData;
29
30 import java.util.ArrayList;
31 import java.util.HashMap;
32 import java.util.List;
33 import java.util.Map;
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 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "", propOrder = { "vnf", "vfModule", "vm", "vnfc" })
46 @XmlRootElement(name = "capabilities")
47 public class Capabilities {
48
49     @XmlList
50     @XmlElement(required = true)
51     protected List<String> vnf;
52     @XmlList
53     @XmlElement(name = "vf-module", required = true)
54     @JsonProperty("vf-module")
55     protected List<String> vfModule;
56     @XmlList
57     @XmlElement(required = true)
58     protected Map<String, List<String>> vm;
59     @XmlList
60     @XmlElement(required = true)
61     protected List<String> vnfc;
62
63     /**
64      * Gets the value of the vnf property.
65      *
66      * <p>
67      * This accessor method returns a reference to the live list, not a snapshot.
68      * Therefore any modification you make to the returned list will be present
69      * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
70      * for the vnf property.
71      *
72      * <p>
73      * For example, to add a new item, do as follows:
74      *
75      * <pre>
76      * getVnf().add(newItem);
77      * </pre>
78      *
79      *
80      * <p>
81      * Objects of the following type(s) are allowed in the list {@link String }
82      *
83      *
84      */
85     public List<String> getVnf() {
86         if (vnf == null) {
87             vnf = new ArrayList<String>();
88         }
89         return this.vnf;
90     }
91
92     /**
93      * Gets the value of the vfModule property.
94      *
95      * <p>
96      * This accessor method returns a reference to the live list, not a snapshot.
97      * Therefore any modification you make to the returned list will be present
98      * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
99      * for the vfModule property.
100      *
101      * <p>
102      * For example, to add a new item, do as follows:
103      *
104      * <pre>
105      * getVfModule().add(newItem);
106      * </pre>
107      *
108      *
109      * <p>
110      * Objects of the following type(s) are allowed in the list {@link String }
111      *
112      *
113      */
114     public List<String> getVfModule() {
115         if (vfModule == null) {
116             vfModule = new ArrayList<String>();
117         }
118         return this.vfModule;
119     }
120
121     /**
122      * Gets the value of the vm property.
123      *
124      * <p>
125      * This accessor method returns a reference to the live list, not a snapshot.
126      * Therefore any modification you make to the returned list will be present
127      * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
128      * for the vm property.
129      *
130      * <p>
131      * For example, to add a new item, do as follows:
132      *
133      * <pre>
134      * getVm().add(newItem);
135      * </pre>
136      *
137      *
138      * <p>
139      * Objects of the following type(s) are allowed in the list {@link Map}
140      *
141      *
142      */
143     public Map<String, List<String>> getVm() {
144         if (vm == null) {
145             vm = new HashMap<String, List<String>>();
146         }
147         return this.vm;
148     }
149
150     /**
151      * Gets the value of the vnfc property.
152      *
153      * <p>
154      * This accessor method returns a reference to the live list, not a snapshot.
155      * Therefore any modification you make to the returned list will be present
156      * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
157      * for the vnfc property.
158      *
159      * <p>
160      * For example, to add a new item, do as follows:
161      *
162      * <pre>
163      * getVnfc().add(newItem);
164      * </pre>
165      *
166      *
167      * <p>
168      * Objects of the following type(s) are allowed in the list {@link String }
169      *
170      *
171      */
172     public List<String> getVnfc() {
173         if (vnfc == null) {
174             vnfc = new ArrayList<String>();
175         }
176         return this.vnfc;
177     }
178
179     @Override
180     public String toString() {
181         return "Capabilities [vnf=" + vnf + ", vfModule=" + vfModule + ", vm=" + vm + ", vnfc=" + vnfc + "]";
182     }
183
184 }