Package org.apache.openjpa.kernel.exps
Class Exp
- java.lang.Object
 - 
- org.apache.openjpa.kernel.exps.Exp
 
 
- 
- All Implemented Interfaces:
 Serializable,Expression
- Direct Known Subclasses:
 WhenCondition,WhenScalar
public class Exp extends Object implements Expression
An in-memory representation of anExpression.- Author:
 - Abe White
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description Exp() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptVisit(ExpressionVisitor visitor)Accept a visit from a tree visitor.protected booleaneval(Object candidate, Object orig, StoreContext ctx, Object[] params)Evaluate the expression for the given context candidate and original candidate.protected booleaneval(Collection candidates, StoreContext ctx, Object[] params)Evaluate the expression for the given group.booleanevaluate(Object candidate, Object orig, StoreContext ctx, Object[] params)Evaluate the expression for the given candidate.booleanevaluate(Collection candidates, StoreContext ctx, Object[] params)Evaluate the expression for the given candidate group. 
 - 
 
- 
- 
Method Detail
- 
evaluate
public final boolean evaluate(Object candidate, Object orig, StoreContext ctx, Object[] params)
Evaluate the expression for the given candidate. 
- 
evaluate
public final boolean evaluate(Collection candidates, StoreContext ctx, Object[] params)
Evaluate the expression for the given candidate group. 
- 
eval
protected boolean eval(Object candidate, Object orig, StoreContext ctx, Object[] params)
Evaluate the expression for the given context candidate and original candidate. 
- 
eval
protected boolean eval(Collection candidates, StoreContext ctx, Object[] params)
Evaluate the expression for the given group. 
- 
acceptVisit
public void acceptVisit(ExpressionVisitor visitor)
Description copied from interface:ExpressionAccept a visit from a tree visitor.- Specified by:
 acceptVisitin interfaceExpression
 
 - 
 
 -