Package ru.curs.celesta.dbutils.filter
Class Range
java.lang.Object
ru.curs.celesta.dbutils.filter.AbstractFilter
ru.curs.celesta.dbutils.filter.Range
Filter as a range of values from..to.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanComparesthisfilter to an other one.Returns a from value.Returns a to value.voidSets from and to values.toString()
-
Constructor Details
-
Range
-
-
Method Details
-
toString
-
getValueFrom
Returns a from value.- Returns:
-
getValueTo
Returns a to value.- Returns:
-
setValues
Sets from and to values.- Parameters:
valueFrom- beginning of the range (inclusive)valueTo- end of the range (inclusive)
-
filterEquals
Description copied from class:AbstractFilterComparesthisfilter to an other one.- Specified by:
filterEqualsin classAbstractFilter- Parameters:
f- other filter- Returns:
trueif filter equal otherwise -false
-