|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.jdo.query.ExpressionImpl<T>
org.datanucleus.jdo.query.CollectionExpressionImpl<T,E>
public class CollectionExpressionImpl<T extends java.util.Collection<E>,E>
Implementation of a CollectionExpression
| Constructor Summary | |
|---|---|
CollectionExpressionImpl(java.lang.Class<T> cls,
java.lang.String name,
ExpressionType type)
|
|
CollectionExpressionImpl(PersistableExpression parent,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
BooleanExpression |
contains(E elem)
Method returning whether the specified element is contained in this collection. |
BooleanExpression |
contains(Expression expr)
Method returning whether the specified elementexpression is contained in this collection. |
BooleanExpression |
isEmpty()
Method returning whether the collection is empty. |
NumericExpression<java.lang.Integer> |
size()
Method returning an expression for the size of the collection |
| Methods inherited from class org.datanucleus.jdo.query.ExpressionImpl |
|---|
cast, count, countDistinct, eq, eq, getQueryExpression, instanceOf, isParameter, isVariable, ne, ne |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.datanucleus.query.typesafe.Expression |
|---|
cast, count, countDistinct, eq, eq, instanceOf, ne, ne |
| Constructor Detail |
|---|
public CollectionExpressionImpl(PersistableExpression parent,
java.lang.String name)
public CollectionExpressionImpl(java.lang.Class<T> cls,
java.lang.String name,
ExpressionType type)
| Method Detail |
|---|
public BooleanExpression contains(E elem)
CollectionExpression
contains in interface CollectionExpression<T extends java.util.Collection<E>,E>elem - The element
public BooleanExpression contains(Expression expr)
CollectionExpression
contains in interface CollectionExpression<T extends java.util.Collection<E>,E>expr - The element expression
public BooleanExpression isEmpty()
CollectionExpression
isEmpty in interface CollectionExpression<T extends java.util.Collection<E>,E>public NumericExpression<java.lang.Integer> size()
CollectionExpression
size in interface CollectionExpression<T extends java.util.Collection<E>,E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||