Class SurveillanceViewAlarmTable.Alarm
- java.lang.Object
-
- org.opennms.features.vaadin.surveillanceviews.ui.dashboard.SurveillanceViewAlarmTable.Alarm
-
- Enclosing class:
- SurveillanceViewAlarmTable
public class SurveillanceViewAlarmTable.Alarm extends Object
Helper class for alarm entries.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
Alarm
public 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.- Parameters:
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 date
-
-
Method Detail
-
getSeverity
public String getSeverity()
-
getSeverityId
public int getSeverityId()
-
getNodeId
public int getNodeId()
-
getId
public int getId()
-
getUei
public String getUei()
-
getNodeLabel
public String getNodeLabel()
-
getLogMsg
public String getLogMsg()
-
getCounter
public int getCounter()
-
getFirstEventTime
public Date getFirstEventTime()
-
getLastEventTime
public Date getLastEventTime()
-
-