public interface RelationshipProperty<E> extends PathProperty<E>
Provides "dot", prefetch and "outer" functionality.
org.apache.cayenne.exp.property
Modifier and Type | Method and Description |
---|---|
default PrefetchTreeNode |
disjoint()
Returns a prefetch tree that follows this property path, potentially
spanning a number of phantom nodes, and having a single leaf with
"disjoint" prefetch semantics.
|
default PrefetchTreeNode |
disjointById()
Returns a prefetch tree that follows this property path, potentially
spanning a number of phantom nodes, and having a single leaf with
"disjoint by id" prefetch semantics.
|
default <T> BaseIdProperty<T> |
dot(BaseIdProperty<T> property) |
default <T extends EmbeddableObject> |
dot(EmbeddableProperty<T> property)
Constructs a new property path by appending the argument to the existing property separated by a dot.
|
default <T extends Persistent> |
dot(EntityProperty<T> property)
Constructs a new property path by appending the argument to the existing property separated by a dot.
|
default <T extends Persistent> |
dot(ListProperty<T> property)
Constructs a new property path by appending the argument to the existing property separated by a dot.
|
default <K,V extends Persistent> |
dot(MapProperty<K,V> property)
Constructs a new property path by appending the argument to the existing property separated by a dot.
|
default <T extends Number> |
dot(NumericIdProperty<T> property) |
default <T extends Persistent> |
dot(SetProperty<T> property)
Constructs a new property path by appending the argument to the existing property separated by a dot.
|
default PrefetchTreeNode |
joint()
Returns a prefetch tree that follows this property path, potentially
spanning a number of phantom nodes, and having a single leaf with "joint"
prefetch semantics.
|
BaseProperty<E> |
outer()
Returns a version of this property that represents an OUTER join.
|
dot, dot, dot, dot, dot
getAlias, getExpression, getName, getType
BaseProperty<E> outer()
default PrefetchTreeNode joint()
default PrefetchTreeNode disjoint()
default PrefetchTreeNode disjointById()
default <T> BaseIdProperty<T> dot(BaseIdProperty<T> property)
default <T extends Number> NumericIdProperty<T> dot(NumericIdProperty<T> property)
default <T extends Persistent> EntityProperty<T> dot(EntityProperty<T> property)
property
- to append to pathdefault <T extends Persistent> ListProperty<T> dot(ListProperty<T> property)
property
- to append to pathdefault <T extends Persistent> SetProperty<T> dot(SetProperty<T> property)
property
- to append to pathdefault <K,V extends Persistent> MapProperty<K,V> dot(MapProperty<K,V> property)
property
- to append to pathdefault <T extends EmbeddableObject> EmbeddableProperty<T> dot(EmbeddableProperty<T> property)
property
- to append to pathCopyright © 2001–2021 Apache Cayenne. All rights reserved.