public class CollectionExpressionImpl<T extends Collection<E>,E> extends ExpressionImpl<T> implements CollectionExpression<T,E>
| Constructor and Description |
|---|
CollectionExpressionImpl(Class<T> cls,
String name,
ExpressionType type) |
CollectionExpressionImpl(PersistableExpression parent,
String name) |
| Modifier and Type | Method and Description |
|---|---|
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<Integer> |
size()
Method returning an expression for the size of the collection
|
cast, count, countDistinct, eq, eq, getQueryExpression, instanceOf, isParameter, isVariable, ne, neclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcast, count, countDistinct, eq, eq, instanceOf, ne, nepublic CollectionExpressionImpl(PersistableExpression parent, String name)
public CollectionExpressionImpl(Class<T> cls, String name, ExpressionType type)
public BooleanExpression contains(E elem)
CollectionExpressioncontains in interface CollectionExpression<T extends Collection<E>,E>elem - The elementpublic BooleanExpression contains(Expression expr)
CollectionExpressioncontains in interface CollectionExpression<T extends Collection<E>,E>expr - The element expressionpublic BooleanExpression isEmpty()
CollectionExpressionisEmpty in interface CollectionExpression<T extends Collection<E>,E>public NumericExpression<Integer> size()
CollectionExpressionsize in interface CollectionExpression<T extends Collection<E>,E>Copyright © 2013. All Rights Reserved.