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=========================================================
22 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
23 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
24 // Any modifications to this file will be lost upon recompilation of the source schema.
25 // Generated on: 2016.01.06 at 05:38:00 PM EST
29 package org.openecomp.aai.domain.notificationEvent;
31 import javax.xml.bind.annotation.XmlAccessType;
32 import javax.xml.bind.annotation.XmlAccessorType;
33 import javax.xml.bind.annotation.XmlAnyElement;
34 import javax.xml.bind.annotation.XmlElement;
35 import javax.xml.bind.annotation.XmlRootElement;
36 import javax.xml.bind.annotation.XmlType;
37 import org.w3c.dom.Element;
41 * <p>Java class for anonymous complex type.
43 * <p>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 = {
89 @XmlRootElement(name = "NotificationEvent")
90 public class NotificationEvent {
92 @XmlElement(name = "cambria.partition")
93 protected String cambriaPartition;
94 @XmlElement(name = "event-header")
95 protected NotificationEvent.EventHeader eventHeader;
96 @XmlAnyElement(lax = true)
97 protected Object entity;
100 * Gets the value of the eventHeader property.
104 * {@link NotificationEvent.EventHeader }
107 public NotificationEvent.EventHeader getEventHeader() {
112 * Sets the value of the eventHeader property.
116 * {@link NotificationEvent.EventHeader }
119 public void setEventHeader(NotificationEvent.EventHeader value) {
120 this.eventHeader = value;
124 * Gets the value of the any property.
132 public Object getEntity() {
137 * Sets the value of the any property.
145 public void setEntity(Object value) {
150 * Gets the value of the cambriaPartition property.
157 public String getCambriaPartition() {
158 return cambriaPartition;
162 * Sets the value of the cambriaPartition property.
169 public void setCambriaPartition(String value) {
170 this.cambriaPartition = value;
175 * <p>Java class for anonymous complex type.
177 * <p>The following schema fragment specifies the expected content contained within this class.
181 * <complexContent>
182 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
184 * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
185 * <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}string"/>
186 * <element name="source-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
187 * <element name="domain" type="{http://www.w3.org/2001/XMLSchema}string"/>
188 * <element name="sequence-number" type="{http://www.w3.org/2001/XMLSchema}string"/>
189 * <element name="severity" type="{http://www.w3.org/2001/XMLSchema}string"/>
190 * <element name="event-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
191 * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
192 * <element name="action" type="{http://www.w3.org/2001/XMLSchema}string"/>
193 * <element name="entity-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
194 * <element name="top-entity-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
195 * <element name="entity-link" type="{http://www.w3.org/2001/XMLSchema}string"/>
196 * <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
199 * </complexContent>
205 @XmlAccessorType(XmlAccessType.FIELD)
206 @XmlType(name = "", propOrder = {
221 public static class EventHeader {
223 @XmlElement(required = true)
225 @XmlElement(required = true)
226 protected String timestamp;
227 @XmlElement(name = "source-name", required = true)
228 protected String sourceName;
229 @XmlElement(required = true)
230 protected String domain;
231 @XmlElement(name = "sequence-number", required = true)
232 protected String sequenceNumber;
233 @XmlElement(required = true)
234 protected String severity;
235 @XmlElement(name = "event-type", required = true)
236 protected String eventType;
237 @XmlElement(required = true)
238 protected String version;
239 @XmlElement(required = true)
240 protected String action;
241 @XmlElement(name = "entity-type", required = true)
242 protected String entityType;
243 @XmlElement(name = "top-entity-type", required = true)
244 protected String topEntityType;
245 @XmlElement(name = "entity-link", required = true)
246 protected String entityLink;
247 @XmlElement(required = true)
248 protected String status;
251 * Gets the value of the id property.
258 public String getId() {
263 * Sets the value of the id property.
270 public void setId(String value) {
275 * Gets the value of the timestamp property.
282 public String getTimestamp() {
287 * Sets the value of the timestamp property.
294 public void setTimestamp(String value) {
295 this.timestamp = value;
299 * Gets the value of the sourceName property.
306 public String getSourceName() {
311 * Sets the value of the sourceName property.
318 public void setSourceName(String value) {
319 this.sourceName = value;
323 * Gets the value of the domain property.
330 public String getDomain() {
335 * Sets the value of the domain property.
342 public void setDomain(String value) {
347 * Gets the value of the sequenceNumber property.
354 public String getSequenceNumber() {
355 return sequenceNumber;
359 * Sets the value of the sequenceNumber property.
366 public void setSequenceNumber(String value) {
367 this.sequenceNumber = value;
371 * Gets the value of the severity property.
378 public String getSeverity() {
383 * Sets the value of the severity property.
390 public void setSeverity(String value) {
391 this.severity = value;
395 * Gets the value of the eventType property.
402 public String getEventType() {
407 * Sets the value of the eventType property.
414 public void setEventType(String value) {
415 this.eventType = value;
419 * Gets the value of the version property.
426 public String getVersion() {
431 * Sets the value of the version property.
438 public void setVersion(String value) {
439 this.version = value;
443 * Gets the value of the action property.
450 public String getAction() {
455 * Sets the value of the action property.
462 public void setAction(String value) {
467 * Gets the value of the entityType property.
474 public String getEntityType() {
479 * Sets the value of the entityType property.
486 public void setEntityType(String value) {
487 this.entityType = value;
491 * Gets the value of the topEntityType property.
498 public String getTopEntityType() {
499 return topEntityType;
503 * Sets the value of the topEntityType property.
510 public void setTopEntityType(String value) {
511 this.topEntityType = value;
515 * Gets the value of the entityLink property.
522 public String getEntityLink() {
527 * Sets the value of the entityLink property.
534 public void setEntityLink(String value) {
535 this.entityLink = value;
539 * Gets the value of the status property.
546 public String getStatus() {
551 * Sets the value of the status property.
558 public void setStatus(String value) {