2 * ============LICENSE_START====================================================
4 * ===========================================================================
5 * Copyright (c) 2018 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.5-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: 2018.12.09 at 10:14:23 PM IST
29 package org.onap.aaf.misc.env;
31 import java.util.ArrayList;
32 import java.util.List;
33 import javax.xml.bind.annotation.XmlAccessType;
34 import javax.xml.bind.annotation.XmlAccessorType;
35 import javax.xml.bind.annotation.XmlElement;
36 import javax.xml.bind.annotation.XmlRootElement;
37 import javax.xml.bind.annotation.XmlType;
41 * <p>Java class for anonymous complex type.
43 * <p>The following schema fragment specifies the expected content contained within this class.
48 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
50 * <element name="route" maxOccurs="unbounded" minOccurs="0">
53 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
55 * <element name="meth" type="{http://www.w3.org/2001/XMLSchema}string"/>
56 * <element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
57 * <element name="param" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
58 * <element name="desc" type="{http://www.w3.org/2001/XMLSchema}string"/>
59 * <element name="comments" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
60 * <element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
61 * <element name="expected" type="{http://www.w3.org/2001/XMLSchema}int"/>
62 * <element name="explicitErr" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
65 * </complexContent>
70 * </complexContent>
76 @XmlAccessorType(XmlAccessType.FIELD)
77 @XmlType(name = "", propOrder = {
80 @XmlRootElement(name = "api")
83 protected List<Api.Route> route;
86 * Gets the value of the route property.
89 * This accessor method returns a reference to the live list,
90 * not a snapshot. Therefore any modification you make to the
91 * returned list will be present inside the JAXB object.
92 * This is why there is not a <CODE>set</CODE> method for the route property.
95 * For example, to add a new item, do as follows:
97 * getRoute().add(newItem);
102 * Objects of the following type(s) are allowed in the list
107 public List<Api.Route> getRoute() {
109 route = new ArrayList<Api.Route>();
116 * <p>Java class for anonymous complex type.
118 * <p>The following schema fragment specifies the expected content contained within this class.
122 * <complexContent>
123 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
125 * <element name="meth" type="{http://www.w3.org/2001/XMLSchema}string"/>
126 * <element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
127 * <element name="param" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
128 * <element name="desc" type="{http://www.w3.org/2001/XMLSchema}string"/>
129 * <element name="comments" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
130 * <element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
131 * <element name="expected" type="{http://www.w3.org/2001/XMLSchema}int"/>
132 * <element name="explicitErr" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
135 * </complexContent>
141 @XmlAccessorType(XmlAccessType.FIELD)
142 @XmlType(name = "", propOrder = {
152 public static class Route {
154 @XmlElement(required = true)
155 protected String meth;
156 @XmlElement(required = true)
157 protected String path;
158 protected List<String> param;
159 @XmlElement(required = true)
160 protected String desc;
161 protected List<String> comments;
162 protected List<String> contentType;
163 protected int expected;
164 @XmlElement(type = Integer.class)
165 protected List<Integer> explicitErr;
168 * Gets the value of the meth property.
175 public String getMeth() {
180 * Sets the value of the meth property.
187 public void setMeth(String value) {
192 * Gets the value of the path property.
199 public String getPath() {
204 * Sets the value of the path property.
211 public void setPath(String value) {
216 * Gets the value of the param property.
219 * This accessor method returns a reference to the live list,
220 * not a snapshot. Therefore any modification you make to the
221 * returned list will be present inside the JAXB object.
222 * This is why there is not a <CODE>set</CODE> method for the param property.
225 * For example, to add a new item, do as follows:
227 * getParam().add(newItem);
232 * Objects of the following type(s) are allowed in the list
237 public List<String> getParam() {
239 param = new ArrayList<String>();
245 * Gets the value of the desc property.
252 public String getDesc() {
257 * Sets the value of the desc property.
264 public void setDesc(String value) {
269 * Gets the value of the comments property.
272 * This accessor method returns a reference to the live list,
273 * not a snapshot. Therefore any modification you make to the
274 * returned list will be present inside the JAXB object.
275 * This is why there is not a <CODE>set</CODE> method for the comments property.
278 * For example, to add a new item, do as follows:
280 * getComments().add(newItem);
285 * Objects of the following type(s) are allowed in the list
290 public List<String> getComments() {
291 if (comments == null) {
292 comments = new ArrayList<String>();
294 return this.comments;
298 * Gets the value of the contentType property.
301 * This accessor method returns a reference to the live list,
302 * not a snapshot. Therefore any modification you make to the
303 * returned list will be present inside the JAXB object.
304 * This is why there is not a <CODE>set</CODE> method for the contentType property.
307 * For example, to add a new item, do as follows:
309 * getContentType().add(newItem);
314 * Objects of the following type(s) are allowed in the list
319 public List<String> getContentType() {
320 if (contentType == null) {
321 contentType = new ArrayList<String>();
323 return this.contentType;
327 * Gets the value of the expected property.
330 public int getExpected() {
335 * Sets the value of the expected property.
338 public void setExpected(int value) {
339 this.expected = value;
343 * Gets the value of the explicitErr property.
346 * This accessor method returns a reference to the live list,
347 * not a snapshot. Therefore any modification you make to the
348 * returned list will be present inside the JAXB object.
349 * This is why there is not a <CODE>set</CODE> method for the explicitErr property.
352 * For example, to add a new item, do as follows:
354 * getExplicitErr().add(newItem);
359 * Objects of the following type(s) are allowed in the list
364 public List<Integer> getExplicitErr() {
365 if (explicitErr == null) {
366 explicitErr = new ArrayList<Integer>();
368 return this.explicitErr;