Interface PersistentAssociationPath<OwnerType,AssociatedEntityType>
-
- Type Parameters:
OwnerType- The association owner typeAssociatedEntityType- The association entity type
- All Superinterfaces:
jakarta.persistence.criteria.Expression<AssociatedEntityType>,jakarta.persistence.criteria.FetchParent<OwnerType,AssociatedEntityType>,jakarta.persistence.criteria.From<OwnerType,AssociatedEntityType>,IExpression<AssociatedEntityType>,ISelection<AssociatedEntityType>,jakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>,jakarta.persistence.criteria.Path<AssociatedEntityType>,PersistentEntityFrom<OwnerType,AssociatedEntityType>,PersistentEntityJoin<OwnerType,AssociatedEntityType>,PersistentEntityPath<AssociatedEntityType>,PersistentPropertyPath<AssociatedEntityType>,jakarta.persistence.criteria.Selection<AssociatedEntityType>,jakarta.persistence.TupleElement<AssociatedEntityType>
- All Known Subinterfaces:
PersistentCollectionAssociationPath<OwnerType,AssociatedEntityType>,PersistentListAssociationPath<OwnerType,AssociatedEntityType>,PersistentSetAssociationPath<OwnerType,AssociatedEntityType>
public interface PersistentAssociationPath<OwnerType,AssociatedEntityType> extends PersistentEntityJoin<OwnerType,AssociatedEntityType>, PersistentPropertyPath<AssociatedEntityType>
The persistent entity association path.- Since:
- 3.2
- Author:
- Denis Stepanov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.List<Association>asPath()AssociationgetAssociation()Join.TypegetAssociationJoinType()default jakarta.persistence.metamodel.Attribute<? super OwnerType,?>getAttribute()default jakarta.persistence.criteria.JoinTypegetJoinType()default jakarta.persistence.metamodel.Bindable<AssociatedEntityType>getModel()default jakarta.persistence.criteria.PredicategetOn()default jakarta.persistence.criteria.From<?,OwnerType>getParent()AssociationgetProperty()default jakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>on(jakarta.persistence.criteria.Expression<java.lang.Boolean> restriction)default jakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>on(jakarta.persistence.criteria.Predicate... restrictions)voidsetAlias(java.lang.String alias)Set join alias.voidsetAssociationJoinType(Join.Type type)Set join type.-
Methods inherited from interface jakarta.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
-
Methods inherited from interface jakarta.persistence.criteria.From
getCorrelationParent, getJoins, isCorrelated, join, join, joinMap, joinMap
-
Methods inherited from interface io.micronaut.data.model.jpa.criteria.IExpression
as, in
-
Methods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelection
-
Methods inherited from interface jakarta.persistence.criteria.Path
get, get, get, getParentPath, type
-
Methods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityFrom
join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinSet, joinSet
-
Methods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityPath
get, getPersistentEntity
-
Methods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentPropertyPath
getAssociations, getPathAsString, in, in, in, isBoolean, isComparable, isNotNull, isNull, isNumeric
-
-
-
-
Method Detail
-
getProperty
@NonNull Association getProperty()
- Specified by:
getPropertyin interfacePersistentPropertyPath<OwnerType>
-
getAssociation
@NonNull Association getAssociation()
-
getAssociationJoinType
@Nullable Join.Type getAssociationJoinType()
- Returns:
- The join type
-
setAssociationJoinType
void setAssociationJoinType(@Nullable Join.Type type)Set join type.- Parameters:
type- The join type
-
setAlias
void setAlias(java.lang.String alias)
Set join alias.- Parameters:
alias- The alias
-
asPath
@NonNull default java.util.List<Association> asPath()
-
on
@NonNull default jakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType> on(jakarta.persistence.criteria.Expression<java.lang.Boolean> restriction)
- Specified by:
onin interfacejakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>
-
on
@NonNull default jakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType> on(jakarta.persistence.criteria.Predicate... restrictions)
- Specified by:
onin interfacejakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>
-
getOn
@Nullable default jakarta.persistence.criteria.Predicate getOn()
- Specified by:
getOnin interfacejakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>
-
getAttribute
@NonNull default jakarta.persistence.metamodel.Attribute<? super OwnerType,?> getAttribute()
- Specified by:
getAttributein interfacejakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>
-
getParent
@Nullable default jakarta.persistence.criteria.From<?,OwnerType> getParent()
- Specified by:
getParentin interfacejakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>
-
getJoinType
@NonNull default jakarta.persistence.criteria.JoinType getJoinType()
- Specified by:
getJoinTypein interfacejakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>
-
getModel
@NonNull default jakarta.persistence.metamodel.Bindable<AssociatedEntityType> getModel()
- Specified by:
getModelin interfacejakarta.persistence.criteria.Path<OwnerType>
-
-