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.network.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 updateNetworkNotification complex type.
35 * <p>The following schema fragment specifies the expected content contained within this class.
38 * <complexType name="updateNetworkNotification">
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/networkNotify}msoExceptionCategory" minOccurs="0"/>
45 * <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
46 * <element name="subnetIdMap" minOccurs="0">
49 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51 * <element name="entry" maxOccurs="unbounded" minOccurs="0">
54 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
56 * <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
57 * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
60 * </complexContent>
65 * </complexContent>
68 * <element name="rollback" type="{http://org.onap.so/networkNotify}networkRollback" minOccurs="0"/>
71 * </complexContent>
77 @XmlAccessorType(XmlAccessType.FIELD)
78 @XmlType(name = "updateNetworkNotification", propOrder = {
86 public class UpdateNetworkNotification {
88 @XmlElement(required = true)
89 protected String messageId;
90 protected boolean completed;
91 protected MsoExceptionCategory exception;
92 protected String errorMessage;
93 protected UpdateNetworkNotification.SubnetIdMap subnetIdMap;
94 protected NetworkRollback rollback;
97 * Gets the value of the messageId property.
104 public String getMessageId() {
109 * Sets the value of the messageId property.
116 public void setMessageId(String value) {
117 this.messageId = value;
121 * Gets the value of the completed property.
124 public boolean isCompleted() {
129 * Sets the value of the completed property.
132 public void setCompleted(boolean value) {
133 this.completed = value;
137 * Gets the value of the exception property.
141 * {@link MsoExceptionCategory }
144 public MsoExceptionCategory getException() {
149 * Sets the value of the exception property.
153 * {@link MsoExceptionCategory }
156 public void setException(MsoExceptionCategory value) {
157 this.exception = value;
161 * Gets the value of the errorMessage property.
168 public String getErrorMessage() {
173 * Sets the value of the errorMessage property.
180 public void setErrorMessage(String value) {
181 this.errorMessage = value;
185 * Gets the value of the subnetIdMap property.
189 * {@link UpdateNetworkNotification.SubnetIdMap }
192 public UpdateNetworkNotification.SubnetIdMap getSubnetIdMap() {
197 * Sets the value of the subnetIdMap property.
201 * {@link UpdateNetworkNotification.SubnetIdMap }
204 public void setSubnetIdMap(UpdateNetworkNotification.SubnetIdMap value) {
205 this.subnetIdMap = value;
209 * Gets the value of the rollback property.
213 * {@link NetworkRollback }
216 public NetworkRollback getRollback() {
221 * Sets the value of the rollback property.
225 * {@link NetworkRollback }
228 public void setRollback(NetworkRollback value) {
229 this.rollback = value;
234 * <p>Java class for anonymous complex type.
236 * <p>The following schema fragment specifies the expected content contained within this class.
240 * <complexContent>
241 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
243 * <element name="entry" maxOccurs="unbounded" minOccurs="0">
245 * <complexContent>
246 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
248 * <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
249 * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
252 * </complexContent>
257 * </complexContent>
263 @XmlAccessorType(XmlAccessType.FIELD)
264 @XmlType(name = "", propOrder = {
267 public static class SubnetIdMap {
269 protected List<UpdateNetworkNotification.SubnetIdMap.Entry> entry;
272 * Gets the value of the entry property.
275 * This accessor method returns a reference to the live list,
276 * not a snapshot. Therefore any modification you make to the
277 * returned list will be present inside the JAXB object.
278 * This is why there is not a <CODE>set</CODE> method for the entry property.
281 * For example, to add a new item, do as follows:
283 * getEntry().add(newItem);
288 * Objects of the following type(s) are allowed in the list
289 * {@link UpdateNetworkNotification.SubnetIdMap.Entry }
293 public List<UpdateNetworkNotification.SubnetIdMap.Entry> getEntry() {
295 entry = new ArrayList<UpdateNetworkNotification.SubnetIdMap.Entry>();
302 * <p>Java class for anonymous complex type.
304 * <p>The following schema fragment specifies the expected content contained within this class.
308 * <complexContent>
309 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
311 * <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
312 * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
315 * </complexContent>
321 @XmlAccessorType(XmlAccessType.FIELD)
322 @XmlType(name = "", propOrder = {
326 public static class Entry {
328 protected String key;
329 protected String value;
332 * Gets the value of the key property.
339 public String getKey() {
344 * Sets the value of the key property.
351 public void setKey(String value) {
356 * Gets the value of the value property.
363 public String getValue() {
368 * Sets the value of the value property.
375 public void setValue(String value) {