6728c69172e01b8b62f9b27e575c10a35ea5129b
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / apihandlerinfra / vnfbeans / VnfTypes.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 //
22 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
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: 2015.09.03 at 02:02:13 PM EDT 
26 //
27
28
29 package org.onap.so.apihandlerinfra.vnfbeans;
30
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.XmlRootElement;
39 import javax.xml.bind.annotation.XmlType;
40
41
42 /**
43  * <p>Java class for anonymous complex type.
44  * 
45  * <p>The following schema fragment specifies the expected content contained within this class.
46  * 
47  * <pre>
48  * &lt;complexType>
49  *   &lt;complexContent>
50  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51  *       &lt;sequence>
52  *         &lt;element ref="{http://org.onap/so/infra/vnf-request/v1}vnf-type" maxOccurs="unbounded" minOccurs="0"/>
53  *       &lt;/sequence>
54  *     &lt;/restriction>
55  *   &lt;/complexContent>
56  * &lt;/complexType>
57  * </pre>
58  * 
59  * 
60  */
61 @XmlAccessorType(XmlAccessType.FIELD)
62 @XmlType(name = "", propOrder = {
63     "vnfType"
64 })
65 @XmlRootElement(name = "vnf-types")
66 public class VnfTypes {
67
68     @XmlElement(name = "vnf-type")
69     protected List<VnfType> vnfType;
70
71     /**
72      * Gets the value of the vnfType property.
73      * 
74      * <p>
75      * This accessor method returns a reference to the live list,
76      * not a snapshot. Therefore any modification you make to the
77      * returned list will be present inside the JAXB object.
78      * This is why there is not a <CODE>set</CODE> method for the vnfType property.
79      * 
80      * <p>
81      * For example, to add a new item, do as follows:
82      * <pre>
83      *    getVnfType().add(newItem);
84      * </pre>
85      * 
86      * 
87      * <p>
88      * Objects of the following type(s) are allowed in the list
89      * {@link VnfType }
90      * 
91      * 
92      */
93     public List<VnfType> getVnfType() {
94         if (vnfType == null) {
95             vnfType = new ArrayList<>();
96         }
97         return this.vnfType;
98     }
99     
100     public void setVnfType( List<VnfType> vnfType) {
101         this.vnfType=vnfType;
102     }
103
104 }