org.araneaframework.backend.list.memorybased.expression.compare
Class EndsWithExpression

java.lang.Object
  extended byorg.araneaframework.backend.list.memorybased.expression.compare.LikeExpression
      extended byorg.araneaframework.backend.list.memorybased.expression.compare.EndsWithExpression
All Implemented Interfaces:
CompositeExpression, Expression, Serializable, StringExpression

public class EndsWithExpression
extends LikeExpression

Expression for EndsWith condition. Supports both database query and mempry-based lists. To use this expression in Aranea, it must be bound to a translator that recognizes it.

Since:
1.1.3
Author:
Martti Tamm (martti at araneaframework dot org)
See Also:
StandardExpressionToSqlExprBuilder, Serialized Form

Field Summary
 
Fields inherited from class org.araneaframework.backend.list.memorybased.expression.compare.LikeExpression
configuration, expr, ignoreCase, mask
 
Constructor Summary
EndsWithExpression(Expression expr, Value mask, boolean ignoreCase, LikeConfiguration configuration)
           
 
Method Summary
 Object evaluate(VariableResolver resolver)
          
 
Methods inherited from class org.araneaframework.backend.list.memorybased.expression.compare.LikeExpression
getChildren, getConfiguration, getIgnoreCase, getMask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndsWithExpression

public EndsWithExpression(Expression expr,
                          Value mask,
                          boolean ignoreCase,
                          LikeConfiguration configuration)
Method Detail

evaluate

public Object evaluate(VariableResolver resolver)
                throws ExpressionEvaluationException

Specified by:
evaluate in interface Expression
Overrides:
evaluate in class LikeExpression
Throws:
ExpressionEvaluationException