2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6 * Copyright © 2017-2018 Amdocs
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
21 package org.onap.aai.datarouter.entity;
23 import org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext;
24 import org.json.JSONObject;
26 public class SpikeEventMeta {
28 private JSONObject eventEntity;
29 private JSONObject eventHeader;
30 private JSONObject eventBody;
31 private JSONObject spikeVertex;
32 private JSONObject vertexProperties;
33 private SpikeEventVertex spikeEventVertex;
34 private DynamicJAXBContext oxmJaxbContext;
35 private String bodyOperationType;
37 public JSONObject getEventEntity() {
41 public void setEventEntity(JSONObject eventEntity) {
42 this.eventEntity = eventEntity;
45 public JSONObject getEventHeader() {
49 public void setEventHeader(JSONObject eventHeader) {
50 this.eventHeader = eventHeader;
53 public JSONObject getEventBody() {
57 public void setEventBody(JSONObject eventBody) {
58 this.eventBody = eventBody;
61 public JSONObject getSpikeVertex() {
65 public void setSpikeVertex(JSONObject spikeVertex) {
66 this.spikeVertex = spikeVertex;
69 public JSONObject getVertexProperties() {
70 return vertexProperties;
73 public void setVertexProperties(JSONObject vertexProperties) {
74 this.vertexProperties = vertexProperties;
77 public SpikeEventVertex getSpikeEventVertex() {
78 return spikeEventVertex;
81 public void setSpikeEventVertex(SpikeEventVertex spikeEventVertex) {
82 this.spikeEventVertex = spikeEventVertex;
85 public DynamicJAXBContext getOxmJaxbContext() {
86 return oxmJaxbContext;
89 public void setOxmJaxbContext(DynamicJAXBContext oxmJaxbContext) {
90 this.oxmJaxbContext = oxmJaxbContext;
93 public String getBodyOperationType() {
94 return bodyOperationType;
97 public void setBodyOperationType(String bodyOperationType) {
98 this.bodyOperationType = bodyOperationType;