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 AlarmsHeader 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 = "faultFieldsVersion")
78 private String faultFieldsVersion;
80 @Column(name = "eventServrity")
81 private String eventServrity;
83 @Column(name = "eventSourceType")
84 private String eventSourceType;
86 @Column(name = "eventCategory")
87 private String eventCategory;
89 @Column(name = "alarmCondition")
90 private String alarmCondition;
92 @Column(name = "specificProblem")
93 private String specificProblem;
95 @Column(name = "vfStatus")
96 private String vfStatus;
98 @Column(name = "alarmInterfaceA")
99 private String alarmInterfaceA;
101 @Column(name = "status")
102 private String status;
104 @Column(name = "createTime")
105 private Date createTime;
107 @Column(name = "updateTime")
108 private Date updateTime;
110 public String getVersion() {
114 public void setVersion(String version) {
115 this.version = version;
118 public String getEventName() {
122 public void setEventName(String eventName) {
123 this.eventName = eventName;
126 public String getDomain() {
130 public void setDomain(String domain) {
131 this.domain = domain;
134 public String getEventId() {
138 public void setEventId(String eventId) {
139 this.eventId = eventId;
142 public String getEventType() {
146 public void setEventType(String eventType) {
147 this.eventType = eventType;
150 public String getNfcNamingCode() {
151 return nfcNamingCode;
154 public void setNfcNamingCode(String nfcNamingCode) {
155 this.nfcNamingCode = nfcNamingCode;
158 public String getNfNamingCode() {
162 public void setNfNamingCode(String nfNamingCode) {
163 this.nfNamingCode = nfNamingCode;
166 public String getSourceId() {
170 public void setSourceId(String sourceId) {
171 this.sourceId = sourceId;
174 public String getSourceName() {
178 public void setSourceName(String sourceName) {
179 this.sourceName = sourceName;
182 public String getReportingEntityId() {
183 return reportingEntityId;
186 public void setReportingEntityId(String reportingEntityId) {
187 this.reportingEntityId = reportingEntityId;
190 public String getReportingEntityName() {
191 return reportingEntityName;
194 public void setReportingEntityName(String reportingEntityName) {
195 this.reportingEntityName = reportingEntityName;
198 public String getPriority() {
202 public void setPriority(String priority) {
203 this.priority = priority;
206 public String getStartEpochMicrosec() {
207 return startEpochMicrosec;
210 public void setStartEpochMicrosec(String startEpochMicrosec) {
211 this.startEpochMicrosec = startEpochMicrosec;
214 public String getLastEpochMicroSec() {
215 return lastEpochMicroSec;
218 public void setLastEpochMicroSec(String lastEpochMicroSec) {
219 this.lastEpochMicroSec = lastEpochMicroSec;
222 public String getSequence() {
226 public void setSequence(String sequence) {
227 this.sequence = sequence;
230 public String getFaultFieldsVersion() {
231 return faultFieldsVersion;
234 public void setFaultFieldsVersion(String faultFieldsVersion) {
235 this.faultFieldsVersion = faultFieldsVersion;
238 public String getEventServrity() {
239 return eventServrity;
242 public void setEventServrity(String eventServrity) {
243 this.eventServrity = eventServrity;
246 public String getEventSourceType() {
247 return eventSourceType;
250 public void setEventSourceType(String eventSourceType) {
251 this.eventSourceType = eventSourceType;
254 public String getEventCategory() {
255 return eventCategory;
258 public void setEventCategory(String eventCategory) {
259 this.eventCategory = eventCategory;
262 public String getAlarmCondition() {
263 return alarmCondition;
266 public void setAlarmCondition(String alarmCondition) {
267 this.alarmCondition = alarmCondition;
270 public String getSpecificProblem() {
271 return specificProblem;
274 public void setSpecificProblem(String specificProblem) {
275 this.specificProblem = specificProblem;
278 public String getVfStatus() {
282 public void setVfStatus(String vfStatus) {
283 this.vfStatus = vfStatus;
286 public String getAlarmInterfaceA() {
287 return alarmInterfaceA;
290 public void setAlarmInterfaceA(String alarmInterfaceA) {
291 this.alarmInterfaceA = alarmInterfaceA;
294 public String getStatus() {
298 public void setStatus(String status) {
299 this.status = status;
302 public Date getCreateTime() {
306 public void setCreateTime(Date createTime) {
307 this.createTime = createTime;
310 public Date getUpdateTime() {
314 public void setUpdateTime(Date updateTime) {
315 this.updateTime = updateTime;