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
27 package org.onap.aai.domain.notificationEvent;
29 import javax.xml.bind.annotation.XmlAccessType;
30 import javax.xml.bind.annotation.XmlAccessorType;
31 import javax.xml.bind.annotation.XmlAnyElement;
32 import javax.xml.bind.annotation.XmlElement;
33 import javax.xml.bind.annotation.XmlRootElement;
34 import javax.xml.bind.annotation.XmlType;
36 import org.w3c.dom.Element;
40 * Java class for anonymous complex type.
43 * 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="cambria.partition" type="{http://www.w3.org/2001/XMLSchema}string"/>
51 * <element name="event-header" minOccurs="0">
54 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
56 * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
57 * <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}string"/>
58 * <element name="source-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
59 * <element name="domain" type="{http://www.w3.org/2001/XMLSchema}string"/>
60 * <element name="sequence-number" type="{http://www.w3.org/2001/XMLSchema}string"/>
61 * <element name="severity" type="{http://www.w3.org/2001/XMLSchema}string"/>
62 * <element name="event-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
63 * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
64 * <element name="action" type="{http://www.w3.org/2001/XMLSchema}string"/>
65 * <element name="entity-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
66 * <element name="top-entity-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
67 * <element name="entity-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
68 * <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
71 * </complexContent>
74 * <any processContents='lax' namespace='##other' minOccurs="0"/>
77 * </complexContent>
83 @XmlAccessorType(XmlAccessType.FIELD)
84 @XmlType(name = "", propOrder = {"cambriaPartition", "eventHeader", "entity"})
85 @XmlRootElement(name = "NotificationEvent")
86 public class NotificationEvent {
88 @XmlElement(name = "cambria.partition")
89 protected String cambriaPartition;
90 @XmlElement(name = "event-header")
91 protected EventHeader eventHeader;
92 @XmlAnyElement(lax = true)
93 protected Object entity;
96 * Gets the value of the eventHeader property.
100 * {@link EventHeader }
103 public EventHeader getEventHeader() {
108 * Sets the value of the eventHeader property.
112 * {@link EventHeader }
115 public void setEventHeader(EventHeader value) {
116 this.eventHeader = value;
120 * Gets the value of the any property.
128 public Object getEntity() {
133 * Sets the value of the any property.
141 public void setEntity(Object value) {
146 * Gets the value of the cambriaPartition property.
153 public String getCambriaPartition() {
154 return cambriaPartition;
158 * Sets the value of the cambriaPartition property.
165 public void setCambriaPartition(String value) {
166 this.cambriaPartition = value;
171 * Java class for anonymous complex type.
174 * The following schema fragment specifies the expected content contained within this class.
178 * <complexContent>
179 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
181 * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
182 * <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}string"/>
183 * <element name="source-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
184 * <element name="domain" type="{http://www.w3.org/2001/XMLSchema}string"/>
185 * <element name="sequence-number" type="{http://www.w3.org/2001/XMLSchema}string"/>
186 * <element name="severity" type="{http://www.w3.org/2001/XMLSchema}string"/>
187 * <element name="event-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
188 * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
189 * <element name="action" type="{http://www.w3.org/2001/XMLSchema}string"/>
190 * <element name="entity-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
191 * <element name="top-entity-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
192 * <element name="entity-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
193 * <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
196 * </complexContent>
202 @XmlAccessorType(XmlAccessType.FIELD)
205 propOrder = {"id", "timestamp", "sourceName", "domain", "sequenceNumber", "severity", "eventType",
206 "version", "action", "entityType", "topEntityType", "entityLink", "status"})
207 public static class EventHeader {
209 @XmlElement(required = true)
211 @XmlElement(required = true)
212 protected String timestamp;
213 @XmlElement(name = "source-name", required = true)
214 protected String sourceName;
215 @XmlElement(required = true)
216 protected String domain;
217 @XmlElement(name = "sequence-number", required = true)
218 protected String sequenceNumber;
219 @XmlElement(required = true)
220 protected String severity;
221 @XmlElement(name = "event-type", required = true)
222 protected String eventType;
223 @XmlElement(required = true)
224 protected String version;
225 @XmlElement(required = true)
226 protected String action;
227 @XmlElement(name = "entity-type", required = true)
228 protected String entityType;
229 @XmlElement(name = "top-entity-type", required = true)
230 protected String topEntityType;
231 @XmlElement(name = "entity-link", required = true)
232 protected String entityLink;
233 @XmlElement(required = true)
234 protected String status;
237 * Gets the value of the id property.
244 public String getId() {
249 * Sets the value of the id property.
256 public void setId(String value) {
261 * Gets the value of the timestamp property.
268 public String getTimestamp() {
273 * Sets the value of the timestamp property.
280 public void setTimestamp(String value) {
281 this.timestamp = value;
285 * Gets the value of the sourceName property.
292 public String getSourceName() {
297 * Sets the value of the sourceName property.
304 public void setSourceName(String value) {
305 this.sourceName = value;
309 * Gets the value of the domain property.
316 public String getDomain() {
321 * Sets the value of the domain property.
328 public void setDomain(String value) {
333 * Gets the value of the sequenceNumber property.
340 public String getSequenceNumber() {
341 return sequenceNumber;
345 * Sets the value of the sequenceNumber property.
352 public void setSequenceNumber(String value) {
353 this.sequenceNumber = value;
357 * Gets the value of the severity property.
364 public String getSeverity() {
369 * Sets the value of the severity property.
376 public void setSeverity(String value) {
377 this.severity = value;
381 * Gets the value of the eventType property.
388 public String getEventType() {
393 * Sets the value of the eventType property.
400 public void setEventType(String value) {
401 this.eventType = value;
405 * Gets the value of the version property.
412 public String getVersion() {
417 * Sets the value of the version property.
424 public void setVersion(String value) {
425 this.version = value;
429 * Gets the value of the action property.
436 public String getAction() {
441 * Sets the value of the action property.
448 public void setAction(String value) {
453 * Gets the value of the entityType property.
460 public String getEntityType() {
465 * Sets the value of the entityType property.
472 public void setEntityType(String value) {
473 this.entityType = value;
477 * Gets the value of the topEntityType property.
484 public String getTopEntityType() {
485 return topEntityType;
489 * Sets the value of the topEntityType property.
496 public void setTopEntityType(String value) {
497 this.topEntityType = value;
501 * Gets the value of the entityLink property.
508 public String getEntityLink() {
513 * Sets the value of the entityLink property.
520 public void setEntityLink(String value) {
521 this.entityLink = value;
525 * Gets the value of the status property.
532 public String getStatus() {
537 * Sets the value of the status property.
544 public void setStatus(String value) {