Class SurveillanceViewNotificationTable.Notification

  • Enclosing class:
    SurveillanceViewNotificationTable

    public class SurveillanceViewNotificationTable.Notification
    extends java.lang.Object
    Helper class for handling notifications.
    • Constructor Summary

      Constructors 
      Constructor Description
      Notification​(int id, int nodeId, java.lang.String nodeLabel, java.util.Date pageTime, java.util.Date respondTime, java.lang.String answeredBy, java.lang.String textMsg, java.lang.String serviceType, java.lang.String severity)
      Constructor for instantiating new instances.
    • Constructor Detail

      • Notification

        public Notification​(int id,
                            int nodeId,
                            java.lang.String nodeLabel,
                            java.util.Date pageTime,
                            java.util.Date respondTime,
                            java.lang.String answeredBy,
                            java.lang.String textMsg,
                            java.lang.String serviceType,
                            java.lang.String severity)
        Constructor for instantiating new instances.
        Parameters:
        id - the notification id
        nodeId - the node id
        nodeLabel - the node label
        pageTime - the start time
        respondTime - the respond time
        answeredBy - the responder
        textMsg - the text message
        serviceType - the service type
        severity - the custom severity
    • Method Detail

      • getPageTime

        public java.util.Date getPageTime()
      • getAnsweredBy

        public java.lang.String getAnsweredBy()
      • getId

        public int getId()
      • getNodeId

        public int getNodeId()
      • getNodeLabel

        public java.lang.String getNodeLabel()
      • getRespondTime

        public java.util.Date getRespondTime()
      • getTextMsg

        public java.lang.String getTextMsg()
      • getServiceType

        public java.lang.String getServiceType()
      • getSeverity

        public java.lang.String getSeverity()
      • 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