public class SurveillanceViewAlarmTable.Alarm extends Object
Constructor and Description |
---|
Alarm(int id,
String uei,
int severityId,
String severity,
String nodeLabel,
int nodeId,
String logMsg,
int counter,
Date firstEventTime,
Date lastEventTime)
Constructor for instantiating new alarm instances.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getCounter() |
Date |
getFirstEventTime() |
int |
getId() |
Date |
getLastEventTime() |
String |
getLogMsg() |
int |
getNodeId() |
String |
getNodeLabel() |
String |
getSeverity() |
int |
getSeverityId() |
String |
getUei() |
int |
hashCode() |
public Alarm(int id, String uei, int severityId, String severity, String nodeLabel, int nodeId, String logMsg, int counter, Date firstEventTime, Date lastEventTime)
id
- the alarm idseverity
- the severity of the alarmnodeLabel
- the label of the nodenodeId
- the node idlogMsg
- the log messagecounter
- the counter valuefirstEventTime
- the first event datelastEventTime
- the last event datepublic String getSeverity()
public int getSeverityId()
public int getNodeId()
public int getId()
public String getUei()
public String getNodeLabel()
public String getLogMsg()
public int getCounter()
public Date getFirstEventTime()
public Date getLastEventTime()
Copyright © 2021. All rights reserved.