2 * ============LICENSE_START=======================================================
3 * ONAP : ccsdk features
4 * ================================================================================
5 * Copyright (C) 2020 highstreet technologies GmbH Intellectual Property.
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=========================================================
22 package org.onap.ccsdk.features.sdnr.wt.devicemanager.types;
24 import com.fasterxml.jackson.annotation.JsonIgnore;
25 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
27 @JsonPropertyOrder({"domain", "eventId", "eventName", "eventType", "lastEpochMicrosec", "nfcNamingCode", "nfNamingCode",
28 "nfVendorName", "priority", "reportingEntityId", "reportingEntityName", "sequence", "sourceId", "sourceName",
29 "startEpochMicrosec", "timeZoneOffset", "version", "vesEventListenerVersion"})
31 public class VESCommonEventHeaderPOJO {
33 private String domain = "";
34 private String eventId = "";
35 private String eventName = "";
36 private String eventType = "";
37 private long sequence = 0L;
38 private String priority = "";
40 private String reportingEntityId = "";
41 private String reportingEntityName = "";
42 private String sourceId = "";
43 private String sourceName = "";
44 private long startEpochMicrosec = 0L;
45 private long lastEpochMicrosec = 0L;
46 private String nfcNamingCode = "";
47 private String nfNamingCode = "";
48 private String nfVendorName = "";
49 private String timeZoneOffset = "+00:00";
50 private String version = "4.1";
51 private String vesEventListenerVersion = "7.2.1";
53 public String getDomain() {
57 public void setDomain(String domain) {
61 public String getEventId() {
65 public void setEventId(String eventId) {
66 this.eventId = eventId;
69 public String getEventName() {
73 public void setEventName(String eventName) {
74 this.eventName = eventName;
77 public String getEventType() {
81 public void setEventType(String eventType) {
82 this.eventType = eventType;
85 public Long getSequence() {
89 public void setSequence(long sequenceNo) {
90 this.sequence = sequenceNo;
93 public String getPriority() {
97 public void setPriority(String priority) {
98 this.priority = priority;
101 public String getReportingEntityId() {
102 return reportingEntityId;
105 public void setReportingEntityId(String reportingEntityId) {
106 this.reportingEntityId = reportingEntityId;
109 public String getReportingEntityName() {
110 return reportingEntityName;
113 public void setReportingEntityName(String reportingEntityName) {
114 this.reportingEntityName = reportingEntityName;
117 public String getSourceId() {
121 public void setSourceId(String sourceId) {
122 this.sourceId = sourceId;
125 public String getSourceName() {
129 public void setSourceName(String sourceName) {
130 this.sourceName = sourceName;
133 public long getStartEpochMicrosec() {
134 return startEpochMicrosec;
137 public void setStartEpochMicrosec(long startEpochMicrosec) {
138 this.startEpochMicrosec = startEpochMicrosec;
141 public long getLastEpochMicrosec() {
142 return lastEpochMicrosec;
145 public void setLastEpochMicrosec(long lastEpochMicrosec) {
146 this.lastEpochMicrosec = lastEpochMicrosec;
149 public String getNfcNamingCode() {
150 return nfcNamingCode;
153 public void setNfcNamingCode(String nfcNamingCode) {
154 this.nfcNamingCode = nfcNamingCode;
157 public String getNfNamingCode() {
161 public void setNfNamingCode(String nfNamingCode) {
162 this.nfNamingCode = nfNamingCode;
165 public String getNfVendorName() {
169 public void setNfVendorName(String nfVendorName) {
170 this.nfVendorName = nfVendorName;
173 public String getTimeZoneOffset() {
174 return timeZoneOffset;
177 public void setTimeZoneOffset(String timeZoneOffset) {
178 this.timeZoneOffset = timeZoneOffset;
181 public String getVersion() {
185 public void setVersion(String version) {
186 this.version = version;
189 public String getVesEventListenerVersion() {
190 return vesEventListenerVersion;
193 public void setVesEventListenerVersion(String vesEventListenerVersion) {
194 this.vesEventListenerVersion = vesEventListenerVersion;