Cumulus4j API
(1.0.1)

org.cumulus4j.store.query.method
Class AbstractMethodEvaluator

java.lang.Object
  extended by 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.


Field Summary
protected  Object compareToArgument
           
 
Constructor Summary
AbstractMethodEvaluator()
           
 
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
 
Methods inherited from interface org.cumulus4j.store.query.method.MethodEvaluator
evaluate
 

Field Detail

compareToArgument

protected Object compareToArgument
Constructor Detail

AbstractMethodEvaluator

public AbstractMethodEvaluator()
Method Detail

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

Cumulus4j API
(1.0.1)

Copyright © 2012 NightLabs Consulting GmbH. All Rights Reserved.