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.
18 * ============LICENSE_END=========================================================
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
29 package org.openecomp.appc.flow.controller.interfaceData;
31 import java.util.ArrayList;
32 import java.util.List;
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;
41 import com.fasterxml.jackson.annotation.JsonProperty;
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "", propOrder = {
51 @XmlRootElement(name = "capabilities")
52 public class Capabilities {
55 @XmlElement(required = true)
56 protected List<String> vnf;
58 @XmlElement(name = "vf-module", required = true)
59 @JsonProperty("vf-module")
60 protected List<String> vfModule;
62 @XmlElement(required = true)
63 protected List<String> vm;
65 @XmlElement(required = true)
66 protected List<String> vnfc;
69 * Gets the value of the vnf property.
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.
78 * For example, to add a new item, do as follows:
80 * getVnf().add(newItem);
85 * Objects of the following type(s) are allowed in the list
90 public List<String> getVnf() {
92 vnf = new ArrayList<String>();
98 * Gets the value of the vfModule property.
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.
107 * For example, to add a new item, do as follows:
109 * getVfModule().add(newItem);
114 * Objects of the following type(s) are allowed in the list
119 public List<String> getVfModule() {
120 if (vfModule == null) {
121 vfModule = new ArrayList<String>();
123 return this.vfModule;
127 * Gets the value of the vm property.
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.
136 * For example, to add a new item, do as follows:
138 * getVm().add(newItem);
143 * Objects of the following type(s) are allowed in the list
148 public List<String> getVm() {
150 vm = new ArrayList<String>();
156 * Gets the value of the vnfc property.
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.
165 * For example, to add a new item, do as follows:
167 * getVnfc().add(newItem);
172 * Objects of the following type(s) are allowed in the list
177 public List<String> getVnfc() {
179 vnfc = new ArrayList<String>();
185 public String toString() {
186 return "Capabilities [vnf=" + vnf + ", vfModule=" + vfModule + ", vm="
187 + vm + ", vnfc=" + vnfc + "]";