3 * ============LICENSE_START=======================================================
5 * ================================================================================
6 * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
7 * =============================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
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;
43 import com.fasterxml.jackson.annotation.JsonRootName;
45 @XmlAccessorType(XmlAccessType.FIELD)
46 @XmlType(name = "", propOrder = {
52 @XmlRootElement(name = "vnfcs")
53 @JsonRootName(value="vnfcs")
56 @XmlElement(name = "vnfc-type", required = true)
57 @JsonProperty("vnfc-type")
58 protected String vnfcType;
59 @XmlElement(required = true)
60 @JsonProperty("mandatory")
61 protected String mandatory;
62 @XmlElement(required = true)
63 @JsonProperty("resilience")
64 protected String resilience;
66 @XmlElement(required = true)
67 @JsonProperty("parents")
68 protected List<String> parents;
71 * Gets the value of the vnfcType property.
78 public String getVnfcType() {
83 * Sets the value of the vnfcType property.
90 public void setVnfcType(String value) {
91 this.vnfcType = value;
95 * Gets the value of the mandatory property.
102 public String getMandatory() {
107 * Sets the value of the mandatory property.
114 public void setMandatory(String value) {
115 this.mandatory = value;
119 * Gets the value of the resilience property.
126 public String getResilience() {
131 * Sets the value of the resilience property.
138 public void setResilience(String value) {
139 this.resilience = value;
143 * Gets the value of the parents property.
146 * This accessor method returns a reference to the live list,
147 * not a snapshot. Therefore any modification you make to the
148 * returned list will be present inside the JAXB object.
149 * This is why there is not a <CODE>set</CODE> method for the parents property.
152 * For example, to add a new item, do as follows:
154 * getParents().add(newItem);
159 * Objects of the following type(s) are allowed in the list
164 public List<String> getParents() {
165 if (parents == null) {
166 parents = new ArrayList<String>();
172 public String toString() {
173 return "Vnfcs [vnfcType=" + vnfcType + ", mandatory=" + mandatory
174 + ", resilience=" + resilience + ", parents=" + parents + "]";