Package org.eso.ias.cdb.pojos
Class ValueDao
java.lang.Object
org.eso.ias.cdb.pojos.ValueDao
The value of a monitor point or alarm of plugin
read from the monitored system.
- Author:
- acaproni
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()intinthashCode()voidvoidsetFilterOptions(String filterOptions) voidvoidsetRefreshTime(int refreshTime) toString()booleanvalid()Check the correctness of the values contained in this objects: Non empty ID positive refresh time
-
Constructor Details
-
ValueDao
public ValueDao()
-
-
Method Details
-
getId
- Returns:
- the id
-
setId
- 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
- Returns:
- the filter
-
setFilter
- Parameters:
filter- the filter to set
-
getFilterOptions
- Returns:
- the filterOptions
-
setFilterOptions
- Parameters:
filterOptions- the filterOptions to set
-
hashCode
public int hashCode() -
equals
-
valid
public boolean valid()Check the correctness of the values contained in this objects:- Non empty ID
- positive refresh time
- Returns:
trueif the data contained in this object are correct
-
toString
-