/* * Copyright (C) 2017 CMCC, Inc. and others. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.onap.usecaseui.server.bean; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="alarms_commoneventheader") public class PerformanceHeader implements Serializable{ @Column(name = "version") private String version; @Column(name = "eventName") private String eventName; @Column(name = "domain") private String domain; @Id @Column(name = "eventId") private String eventId; @Column(name = "eventType") private String eventType; @Column(name = "nfcNamingCode", nullable=false) private String nfcNamingCode; @Column(name = "nfNamingCode", nullable=false) private String nfNamingCode; @Column(name = "sourceId") private String sourceId; @Column(name = "sourceName") private String sourceName; @Column(name = "reportingEntityId") private String reportingEntityId; @Column(name = "reportingEntityName") private String reportingEntityName; @Column(name = "priority") private String priority; @Column(name = "startEpochMicrosec") private String startEpochMicrosec; @Column(name = "lastEpochMicroSec") private String lastEpochMicroSec; @Column(name = "sequence") private String sequence; @Column(name = "measurementsForVfScalingVersion") private String measurementsForVfScalingVersion; @Column(name = "measurementInterval") private String measurementInterval; @Column(name = "createTime") private Date createTime; @Column(name = "updateTime") private Date updateTime; public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } public String getEventName() { return eventName; } public void setEventName(String eventName) { this.eventName = eventName; } public String getDomain() { return domain; } public void setDomain(String domain) { this.domain = domain; } public String getEventId() { return eventId; } public void setEventId(String eventId) { this.eventId = eventId; } public String getEventType() { return eventType; } public void setEventType(String eventType) { this.eventType = eventType; } public String getNfcNamingCode() { return nfcNamingCode; } public void setNfcNamingCode(String nfcNamingCode) { this.nfcNamingCode = nfcNamingCode; } public String getNfNamingCode() { return nfNamingCode; } public void setNfNamingCode(String nfNamingCode) { this.nfNamingCode = nfNamingCode; } public String getSourceId() { return sourceId; } public void setSourceId(String sourceId) { this.sourceId = sourceId; } public String getSourceName() { return sourceName; } public void setSourceName(String sourceName) { this.sourceName = sourceName; } public String getReportingEntityId() { return reportingEntityId; } public void setReportingEntityId(String reportingEntityId) { this.reportingEntityId = reportingEntityId; } public String getReportingEntityName() { return reportingEntityName; } public void setReportingEntityName(String reportingEntityName) { this.reportingEntityName = reportingEntityName; } public String getPriority() { return priority; } public void setPriority(String priority) { this.priority = priority; } public String getStartEpochMicrosec() { return startEpochMicrosec; } public void setStartEpochMicrosec(String startEpochMicrosec) { this.startEpochMicrosec = startEpochMicrosec; } public String getLastEpochMicroSec() { return lastEpochMicroSec; } public void setLastEpochMicroSec(String lastEpochMicroSec) { this.lastEpochMicroSec = lastEpochMicroSec; } public String getSequence() { return sequence; } public void setSequence(String sequence) { this.sequence = sequence; } public String getMeasurementsForVfScalingVersion() { return measurementsForVfScalingVersion; } public void setMeasurementsForVfScalingVersion(String measurementsForVfScalingVersion) { this.measurementsForVfScalingVersion = measurementsForVfScalingVersion; } public String getMeasurementInterval() { return measurementInterval; } public void setMeasurementInterval(String measurementInterval) { this.measurementInterval = measurementInterval; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } }