public class ListProperty<V extends Persistent> extends CollectionProperty<V,List<V>>
List.
ObjectSelect.query(Artist.class)
.where(Artist.PAINTING_ARRAY.contains(painting));
org.apache.cayenne.exp.propertyentityTypeexpressionSupplier, name, type| Modifier | Constructor and Description |
|---|---|
protected |
ListProperty(String name,
Expression expression,
Class<V> entityType)
Constructs a new property with the given name and expression
|
| Modifier and Type | Method and Description |
|---|---|
ListProperty<V> |
alias(String alias)
Creates alias with different name for this property
|
ListProperty<V> |
enclosing() |
ListProperty<V> |
outer()
Returns a version of this property that represents an OUTER join.
|
contains, contains, contains, containsId, containsId, containsId, flat, getEntityType, notContains, notContains, notContains, notContainsId, notContainsId, notContainsIdasc, ascInsensitive, ascInsensitives, ascs, count, countDistinct, desc, descInsensitive, descInsensitives, descs, eq, eq, equals, function, function, getAlias, getExpression, getFrom, getFromAll, getName, getType, hashCode, in, in, in, isFalse, isNotNull, isNull, isTrue, ne, ne, nin, nin, nin, operator, operator, path, setIn, setInAllclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdisjoint, disjointById, dot, dot, dot, dot, dot, dot, dot, jointdot, dot, dot, dot, dotgetAlias, getExpression, getName, getTypeprotected ListProperty(String name, Expression expression, Class<V> entityType)
name - of the property (will be used as alias for the expression)expression - expression for propertyentityType - type of related entitypublic ListProperty<V> alias(String alias)
alias in class BaseProperty<List<V extends Persistent>>public ListProperty<V> outer()
public ListProperty<V> enclosing()
enclosing in class BaseProperty<List<V extends Persistent>>Copyright © 2001–2021 Apache Cayenne. All rights reserved.