2 * Copyright (C) 2017 CMCC, Inc. and others. All rights reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package org.onap.usecaseui.server.bean;
18 import java.io.Serializable;
19 import java.util.Date;
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.Id;
24 import javax.persistence.Table;
28 @Table(name="alarms_commoneventheader")
29 public class PerformanceHeader implements Serializable{
31 @Column(name = "version")
32 private String version;
34 @Column(name = "eventName")
35 private String eventName;
37 @Column(name = "domain")
38 private String domain;
41 @Column(name = "eventId")
42 private String eventId;
44 @Column(name = "eventType")
45 private String eventType;
47 @Column(name = "nfcNamingCode", nullable=false)
48 private String nfcNamingCode;
50 @Column(name = "nfNamingCode", nullable=false)
51 private String nfNamingCode;
53 @Column(name = "sourceId")
54 private String sourceId;
56 @Column(name = "sourceName")
57 private String sourceName;
59 @Column(name = "reportingEntityId")
60 private String reportingEntityId;
62 @Column(name = "reportingEntityName")
63 private String reportingEntityName;
65 @Column(name = "priority")
66 private String priority;
68 @Column(name = "startEpochMicrosec")
69 private String startEpochMicrosec;
71 @Column(name = "lastEpochMicroSec")
72 private String lastEpochMicroSec;
74 @Column(name = "sequence")
75 private String sequence;
77 @Column(name = "measurementsForVfScalingVersion")
78 private String measurementsForVfScalingVersion;
80 @Column(name = "measurementInterval")
81 private String measurementInterval;
83 @Column(name = "createTime")
84 private Date createTime;
86 @Column(name = "updateTime")
87 private Date updateTime;
89 public String getVersion() {
93 public void setVersion(String version) {
94 this.version = version;
97 public String getEventName() {
101 public void setEventName(String eventName) {
102 this.eventName = eventName;
105 public String getDomain() {
109 public void setDomain(String domain) {
110 this.domain = domain;
113 public String getEventId() {
117 public void setEventId(String eventId) {
118 this.eventId = eventId;
121 public String getEventType() {
125 public void setEventType(String eventType) {
126 this.eventType = eventType;
129 public String getNfcNamingCode() {
130 return nfcNamingCode;
133 public void setNfcNamingCode(String nfcNamingCode) {
134 this.nfcNamingCode = nfcNamingCode;
137 public String getNfNamingCode() {
141 public void setNfNamingCode(String nfNamingCode) {
142 this.nfNamingCode = nfNamingCode;
145 public String getSourceId() {
149 public void setSourceId(String sourceId) {
150 this.sourceId = sourceId;
153 public String getSourceName() {
157 public void setSourceName(String sourceName) {
158 this.sourceName = sourceName;
161 public String getReportingEntityId() {
162 return reportingEntityId;
165 public void setReportingEntityId(String reportingEntityId) {
166 this.reportingEntityId = reportingEntityId;
169 public String getReportingEntityName() {
170 return reportingEntityName;
173 public void setReportingEntityName(String reportingEntityName) {
174 this.reportingEntityName = reportingEntityName;
177 public String getPriority() {
181 public void setPriority(String priority) {
182 this.priority = priority;
185 public String getStartEpochMicrosec() {
186 return startEpochMicrosec;
189 public void setStartEpochMicrosec(String startEpochMicrosec) {
190 this.startEpochMicrosec = startEpochMicrosec;
193 public String getLastEpochMicroSec() {
194 return lastEpochMicroSec;
197 public void setLastEpochMicroSec(String lastEpochMicroSec) {
198 this.lastEpochMicroSec = lastEpochMicroSec;
201 public String getSequence() {
205 public void setSequence(String sequence) {
206 this.sequence = sequence;
209 public String getMeasurementsForVfScalingVersion() {
210 return measurementsForVfScalingVersion;
213 public void setMeasurementsForVfScalingVersion(String measurementsForVfScalingVersion) {
214 this.measurementsForVfScalingVersion = measurementsForVfScalingVersion;
217 public String getMeasurementInterval() {
218 return measurementInterval;
221 public void setMeasurementInterval(String measurementInterval) {
222 this.measurementInterval = measurementInterval;
225 public Date getCreateTime() {
229 public void setCreateTime(Date createTime) {
230 this.createTime = createTime;
233 public Date getUpdateTime() {
237 public void setUpdateTime(Date updateTime) {
238 this.updateTime = updateTime;