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.onap.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;
42 import com.fasterxml.jackson.annotation.JsonRootName;
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "", propOrder = {
51 @XmlRootElement(name = "vnfcs")
52 @JsonRootName(value="vnfcs")
55 @XmlElement(name = "vnfc-type", required = true)
56 @JsonProperty("vnfc-type")
57 protected String vnfcType;
58 @XmlElement(required = true)
59 @JsonProperty("mandatory")
60 protected String mandatory;
61 @XmlElement(required = true)
62 @JsonProperty("resilience")
63 protected String resilience;
65 @XmlElement(required = true)
66 @JsonProperty("parents")
67 protected List<String> parents;
70 * Gets the value of the vnfcType property.
77 public String getVnfcType() {
82 * Sets the value of the vnfcType property.
89 public void setVnfcType(String value) {
90 this.vnfcType = value;
94 * Gets the value of the mandatory property.
101 public String getMandatory() {
106 * Sets the value of the mandatory property.
113 public void setMandatory(String value) {
114 this.mandatory = value;
118 * Gets the value of the resilience property.
125 public String getResilience() {
130 * Sets the value of the resilience property.
137 public void setResilience(String value) {
138 this.resilience = value;
142 * Gets the value of the parents property.
145 * This accessor method returns a reference to the live list,
146 * not a snapshot. Therefore any modification you make to the
147 * returned list will be present inside the JAXB object.
148 * This is why there is not a <CODE>set</CODE> method for the parents property.
151 * For example, to add a new item, do as follows:
153 * getParents().add(newItem);
158 * Objects of the following type(s) are allowed in the list
163 public List<String> getParents() {
164 if (parents == null) {
165 parents = new ArrayList<String>();
171 public String toString() {
172 return "Vnfcs [vnfcType=" + vnfcType + ", mandatory=" + mandatory
173 + ", resilience=" + resilience + ", parents=" + parents + "]";