2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 2017-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=========================================================
21 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
22 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
23 // Any modifications to this file will be lost upon recompilation of the source schema.
24 // Generated on: 2016.01.06 at 05:38:00 PM EST
28 package org.onap.aai.domain.notificationEvent;
30 import javax.xml.bind.annotation.XmlAccessType;
31 import javax.xml.bind.annotation.XmlAccessorType;
32 import javax.xml.bind.annotation.XmlAnyElement;
33 import javax.xml.bind.annotation.XmlElement;
34 import javax.xml.bind.annotation.XmlRootElement;
35 import javax.xml.bind.annotation.XmlType;
36 import org.w3c.dom.Element;
40 * <p>Java class for anonymous complex type.
42 * <p>The following schema fragment specifies the expected content contained within this class.
47 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
49 * <element name="cambria.partition" type="{http://www.w3.org/2001/XMLSchema}string"/>
50 * <element name="event-header" minOccurs="0">
53 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
55 * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
56 * <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}string"/>
57 * <element name="source-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
58 * <element name="domain" type="{http://www.w3.org/2001/XMLSchema}string"/>
59 * <element name="sequence-number" type="{http://www.w3.org/2001/XMLSchema}string"/>
60 * <element name="severity" type="{http://www.w3.org/2001/XMLSchema}string"/>
61 * <element name="event-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
62 * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
63 * <element name="action" type="{http://www.w3.org/2001/XMLSchema}string"/>
64 * <element name="entity-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
65 * <element name="top-entity-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
66 * <element name="entity-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
67 * <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
70 * </complexContent>
73 * <any processContents='lax' namespace='##other' minOccurs="0"/>
76 * </complexContent>
82 @XmlAccessorType(XmlAccessType.FIELD)
83 @XmlType(name = "", propOrder = {
88 @XmlRootElement(name = "NotificationEvent")
89 public class NotificationEvent {
91 @XmlElement(name = "cambria.partition")
92 protected String cambriaPartition;
93 @XmlElement(name = "event-header")
94 protected EventHeader eventHeader;
95 @XmlAnyElement(lax = true)
96 protected Object entity;
99 * Gets the value of the eventHeader property.
103 * {@link EventHeader }
106 public EventHeader getEventHeader() {
111 * Sets the value of the eventHeader property.
115 * {@link EventHeader }
118 public void setEventHeader(EventHeader value) {
119 this.eventHeader = value;
123 * Gets the value of the any property.
131 public Object getEntity() {
136 * Sets the value of the any property.
144 public void setEntity(Object value) {
149 * Gets the value of the cambriaPartition property.
156 public String getCambriaPartition() {
157 return cambriaPartition;
161 * Sets the value of the cambriaPartition property.
168 public void setCambriaPartition(String value) {
169 this.cambriaPartition = value;
174 * <p>Java class for anonymous complex type.
176 * <p>The following schema fragment specifies the expected content contained within this class.
180 * <complexContent>
181 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
183 * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
184 * <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}string"/>
185 * <element name="source-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
186 * <element name="domain" type="{http://www.w3.org/2001/XMLSchema}string"/>
187 * <element name="sequence-number" type="{http://www.w3.org/2001/XMLSchema}string"/>
188 * <element name="severity" type="{http://www.w3.org/2001/XMLSchema}string"/>
189 * <element name="event-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
190 * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
191 * <element name="action" type="{http://www.w3.org/2001/XMLSchema}string"/>
192 * <element name="entity-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
193 * <element name="top-entity-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
194 * <element name="entity-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
195 * <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
198 * </complexContent>
204 @XmlAccessorType(XmlAccessType.FIELD)
205 @XmlType(name = "", propOrder = {
220 public static class EventHeader {
222 @XmlElement(required = true)
224 @XmlElement(required = true)
225 protected String timestamp;
226 @XmlElement(name = "source-name", required = true)
227 protected String sourceName;
228 @XmlElement(required = true)
229 protected String domain;
230 @XmlElement(name = "sequence-number", required = true)
231 protected String sequenceNumber;
232 @XmlElement(required = true)
233 protected String severity;
234 @XmlElement(name = "event-type", required = true)
235 protected String eventType;
236 @XmlElement(required = true)
237 protected String version;
238 @XmlElement(required = true)
239 protected String action;
240 @XmlElement(name = "entity-type", required = true)
241 protected String entityType;
242 @XmlElement(name = "top-entity-type", required = true)
243 protected String topEntityType;
244 @XmlElement(name = "entity-link", required = true)
245 protected String entityLink;
246 @XmlElement(required = true)
247 protected String status;
250 * Gets the value of the id property.
257 public String getId() {
262 * Sets the value of the id property.
269 public void setId(String value) {
274 * Gets the value of the timestamp property.
281 public String getTimestamp() {
286 * Sets the value of the timestamp property.
293 public void setTimestamp(String value) {
294 this.timestamp = value;
298 * Gets the value of the sourceName property.
305 public String getSourceName() {
310 * Sets the value of the sourceName property.
317 public void setSourceName(String value) {
318 this.sourceName = value;
322 * Gets the value of the domain property.
329 public String getDomain() {
334 * Sets the value of the domain property.
341 public void setDomain(String value) {
346 * Gets the value of the sequenceNumber property.
353 public String getSequenceNumber() {
354 return sequenceNumber;
358 * Sets the value of the sequenceNumber property.
365 public void setSequenceNumber(String value) {
366 this.sequenceNumber = value;
370 * Gets the value of the severity property.
377 public String getSeverity() {
382 * Sets the value of the severity property.
389 public void setSeverity(String value) {
390 this.severity = value;
394 * Gets the value of the eventType property.
401 public String getEventType() {
406 * Sets the value of the eventType property.
413 public void setEventType(String value) {
414 this.eventType = value;
418 * Gets the value of the version property.
425 public String getVersion() {
430 * Sets the value of the version property.
437 public void setVersion(String value) {
438 this.version = value;
442 * Gets the value of the action property.
449 public String getAction() {
454 * Sets the value of the action property.
461 public void setAction(String value) {
466 * Gets the value of the entityType property.
473 public String getEntityType() {
478 * Sets the value of the entityType property.
485 public void setEntityType(String value) {
486 this.entityType = value;
490 * Gets the value of the topEntityType property.
497 public String getTopEntityType() {
498 return topEntityType;
502 * Sets the value of the topEntityType property.
509 public void setTopEntityType(String value) {
510 this.topEntityType = value;
514 * Gets the value of the entityLink property.
521 public String getEntityLink() {
526 * Sets the value of the entityLink property.
533 public void setEntityLink(String value) {
534 this.entityLink = value;
538 * Gets the value of the status property.
545 public String getStatus() {
550 * Sets the value of the status property.
557 public void setStatus(String value) {