Package ru.curs.celesta.dbutils.filter
Class SingleValue
- java.lang.Object
-
- ru.curs.celesta.dbutils.filter.AbstractFilter
-
- ru.curs.celesta.dbutils.filter.SingleValue
-
public final class SingleValue extends AbstractFilter
Single value filter.
-
-
Constructor Summary
Constructors Constructor Description SingleValue(Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
filterEquals(AbstractFilter f)
Comparesthis
filter to an other one.Object
getValue()
Returns filter value.void
setValue(Object value)
Sets filter value.String
toString()
-
-
-
Constructor Detail
-
SingleValue
public SingleValue(Object value)
-
-
Method Detail
-
getValue
public Object getValue()
Returns filter value.- Returns:
-
setValue
public void setValue(Object value)
Sets filter value.- Parameters:
value
-
-
filterEquals
public boolean filterEquals(AbstractFilter f)
Description copied from class:AbstractFilter
Comparesthis
filter to an other one.- Specified by:
filterEquals
in classAbstractFilter
- Parameters:
f
- other filter- Returns:
true
if filter equal otherwise -false
-
-