org.apache.openjpa.kernel.exps
Class BindKeyVariableExpression

java.lang.Object
  extended by org.apache.openjpa.kernel.exps.Exp
      extended by org.apache.openjpa.kernel.exps.BindVariableExpression
          extended by org.apache.openjpa.kernel.exps.BindKeyVariableExpression
All Implemented Interfaces:
Serializable, Expression

 class BindKeyVariableExpression
extends BindVariableExpression

BindVariableExpression for map key sets.

Author:
Abe White

Constructor Summary
BindKeyVariableExpression(BoundVariable var, Val val)
          Constructor.
 
Method Summary
protected  Collection getCollection(Object values)
          Return a collection for the given object, produced by eval'ing the value of this expression.
 
Methods inherited from class org.apache.openjpa.kernel.exps.BindVariableExpression
acceptVisit, eval, eval, getVariable, getVariableValues
 
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

BindKeyVariableExpression

public BindKeyVariableExpression(BoundVariable var,
                                 Val val)
Constructor.

Parameters:
var - the bound variable
val - the value the variable is bound to
Method Detail

getCollection

protected Collection getCollection(Object values)
Description copied from class: BindVariableExpression
Return a collection for the given object, produced by eval'ing the value of this expression. Simply casts the object to a collection by default.

Overrides:
getCollection in class BindVariableExpression


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.