Class MonitorPointDataToBuffer

java.lang.Object
org.eso.ias.plugin.publisher.MonitorPointDataToBuffer
Direct Known Subclasses:
MonitorPointData

public class MonitorPointDataToBuffer extends Object
A java POJO representing a monitor point or alarm to be sent to the IAS in a buffered way.

A MonitorPointDataToBuffer will be sent encapsulated in a BufferedMonitoredSystemData i.e. for buffered publishers.

Author:
acaproni
See Also:
  • Field Details

    • sampleTime

      protected String sampleTime
      The point in time when the value has been provided by the monitored system.

      The meaning of this timestamp depends on the applied filter. If the filters return the last sampled value like NoneFilter then sampleTime is the point in time when such sample has been provided by the remote system. But what does it represent if the filter returns a the average of the samples read in a time interval?

    • filteredTime

      protected String filteredTime
      The point in time when the input(s) have been elaborated against the filter to produce the value that must finally be sent to the IAS core
    • value

      protected String value
      The value of the monitor point after passing the filter
    • id

      protected String id
      The identifier of the monitor point
    • operationalMode

      protected String operationalMode
      The operational mode
      See Also:
    • validity

      protected String validity
      The validity
      See Also:
    • iso8601dateFormat

      protected final SimpleDateFormat iso8601dateFormat
      ISO 8601 date formatter
  • Constructor Details

    • MonitorPointDataToBuffer

      public MonitorPointDataToBuffer()
      Empty constructor
    • MonitorPointDataToBuffer

      public MonitorPointDataToBuffer(ValueToSend value)
      Constructor
      Parameters:
      value - The filtered value produced by the monitored system
  • Method Details

    • getSampleTime

      public String getSampleTime()
      Returns:
      the sampleTime
    • setSampleTime

      public void setSampleTime(String sampleTime)
      Set the time of the sample
      Parameters:
      sampleTime - the sampleTime to set
    • getFilteredTime

      public String getFilteredTime()
      Returns:
      the filteredTime
    • setFilteredTime

      public void setFilteredTime(String filteredTime)
      Set the filtered timestamp
      Parameters:
      filteredTime - the filteredTime to set
    • getValue

      public String getValue()
      Returns:
      the value
    • setValue

      public void setValue(String value)
      Set the value of th emonitor point
      Parameters:
      value - the value to set
    • getId

      public String getId()
      Returns:
      the id of the monitor point
    • setId

      public void setId(String id)
      Set the ID of the monitor point
      Parameters:
      id - the id to set
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      See Also:
    • getOperationalMode

      public String getOperationalMode()
      Returns:
      the operationalMode
    • setOperationalMode

      public void setOperationalMode(String operationalMode)
      Parameters:
      operationalMode - the operationalMode to set
    • getValidity

      public String getValidity()
      Returns:
      the validity
    • setValidity

      public void setValidity(String validity)
      param validity the validity