Class AlarmHistoryItem

    • Constructor Detail

      • AlarmHistoryItem

        public AlarmHistoryItem()
    • Method Detail

      • setAlarmName

        public void setAlarmName​(String alarmName)

        The descriptive name for the alarm.

        Parameters:
        alarmName - The descriptive name for the alarm.
      • getAlarmName

        public String getAlarmName()

        The descriptive name for the alarm.

        Returns:
        The descriptive name for the alarm.
      • withAlarmName

        public AlarmHistoryItem withAlarmName​(String alarmName)

        The descriptive name for the alarm.

        Parameters:
        alarmName - The descriptive name for the alarm.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTimestamp

        public void setTimestamp​(Date timestamp)

        The time stamp for the alarm history item.

        Parameters:
        timestamp - The time stamp for the alarm history item.
      • getTimestamp

        public Date getTimestamp()

        The time stamp for the alarm history item.

        Returns:
        The time stamp for the alarm history item.
      • withTimestamp

        public AlarmHistoryItem withTimestamp​(Date timestamp)

        The time stamp for the alarm history item.

        Parameters:
        timestamp - The time stamp for the alarm history item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setHistoryItemType

        public void setHistoryItemType​(String historyItemType)

        The type of alarm history item.

        Parameters:
        historyItemType - The type of alarm history item.
        See Also:
        HistoryItemType
      • getHistoryItemType

        public String getHistoryItemType()

        The type of alarm history item.

        Returns:
        The type of alarm history item.
        See Also:
        HistoryItemType
      • withHistoryItemType

        public AlarmHistoryItem withHistoryItemType​(String historyItemType)

        The type of alarm history item.

        Parameters:
        historyItemType - The type of alarm history item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HistoryItemType
      • setHistoryItemType

        public void setHistoryItemType​(HistoryItemType historyItemType)

        The type of alarm history item.

        Parameters:
        historyItemType - The type of alarm history item.
        See Also:
        HistoryItemType
      • withHistoryItemType

        public AlarmHistoryItem withHistoryItemType​(HistoryItemType historyItemType)

        The type of alarm history item.

        Parameters:
        historyItemType - The type of alarm history item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HistoryItemType
      • setHistorySummary

        public void setHistorySummary​(String historySummary)

        A human-readable summary of the alarm history.

        Parameters:
        historySummary - A human-readable summary of the alarm history.
      • getHistorySummary

        public String getHistorySummary()

        A human-readable summary of the alarm history.

        Returns:
        A human-readable summary of the alarm history.
      • withHistorySummary

        public AlarmHistoryItem withHistorySummary​(String historySummary)

        A human-readable summary of the alarm history.

        Parameters:
        historySummary - A human-readable summary of the alarm history.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setHistoryData

        public void setHistoryData​(String historyData)

        Machine-readable data about the alarm in JSON format.

        Parameters:
        historyData - Machine-readable data about the alarm in JSON format.
      • getHistoryData

        public String getHistoryData()

        Machine-readable data about the alarm in JSON format.

        Returns:
        Machine-readable data about the alarm in JSON format.
      • withHistoryData

        public AlarmHistoryItem withHistoryData​(String historyData)

        Machine-readable data about the alarm in JSON format.

        Parameters:
        historyData - Machine-readable data about the alarm in JSON format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object