com.solarmetric.rd.kodo.query.exp
Class ContainsKeyExpression
java.lang.Object
|
+--com.solarmetric.rd.kodo.query.exp.InMemoryExpression
|
+--com.solarmetric.rd.kodo.query.exp.ContainsExpression
|
+--com.solarmetric.rd.kodo.query.exp.ContainsKeyExpression
- All Implemented Interfaces:
- Expression
- public class ContainsKeyExpression
- extends ContainsExpression
Tests that a Map key set contains a value.
|
Constructor Summary |
ContainsKeyExpression(com.solarmetric.rd.kodo.query.exp.InMemoryValue val1,
com.solarmetric.rd.kodo.query.exp.InMemoryValue val2)
Constructor. |
|
Method Summary |
protected java.util.Collection |
getCollection(com.solarmetric.rd.kodo.query.exp.InMemoryValue val,
java.lang.Object candidate,
java.lang.Object orig,
com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
java.util.Map params)
Return the container collection for the given value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainsKeyExpression
public ContainsKeyExpression(com.solarmetric.rd.kodo.query.exp.InMemoryValue val1,
com.solarmetric.rd.kodo.query.exp.InMemoryValue val2)
- Constructor.
- Parameters:
val1 - the container valueval2 - the containee to test
getCollection
protected java.util.Collection getCollection(com.solarmetric.rd.kodo.query.exp.InMemoryValue val,
java.lang.Object candidate,
java.lang.Object orig,
com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
java.util.Map params)
- Description copied from class:
ContainsExpression
- Return the container collection for the given value. By defaults,
eval's the value and casts the result to a collection.
- Overrides:
getCollection in class ContainsExpression
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.