org.apache.openjpa.kernel.exps
Class ContainsValueExpression

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

 class ContainsValueExpression
extends ContainsExpression

Tests that a Map value collection contains a value.

Author:
Abe White

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

ContainsValueExpression

public ContainsValueExpression(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-2013 Apache Software Foundation. All Rights Reserved.