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 booleanequals(Object o)intgetCounter()DategetFirstEventTime()intgetId()DategetLastEventTime()StringgetLogMsg()intgetNodeId()StringgetNodeLabel()StringgetSeverity()intgetSeverityId()StringgetUei()inthashCode()
-
-
-
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()
-
-