Class ValueDao

java.lang.Object
org.eso.ias.cdb.pojos.ValueDao

@Entity public class ValueDao extends Object
The value of a monitor point or alarm of plugin read from the monitored system.
Author:
acaproni
  • Constructor Details

    • ValueDao

      public ValueDao()
  • Method Details

    • getId

      public String getId()
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - the id to set
    • getRefreshTime

      public int getRefreshTime()
      Returns:
      the refreshTime
    • setRefreshTime

      public void setRefreshTime(int refreshTime)
      Parameters:
      refreshTime - the refreshTime to set
    • getFilter

      public String getFilter()
      Returns:
      the filter
    • setFilter

      public void setFilter(String filter)
      Parameters:
      filter - the filter to set
    • getFilterOptions

      public String getFilterOptions()
      Returns:
      the filterOptions
    • setFilterOptions

      public void setFilterOptions(String filterOptions)
      Parameters:
      filterOptions - the filterOptions to set
    • hashCode

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • valid

      public boolean valid()
      Check the correctness of the values contained in this objects:
      • Non empty ID
      • positive refresh time
      Returns:
      true if the data contained in this object are correct
    • toString

      public String toString()
      Overrides:
      toString in class Object