org.cumulus4j.store.query.method
Class AbstractMethodEvaluator
java.lang.Object
org.cumulus4j.store.query.method.AbstractMethodEvaluator
- All Implemented Interfaces:
- MethodEvaluator
- Direct Known Subclasses:
- CollectionContainsEvaluator, CollectionIsEmptyEvaluator, CollectionSizeEvaluator, DateGetDayEvaluator, DateGetHourEvaluator, DateGetMinuteEvaluator, DateGetMonthEvaluator, DateGetSecondEvaluator, DateGetYearEvaluator, MapContainsKeyEvaluator, MapContainsValueEvaluator, MapIsEmptyEvaluator, MapSizeEvaluator, StringEndsWithEvaluator, StringEqualsEvaluator, StringEqualsIgnoreCaseEvaluator, StringIndexOfEvaluator, StringLengthEvaluator, StringMatchesEvaluator, StringStartsWithEvaluator, StringSubstringEvaluator, StringToLowerCaseEvaluator, StringToUpperCaseEvaluator
public abstract class AbstractMethodEvaluator
- extends Object
- implements MethodEvaluator
Abstract base for all method evaluators.
Method Summary |
boolean |
requiresComparisonArgument()
Whether this evaluator requires a comparison argument to perform its evaluation. |
void |
setCompareToArgument(Object obj)
Method to set any argument to be compared with (when evaluating method invocation and comparison). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
compareToArgument
protected Object compareToArgument
AbstractMethodEvaluator
public AbstractMethodEvaluator()
setCompareToArgument
public void setCompareToArgument(Object obj)
- Description copied from interface:
MethodEvaluator
- Method to set any argument to be compared with (when evaluating method invocation and comparison).
Should be set prior to call of evaluate(...).
- Specified by:
setCompareToArgument
in interface MethodEvaluator
- Parameters:
obj
- The compared argument
requiresComparisonArgument
public boolean requiresComparisonArgument()
- Description copied from interface:
MethodEvaluator
- Whether this evaluator requires a comparison argument to perform its evaluation.
- Specified by:
requiresComparisonArgument
in interface MethodEvaluator
- Returns:
- True if needing the comparison argument
Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.