Class SurveillanceViewAlarmTable.Alarm
- java.lang.Object
-
- org.opennms.features.vaadin.surveillanceviews.ui.dashboard.SurveillanceViewAlarmTable.Alarm
-
- Enclosing class:
- SurveillanceViewAlarmTable
public class SurveillanceViewAlarmTable.Alarm extends java.lang.Object
Helper class for alarm entries.
-
-
Constructor Summary
Constructors Constructor Description Alarm(int id, java.lang.String uei, int severityId, java.lang.String severity, java.lang.String nodeLabel, int nodeId, java.lang.String logMsg, int counter, java.util.Date firstEventTime, java.util.Date lastEventTime)
Constructor for instantiating new alarm instances.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
getCounter()
java.util.Date
getFirstEventTime()
int
getId()
java.util.Date
getLastEventTime()
java.lang.String
getLogMsg()
int
getNodeId()
java.lang.String
getNodeLabel()
java.lang.String
getSeverity()
int
getSeverityId()
java.lang.String
getUei()
int
hashCode()
-
-
-
Constructor Detail
-
Alarm
public Alarm(int id, java.lang.String uei, int severityId, java.lang.String severity, java.lang.String nodeLabel, int nodeId, java.lang.String logMsg, int counter, java.util.Date firstEventTime, java.util.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 java.lang.String getSeverity()
-
getSeverityId
public int getSeverityId()
-
getNodeId
public int getNodeId()
-
getId
public int getId()
-
getUei
public java.lang.String getUei()
-
getNodeLabel
public java.lang.String getNodeLabel()
-
getLogMsg
public java.lang.String getLogMsg()
-
getCounter
public int getCounter()
-
getFirstEventTime
public java.util.Date getFirstEventTime()
-
getLastEventTime
public java.util.Date getLastEventTime()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-