Package com.ocs.dynamo.filter
Class Modulo
- java.lang.Object
-
- com.ocs.dynamo.filter.AbstractFilter
-
- com.ocs.dynamo.filter.Modulo
-
- All Implemented Interfaces:
Filter,PropertyFilter
public class Modulo extends AbstractFilter implements PropertyFilter
A filter for determining if an expression matches a certain modulo calculation- Author:
- bas.rutten
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate(Object that)StringgetModExpression()NumbergetModValue()StringgetPropertyId()NumbergetResult()voidsetModValue(Integer modValue)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
-
-
-
-
Method Detail
-
getPropertyId
public String getPropertyId()
- Specified by:
getPropertyIdin interfacePropertyFilter
-
getModExpression
public String getModExpression()
-
getResult
public Number getResult()
-
getModValue
public Number getModValue()
-
setModValue
public void setModValue(Integer modValue)
-
toString
public String toString()
- Overrides:
toStringin classAbstractFilter
-
-