Package com.ocs.dynamo.filter
Class In
- java.lang.Object
-
- com.ocs.dynamo.filter.AbstractFilter
-
- com.ocs.dynamo.filter.In
-
- All Implemented Interfaces:
Filter,PropertyFilter
public class In extends AbstractFilter implements PropertyFilter
A filter for testing that the value of a certain property is included in a collection of values- Author:
- bas.rutten
-
-
Constructor Summary
Constructors Constructor Description In(String propertyId, Collection<?> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleanevaluate(Object that)StringgetPropertyId()Collection<?>getValues()inthashCode()StringtoString()-
Methods inherited from class com.ocs.dynamo.filter.AbstractFilter
and, and, and, applyFilter, between, getProperty, greater, greaterOrEqual, isEqual, isNull, less, lessOrEqual, like, like, likeIgnoreCase, not, or, or, or
-
-
-
-
Constructor Detail
-
In
public In(String propertyId, Collection<?> values)
- Parameters:
propertyId- the property that represents the collectionvalues- the objects that needs to be checked
-
-
Method Detail
-
getPropertyId
public String getPropertyId()
- Specified by:
getPropertyIdin interfacePropertyFilter
-
getValues
public Collection<?> getValues()
-
toString
public String toString()
- Overrides:
toStringin classAbstractFilter
-
-