com.solarmetric.rd.kodo.query.exp
Class AndExpression
java.lang.Object
|
+--com.solarmetric.rd.kodo.query.exp.InMemoryExpression
|
+--com.solarmetric.rd.kodo.query.exp.AndExpression
- All Implemented Interfaces:
- Expression
- Direct Known Subclasses:
- BindVariableAndExpression
- public class AndExpression
- extends InMemoryExpression
An expression that AND's two others together.
|
Constructor Summary |
AndExpression(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. |
com.solarmetric.rd.kodo.query.exp.InMemoryExpression |
getExpression1()
|
com.solarmetric.rd.kodo.query.exp.InMemoryExpression |
getExpression2()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndExpression
public AndExpression(com.solarmetric.rd.kodo.query.exp.InMemoryExpression exp1,
com.solarmetric.rd.kodo.query.exp.InMemoryExpression exp2)
- Constructor. Supply expressions to combine.
getExpression1
public com.solarmetric.rd.kodo.query.exp.InMemoryExpression getExpression1()
getExpression2
public com.solarmetric.rd.kodo.query.exp.InMemoryExpression getExpression2()
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
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.