| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.kernel.exps.Exp
org.apache.openjpa.kernel.exps.InstanceofExpression
class InstanceofExpression
Tests whether a value is an instance of a class.
| Constructor Summary | |
|---|---|
InstanceofExpression(Val val,
                     Class cls)
Constructor; supply value and class.  | 
|
| Method Summary | |
|---|---|
 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.  | 
| Methods inherited from class org.apache.openjpa.kernel.exps.Exp | 
|---|
evaluate, evaluate | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public InstanceofExpression(Val val,
                            Class cls)
| Method Detail | 
|---|
protected boolean eval(Object candidate,
                       Object orig,
                       StoreContext ctx,
                       Object[] params)
eval in class Exp
protected boolean eval(Collection candidates,
                       StoreContext ctx,
                       Object[] params)
eval in class Exppublic void acceptVisit(ExpressionVisitor visitor)
Expression
acceptVisit in interface ExpressionacceptVisit in class Exp
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||