2 * ============LICENSE_START=======================================================
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
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 * ============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
28 package org.onap.appc.flow.controller.interfaceData;
30 import java.util.ArrayList;
31 import java.util.HashMap;
32 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;
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "", propOrder = { "vnf", "vfModule", "vm", "vnfc" })
46 @XmlRootElement(name = "capabilities")
47 public class Capabilities {
50 @XmlElement(required = true)
51 protected List<String> vnf;
53 @XmlElement(name = "vf-module", required = true)
54 @JsonProperty("vf-module")
55 protected List<String> vfModule;
57 @XmlElement(required = true)
58 protected Map<String, List<String>> vm;
60 @XmlElement(required = true)
61 protected List<String> vnfc;
64 * Gets the value of the vnf property.
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.
73 * For example, to add a new item, do as follows:
76 * getVnf().add(newItem);
81 * Objects of the following type(s) are allowed in the list {@link String }
85 public List<String> getVnf() {
87 vnf = new ArrayList<String>();
93 * Gets the value of the vfModule property.
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.
102 * For example, to add a new item, do as follows:
105 * getVfModule().add(newItem);
110 * Objects of the following type(s) are allowed in the list {@link String }
114 public List<String> getVfModule() {
115 if (vfModule == null) {
116 vfModule = new ArrayList<String>();
118 return this.vfModule;
122 * Gets the value of the vm property.
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.
131 * For example, to add a new item, do as follows:
134 * getVm().add(newItem);
139 * Objects of the following type(s) are allowed in the list {@link Map}
143 public Map<String, List<String>> getVm() {
145 vm = new HashMap<String, List<String>>();
151 * Gets the value of the vnfc property.
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.
160 * For example, to add a new item, do as follows:
163 * getVnfc().add(newItem);
168 * Objects of the following type(s) are allowed in the list {@link String }
172 public List<String> getVnfc() {
174 vnfc = new ArrayList<String>();
180 public String toString() {
181 return "Capabilities [vnf=" + vnf + ", vfModule=" + vfModule + ", vm=" + vm + ", vnfc=" + vnfc + "]";