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.property
entityType
expressionSupplier, 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, notContainsId
asc, 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, path, setIn, setInAll
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
disjoint, disjointById, dot, dot, dot, dot, dot, dot, dot, joint
dot, dot, dot, dot, dot
getAlias, getExpression, getName, getType
protected 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–2020 Apache Cayenne. All rights reserved.