2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
20 * ============LICENSE_END=========================================================
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
30 package org.onap.appc.flow.controller.interfaceData;
32 import java.util.ArrayList;
33 import java.util.List;
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;
42 import com.fasterxml.jackson.annotation.JsonProperty;
45 @XmlAccessorType(XmlAccessType.FIELD)
46 @XmlType(name = "", propOrder = {
52 @XmlRootElement(name = "capabilities")
53 public class Capabilities {
56 @XmlElement(required = true)
57 protected List<String> vnf;
59 @XmlElement(name = "vf-module", required = true)
60 @JsonProperty("vf-module")
61 protected List<String> vfModule;
63 @XmlElement(required = true)
64 protected List<String> vm;
66 @XmlElement(required = true)
67 protected List<String> vnfc;
70 * Gets the value of the vnf property.
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.
79 * For example, to add a new item, do as follows:
81 * getVnf().add(newItem);
86 * Objects of the following type(s) are allowed in the list
91 public List<String> getVnf() {
93 vnf = new ArrayList<String>();
99 * Gets the value of the vfModule property.
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.
108 * For example, to add a new item, do as follows:
110 * getVfModule().add(newItem);
115 * Objects of the following type(s) are allowed in the list
120 public List<String> getVfModule() {
121 if (vfModule == null) {
122 vfModule = new ArrayList<String>();
124 return this.vfModule;
128 * Gets the value of the vm property.
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.
137 * For example, to add a new item, do as follows:
139 * getVm().add(newItem);
144 * Objects of the following type(s) are allowed in the list
149 public List<String> getVm() {
151 vm = new ArrayList<String>();
157 * Gets the value of the vnfc property.
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.
166 * For example, to add a new item, do as follows:
168 * getVnfc().add(newItem);
173 * Objects of the following type(s) are allowed in the list
178 public List<String> getVnfc() {
180 vnfc = new ArrayList<String>();
186 public String toString() {
187 return "Capabilities [vnf=" + vnf + ", vfModule=" + vfModule + ", vm="
188 + vm + ", vnfc=" + vnfc + "]";