SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

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

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

public class OrExpression
extends InMemoryExpression

An expression that OR's two others together.


Constructor Summary
OrExpression(com.solarmetric.rd.kodo.query.exp.InMemoryExpression exp1, com.solarmetric.rd.kodo.query.exp.InMemoryExpression exp2)
          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

OrExpression

public OrExpression(com.solarmetric.rd.kodo.query.exp.InMemoryExpression exp1,
                    com.solarmetric.rd.kodo.query.exp.InMemoryExpression exp2)
Constructor. Supply expressions to combine.

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.