Update license header in appc-flow-controller file
[appc.git] / appc-config / appc-flow-controller / provider / src / main / java / org / onap / appc / flow / controller / interfaceData / Vnfcs.java
1
2 /*-
3  * ============LICENSE_START=======================================================
4  * ONAP : APPC
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
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
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.
19  *
20  * ============LICENSE_END=========================================================
21  */
22 //
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
27 //
28
29
30 package org.onap.appc.flow.controller.interfaceData;
31
32 import java.util.ArrayList;
33 import java.util.List;
34
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;
41
42 import com.fasterxml.jackson.annotation.JsonProperty;
43 import com.fasterxml.jackson.annotation.JsonRootName;
44
45 @XmlAccessorType(XmlAccessType.FIELD)
46 @XmlType(name = "", propOrder = {
47     "vnfcType",
48     "mandatory",
49     "resilience",
50     "parents"
51 })
52 @XmlRootElement(name = "vnfcs")
53 @JsonRootName(value="vnfcs")
54 public class Vnfcs {
55
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;
65     @XmlList
66     @XmlElement(required = true)
67     @JsonProperty("parents")
68     protected List<String> parents;
69
70     /**
71      * Gets the value of the vnfcType property.
72      *
73      * @return
74      *     possible object is
75      *     {@link String }
76      *
77      */
78     public String getVnfcType() {
79         return vnfcType;
80     }
81
82     /**
83      * Sets the value of the vnfcType property.
84      *
85      * @param value
86      *     allowed object is
87      *     {@link String }
88      *
89      */
90     public void setVnfcType(String value) {
91         this.vnfcType = value;
92     }
93
94     /**
95      * Gets the value of the mandatory property.
96      *
97      * @return
98      *     possible object is
99      *     {@link String }
100      *
101      */
102     public String getMandatory() {
103         return mandatory;
104     }
105
106     /**
107      * Sets the value of the mandatory property.
108      *
109      * @param value
110      *     allowed object is
111      *     {@link String }
112      *
113      */
114     public void setMandatory(String value) {
115         this.mandatory = value;
116     }
117
118     /**
119      * Gets the value of the resilience property.
120      *
121      * @return
122      *     possible object is
123      *     {@link String }
124      *
125      */
126     public String getResilience() {
127         return resilience;
128     }
129
130     /**
131      * Sets the value of the resilience property.
132      *
133      * @param value
134      *     allowed object is
135      *     {@link String }
136      *
137      */
138     public void setResilience(String value) {
139         this.resilience = value;
140     }
141
142     /**
143      * Gets the value of the parents property.
144      *
145      * <p>
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.
150      *
151      * <p>
152      * For example, to add a new item, do as follows:
153      * <pre>
154      *    getParents().add(newItem);
155      * </pre>
156      *
157      *
158      * <p>
159      * Objects of the following type(s) are allowed in the list
160      * {@link String }
161      *
162      *
163      */
164     public List<String> getParents() {
165         if (parents == null) {
166             parents = new ArrayList<String>();
167         }
168         return this.parents;
169     }
170
171     @Override
172     public String toString() {
173         return "Vnfcs [vnfcType=" + vnfcType + ", mandatory=" + mandatory
174                 + ", resilience=" + resilience + ", parents=" + parents + "]";
175     }
176
177 }