Class 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.
    • 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 id
        severity - the severity of the alarm
        nodeLabel - the label of the node
        nodeId - the node id
        logMsg - the log message
        counter - the counter value
        firstEventTime - the first event date
        lastEventTime - 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object