org.apache.openjpa.kernel.exps
public class WhenCondition extends Object
Modifier and Type | Method and Description |
---|---|
void |
acceptVisit(ExpressionVisitor visitor)
Accept a visit from a tree visitor.
|
protected boolean |
eval(Collection candidates,
StoreContext ctx,
Object[] params)
Evaluate the expression for the given group.
|
protected boolean |
eval(Object candidate,
Object orig,
StoreContext ctx,
Object[] params)
Evaluate the expression for the given context candidate and original
candidate.
|
boolean |
evaluate(Collection candidates,
StoreContext ctx,
Object[] params)
Evaluate the expression for the given candidate group.
|
boolean |
evaluate(Object candidate,
Object orig,
StoreContext ctx,
Object[] params)
Evaluate the expression for the given candidate.
|
org.apache.openjpa.kernel.exps.Exp |
getExp() |
Val |
getVal() |
public org.apache.openjpa.kernel.exps.Exp getExp()
public Val getVal()
public void acceptVisit(ExpressionVisitor visitor)
Expression
acceptVisit
in interface Expression
public final boolean evaluate(Object candidate, Object orig, StoreContext ctx, Object[] params)
public final boolean evaluate(Collection candidates, StoreContext ctx, Object[] params)
protected boolean eval(Object candidate, Object orig, StoreContext ctx, Object[] params)
protected boolean eval(Collection candidates, StoreContext ctx, Object[] params)
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.