org.apache.openjpa.kernel.exps
Class ContainsKeyExpression

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

 class ContainsKeyExpression
extends ContainsExpression

Tests that a Map key set contains a value.

Author:
Abe White

Constructor Summary
ContainsKeyExpression(Val val1, Val val2)
          Constructor.
 
Method Summary
protected  Collection getCollection(Object obj)
          Return the container collection for the given value.
 
Methods inherited from class org.apache.openjpa.kernel.exps.ContainsExpression
acceptVisit, eval, eval
 
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

ContainsKeyExpression

public ContainsKeyExpression(Val val1,
                             Val val2)
Constructor.

Parameters:
val1 - the container value
val2 - the containee to test
Method Detail

getCollection

protected Collection getCollection(Object obj)
Description copied from class: ContainsExpression
Return the container collection for the given value.

Overrides:
getCollection in class ContainsExpression


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