org.apache.openjpa.kernel.exps
Class BindValueVariableExpression

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.BindValueVariableExpression
All Implemented Interfaces:
Serializable, Expression

 class BindValueVariableExpression
extends BindVariableExpression

BindVariableExpression for map value collections.

Author:
Abe White

Constructor Summary
BindValueVariableExpression(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

BindValueVariableExpression

public BindValueVariableExpression(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.