org.datanucleus.query.evaluator.memory
Class DateGetMinutesMethodEvaluator
java.lang.Object
org.datanucleus.query.evaluator.memory.DateGetMinutesMethodEvaluator
- All Implemented Interfaces:
- InvocationEvaluator
public class DateGetMinutesMethodEvaluator
- extends java.lang.Object
- implements InvocationEvaluator
Evaluator for the method "{dateExpr}.getMinutes()".
|
Field Summary |
protected static Localiser |
LOCALISER
Localisation utility for output messages |
|
Method Summary |
java.lang.Object |
evaluate(InvokeExpression expr,
java.lang.Object invokedValue,
InMemoryExpressionEvaluator eval)
Method to evaluate the InvokeExpression, as part of the overall evaluation
defined by the InMemoryExpressionEvaluator. |
boolean |
supportsType(java.lang.Class cls)
Accessor for whether this evaluator supports invocation of this method
on the specified type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCALISER
protected static final Localiser LOCALISER
- Localisation utility for output messages
DateGetMinutesMethodEvaluator
public DateGetMinutesMethodEvaluator()
evaluate
public java.lang.Object evaluate(InvokeExpression expr,
java.lang.Object invokedValue,
InMemoryExpressionEvaluator eval)
- Description copied from interface:
InvocationEvaluator
- Method to evaluate the InvokeExpression, as part of the overall evaluation
defined by the InMemoryExpressionEvaluator.
- Specified by:
evaluate in interface InvocationEvaluator
- Parameters:
expr - The expression for invocationinvokedValue - Value on which we are invokingeval - The overall evaluator for in-memory
- Returns:
- The result
supportsType
public boolean supportsType(java.lang.Class cls)
- Description copied from interface:
InvocationEvaluator
- Accessor for whether this evaluator supports invocation of this method
on the specified type.
- Specified by:
supportsType in interface InvocationEvaluator
- Parameters:
cls - Type to check
- Returns:
- Whether it is supported.
Copyright © 2009. All Rights Reserved.