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=========================================================
21 package org.onap.so.adapters.vnf.async.client;
23 import java.util.ArrayList;
24 import java.util.List;
26 import javax.xml.bind.annotation.XmlAccessType;
27 import javax.xml.bind.annotation.XmlAccessorType;
28 import javax.xml.bind.annotation.XmlElement;
29 import javax.xml.bind.annotation.XmlType;
33 * <p>Java class for queryVnfNotification complex type.
35 * <p>The following schema fragment specifies the expected content contained within this class.
38 * <complexType name="queryVnfNotification">
40 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
42 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
43 * <element name="completed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
44 * <element name="exception" type="{http://org.onap.so/vnfNotify}msoExceptionCategory" minOccurs="0"/>
45 * <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
46 * <element name="vnfExists" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
47 * <element name="vnfId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
48 * <element name="status" type="{http://org.onap.so/vnfNotify}vnfStatus" minOccurs="0"/>
49 * <element name="outputs" minOccurs="0">
52 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
54 * <element name="entry" maxOccurs="unbounded" minOccurs="0">
57 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
59 * <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
60 * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
63 * </complexContent>
68 * </complexContent>
73 * </complexContent>
79 @XmlAccessorType(XmlAccessType.FIELD)
80 @XmlType(name = "queryVnfNotification", propOrder = {
90 public class QueryVnfNotification {
92 @XmlElement(required = true)
93 protected String messageId;
94 protected boolean completed;
95 protected MsoExceptionCategory exception;
96 protected String errorMessage;
97 protected Boolean vnfExists;
98 protected String vnfId;
99 protected VnfStatus status;
100 protected QueryVnfNotification.Outputs outputs;
103 * Gets the value of the messageId property.
110 public String getMessageId() {
115 * Sets the value of the messageId property.
122 public void setMessageId(String value) {
123 this.messageId = value;
127 * Gets the value of the completed property.
130 public boolean isCompleted() {
135 * Sets the value of the completed property.
138 public void setCompleted(boolean value) {
139 this.completed = value;
143 * Gets the value of the exception property.
147 * {@link MsoExceptionCategory }
150 public MsoExceptionCategory getException() {
155 * Sets the value of the exception property.
159 * {@link MsoExceptionCategory }
162 public void setException(MsoExceptionCategory value) {
163 this.exception = value;
167 * Gets the value of the errorMessage property.
174 public String getErrorMessage() {
179 * Sets the value of the errorMessage property.
186 public void setErrorMessage(String value) {
187 this.errorMessage = value;
191 * Gets the value of the vnfExists property.
198 public Boolean isVnfExists() {
203 * Sets the value of the vnfExists property.
210 public void setVnfExists(Boolean value) {
211 this.vnfExists = value;
215 * Gets the value of the vnfId property.
222 public String getVnfId() {
227 * Sets the value of the vnfId property.
234 public void setVnfId(String value) {
239 * Gets the value of the status property.
246 public VnfStatus getStatus() {
251 * Sets the value of the status property.
258 public void setStatus(VnfStatus value) {
263 * Gets the value of the outputs property.
267 * {@link QueryVnfNotification.Outputs }
270 public QueryVnfNotification.Outputs getOutputs() {
275 * Sets the value of the outputs property.
279 * {@link QueryVnfNotification.Outputs }
282 public void setOutputs(QueryVnfNotification.Outputs value) {
283 this.outputs = value;
288 * <p>Java class for anonymous complex type.
290 * <p>The following schema fragment specifies the expected content contained within this class.
294 * <complexContent>
295 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
297 * <element name="entry" maxOccurs="unbounded" minOccurs="0">
299 * <complexContent>
300 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
302 * <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
303 * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
306 * </complexContent>
311 * </complexContent>
317 @XmlAccessorType(XmlAccessType.FIELD)
318 @XmlType(name = "", propOrder = {
321 public static class Outputs {
323 protected List<QueryVnfNotification.Outputs.Entry> entry;
326 * Gets the value of the entry property.
329 * This accessor method returns a reference to the live list,
330 * not a snapshot. Therefore any modification you make to the
331 * returned list will be present inside the JAXB object.
332 * This is why there is not a <CODE>set</CODE> method for the entry property.
335 * For example, to add a new item, do as follows:
337 * getEntry().add(newItem);
342 * Objects of the following type(s) are allowed in the list
343 * {@link QueryVnfNotification.Outputs.Entry }
347 public List<QueryVnfNotification.Outputs.Entry> getEntry() {
349 entry = new ArrayList<QueryVnfNotification.Outputs.Entry>();
356 * <p>Java class for anonymous complex type.
358 * <p>The following schema fragment specifies the expected content contained within this class.
362 * <complexContent>
363 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
365 * <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
366 * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
369 * </complexContent>
375 @XmlAccessorType(XmlAccessType.FIELD)
376 @XmlType(name = "", propOrder = {
380 public static class Entry {
382 protected String key;
383 protected String value;
386 * Gets the value of the key property.
393 public String getKey() {
398 * Sets the value of the key property.
405 public void setKey(String value) {
410 * Gets the value of the value property.
417 public String getValue() {
422 * Sets the value of the value property.
429 public void setValue(String value) {