SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

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

java.lang.Object
  |
  +--com.solarmetric.rd.kodo.query.exp.InMemoryExpression
All Implemented Interfaces:
Expression
Direct Known Subclasses:
AndExpression, BindVariableExpression, CompareExpression, ContainsExpression, EndsWithExpression, ExtensionExpression, IsEmptyExpression, NotExpression, OrderExpression, OrExpression, StartsWithExpression

public class InMemoryExpression
extends java.lang.Object
implements Expression

An Expression represents a query ready for execution. Generally, it is a set of conditions that must be met for the query to be true.


Constructor Summary
InMemoryExpression()
           
 
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.
 boolean evaluate(java.lang.Object candidate, java.lang.Object orig, com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm, java.util.Map params)
          Evaluate the expression.
 void order(java.util.List matches, com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm, java.util.Map params)
          Order the given list of matches according to this expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryExpression

public InMemoryExpression()
Method Detail

evaluate

public final boolean evaluate(java.lang.Object candidate,
                              java.lang.Object orig,
                              com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
                              java.util.Map params)
Evaluate the expression.


order

public void order(java.util.List matches,
                  com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
                  java.util.Map params)
Order the given list of matches according to this expression.


eval

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.


SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

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