2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 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=========================================================
20 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
24 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
25 // Any modifications to this file will be lost upon recompilation of the source schema.
26 // Generated on: 2016.01.06 at 05:38:00 PM EST
30 package org.onap.aai.domain.notificationEvent;
32 import javax.xml.bind.annotation.XmlAccessType;
33 import javax.xml.bind.annotation.XmlAccessorType;
34 import javax.xml.bind.annotation.XmlAnyElement;
35 import javax.xml.bind.annotation.XmlElement;
36 import javax.xml.bind.annotation.XmlRootElement;
37 import javax.xml.bind.annotation.XmlType;
38 import org.w3c.dom.Element;
42 * <p>Java class for anonymous complex type.
44 * <p>The following schema fragment specifies the expected content contained within this class.
49 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51 * <element name="cambria.partition" type="{http://www.w3.org/2001/XMLSchema}string"/>
52 * <element name="event-header" minOccurs="0">
55 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
57 * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
58 * <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}string"/>
59 * <element name="source-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
60 * <element name="domain" type="{http://www.w3.org/2001/XMLSchema}string"/>
61 * <element name="sequence-number" type="{http://www.w3.org/2001/XMLSchema}string"/>
62 * <element name="severity" type="{http://www.w3.org/2001/XMLSchema}string"/>
63 * <element name="event-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
64 * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
65 * <element name="action" type="{http://www.w3.org/2001/XMLSchema}string"/>
66 * <element name="entity-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
67 * <element name="top-entity-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
68 * <element name="entity-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
69 * <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
72 * </complexContent>
75 * <any processContents='lax' namespace='##other' minOccurs="0"/>
78 * </complexContent>
84 @XmlAccessorType(XmlAccessType.FIELD)
85 @XmlType(name = "", propOrder = {
90 @XmlRootElement(name = "NotificationEvent")
91 public class NotificationEvent {
93 @XmlElement(name = "cambria.partition")
94 protected String cambriaPartition;
95 @XmlElement(name = "event-header")
96 protected NotificationEvent.EventHeader eventHeader;
97 @XmlAnyElement(lax = true)
98 protected Object entity;
101 * Gets the value of the eventHeader property.
105 * {@link NotificationEvent.EventHeader }
108 public NotificationEvent.EventHeader getEventHeader() {
113 * Sets the value of the eventHeader property.
117 * {@link NotificationEvent.EventHeader }
120 public void setEventHeader(NotificationEvent.EventHeader value) {
121 this.eventHeader = value;
125 * Gets the value of the any property.
133 public Object getEntity() {
138 * Sets the value of the any property.
146 public void setEntity(Object value) {
151 * Gets the value of the cambriaPartition property.
158 public String getCambriaPartition() {
159 return cambriaPartition;
163 * Sets the value of the cambriaPartition property.
170 public void setCambriaPartition(String value) {
171 this.cambriaPartition = value;
176 * <p>Java class for anonymous complex type.
178 * <p>The following schema fragment specifies the expected content contained within this class.
182 * <complexContent>
183 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
185 * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
186 * <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}string"/>
187 * <element name="source-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
188 * <element name="domain" type="{http://www.w3.org/2001/XMLSchema}string"/>
189 * <element name="sequence-number" type="{http://www.w3.org/2001/XMLSchema}string"/>
190 * <element name="severity" type="{http://www.w3.org/2001/XMLSchema}string"/>
191 * <element name="event-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
192 * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
193 * <element name="action" type="{http://www.w3.org/2001/XMLSchema}string"/>
194 * <element name="entity-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
195 * <element name="top-entity-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
196 * <element name="entity-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
197 * <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
200 * </complexContent>
206 @XmlAccessorType(XmlAccessType.FIELD)
207 @XmlType(name = "", propOrder = {
222 public static class EventHeader {
224 @XmlElement(required = true)
226 @XmlElement(required = true)
227 protected String timestamp;
228 @XmlElement(name = "source-name", required = true)
229 protected String sourceName;
230 @XmlElement(required = true)
231 protected String domain;
232 @XmlElement(name = "sequence-number", required = true)
233 protected String sequenceNumber;
234 @XmlElement(required = true)
235 protected String severity;
236 @XmlElement(name = "event-type", required = true)
237 protected String eventType;
238 @XmlElement(required = true)
239 protected String version;
240 @XmlElement(required = true)
241 protected String action;
242 @XmlElement(name = "entity-type", required = true)
243 protected String entityType;
244 @XmlElement(name = "top-entity-type", required = true)
245 protected String topEntityType;
246 @XmlElement(name = "entity-link", required = true)
247 protected String entityLink;
248 @XmlElement(required = true)
249 protected String status;
252 * Gets the value of the id property.
259 public String getId() {
264 * Sets the value of the id property.
271 public void setId(String value) {
276 * Gets the value of the timestamp property.
283 public String getTimestamp() {
288 * Sets the value of the timestamp property.
295 public void setTimestamp(String value) {
296 this.timestamp = value;
300 * Gets the value of the sourceName property.
307 public String getSourceName() {
312 * Sets the value of the sourceName property.
319 public void setSourceName(String value) {
320 this.sourceName = value;
324 * Gets the value of the domain property.
331 public String getDomain() {
336 * Sets the value of the domain property.
343 public void setDomain(String value) {
348 * Gets the value of the sequenceNumber property.
355 public String getSequenceNumber() {
356 return sequenceNumber;
360 * Sets the value of the sequenceNumber property.
367 public void setSequenceNumber(String value) {
368 this.sequenceNumber = value;
372 * Gets the value of the severity property.
379 public String getSeverity() {
384 * Sets the value of the severity property.
391 public void setSeverity(String value) {
392 this.severity = value;
396 * Gets the value of the eventType property.
403 public String getEventType() {
408 * Sets the value of the eventType property.
415 public void setEventType(String value) {
416 this.eventType = value;
420 * Gets the value of the version property.
427 public String getVersion() {
432 * Sets the value of the version property.
439 public void setVersion(String value) {
440 this.version = value;
444 * Gets the value of the action property.
451 public String getAction() {
456 * Sets the value of the action property.
463 public void setAction(String value) {
468 * Gets the value of the entityType property.
475 public String getEntityType() {
480 * Sets the value of the entityType property.
487 public void setEntityType(String value) {
488 this.entityType = value;
492 * Gets the value of the topEntityType property.
499 public String getTopEntityType() {
500 return topEntityType;
504 * Sets the value of the topEntityType property.
511 public void setTopEntityType(String value) {
512 this.topEntityType = value;
516 * Gets the value of the entityLink property.
523 public String getEntityLink() {
528 * Sets the value of the entityLink property.
535 public void setEntityLink(String value) {
536 this.entityLink = value;
540 * Gets the value of the status property.
547 public String getStatus() {
552 * Sets the value of the status property.
559 public void setStatus(String value) {