3 * ============LICENSE_START=======================================================
5 * ================================================================================
6 * Copyright (C) 2017 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 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
21 * ============LICENSE_END=========================================================
24 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
25 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
26 // Any modifications to this file will be lost upon recompilation of the source schema.
27 // Generated on: 2017.07.31 at 10:30:39 AM EDT
31 package org.onap.appc.flow.controller.interfaceData;
33 import java.util.ArrayList;
34 import java.util.List;
36 import javax.xml.bind.annotation.XmlAccessType;
37 import javax.xml.bind.annotation.XmlAccessorType;
38 import javax.xml.bind.annotation.XmlElement;
39 import javax.xml.bind.annotation.XmlList;
40 import javax.xml.bind.annotation.XmlRootElement;
41 import javax.xml.bind.annotation.XmlType;
43 import com.fasterxml.jackson.annotation.JsonProperty;
44 import com.fasterxml.jackson.annotation.JsonRootName;
46 @XmlAccessorType(XmlAccessType.FIELD)
47 @XmlType(name = "", propOrder = {
53 @XmlRootElement(name = "vnfcs")
54 @JsonRootName(value="vnfcs")
57 @XmlElement(name = "vnfc-type", required = true)
58 @JsonProperty("vnfc-type")
59 protected String vnfcType;
60 @XmlElement(required = true)
61 @JsonProperty("mandatory")
62 protected String mandatory;
63 @XmlElement(required = true)
64 @JsonProperty("resilience")
65 protected String resilience;
67 @XmlElement(required = true)
68 @JsonProperty("parents")
69 protected List<String> parents;
72 * Gets the value of the vnfcType property.
79 public String getVnfcType() {
84 * Sets the value of the vnfcType property.
91 public void setVnfcType(String value) {
92 this.vnfcType = value;
96 * Gets the value of the mandatory property.
103 public String getMandatory() {
108 * Sets the value of the mandatory property.
115 public void setMandatory(String value) {
116 this.mandatory = value;
120 * Gets the value of the resilience property.
127 public String getResilience() {
132 * Sets the value of the resilience property.
139 public void setResilience(String value) {
140 this.resilience = value;
144 * Gets the value of the parents property.
147 * This accessor method returns a reference to the live list,
148 * not a snapshot. Therefore any modification you make to the
149 * returned list will be present inside the JAXB object.
150 * This is why there is not a <CODE>set</CODE> method for the parents property.
153 * For example, to add a new item, do as follows:
155 * getParents().add(newItem);
160 * Objects of the following type(s) are allowed in the list
165 public List<String> getParents() {
166 if (parents == null) {
167 parents = new ArrayList<String>();
173 public String toString() {
174 return "Vnfcs [vnfcType=" + vnfcType + ", mandatory=" + mandatory
175 + ", resilience=" + resilience + ", parents=" + parents + "]";