Package | Description |
---|---|
org.apache.cayenne.exp.property |
Property API
|
Modifier and Type | Method and Description |
---|---|
EntityProperty<E> |
EntityProperty.alias(String alias)
Creates alias with different name for this property
|
static <T extends Persistent> |
PropertyFactory.createEntity(Expression expression,
Class<T> type)
Create entity property
|
static <T extends Persistent> |
PropertyFactory.createEntity(String name,
Class<T> type)
Create entity property
|
static <T extends Persistent> |
PropertyFactory.createEntity(String name,
Expression expression,
Class<T> entityType)
Create entity property
|
static <T extends Persistent> |
PropertyFactory.createSelf(Class<T> type)
Self property allows to create column queries that return
full objects along with custom column set.
|
static <T extends Persistent> |
PropertyFactory.createSelf(Expression expression,
Class<T> type)
Self property allows to create column queries that return
full objects along with custom column set.
|
default <T extends Persistent> |
RelationshipProperty.dot(EntityProperty<T> property)
Constructs a new property path by appending the argument to the existing property separated by a dot.
|
EntityProperty<E> |
EntityProperty.enclosing() |
EntityProperty<V> |
MapProperty.flat()
Create new "flat" property for toMany relationship.
|
EntityProperty<V> |
CollectionProperty.flat()
Create new "flat" property for toMany relationship.
|
EntityProperty<E> |
EntityProperty.outer()
Returns a version of this property that represents an OUTER join.
|
Modifier and Type | Method and Description |
---|---|
default <T extends Persistent> |
RelationshipProperty.dot(EntityProperty<T> property)
Constructs a new property path by appending the argument to the existing property separated by a dot.
|
Copyright © 2001–2020 Apache Cayenne. All rights reserved.