SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.kodo.query.exp
Class EndsWithExpression

java.lang.Object
  |
  +--com.solarmetric.rd.kodo.query.exp.InMemoryExpression
        |
        +--com.solarmetric.rd.kodo.query.exp.EndsWithExpression
All Implemented Interfaces:
Expression

public class EndsWithExpression
extends InMemoryExpression

Tests that one value string ends with another.


Constructor Summary
EndsWithExpression(com.solarmetric.rd.kodo.query.exp.InMemoryValue val1, com.solarmetric.rd.kodo.query.exp.InMemoryValue val2)
          Constructor.
 
Method Summary
protected  boolean eval(java.lang.Object candidate, java.lang.Object orig, com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm, java.util.Map params)
          Evaluate the expression for the given context candidate and original candidate.
 
Methods inherited from class com.solarmetric.rd.kodo.query.exp.InMemoryExpression
evaluate, order
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndsWithExpression

public EndsWithExpression(com.solarmetric.rd.kodo.query.exp.InMemoryValue val1,
                          com.solarmetric.rd.kodo.query.exp.InMemoryValue val2)
Constructor. Supply the values to test.

Method Detail

eval

protected boolean eval(java.lang.Object candidate,
                       java.lang.Object orig,
                       com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
                       java.util.Map params)
Description copied from class: InMemoryExpression
Evaluate the expression for the given context candidate and original candidate.

Overrides:
eval in class InMemoryExpression

SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.