Interface PersistentAssociationPath<OwnerType,AssociatedEntityType>

Type Parameters:
OwnerType - The association owner type
AssociatedEntityType - 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 Details

    • getProperty

      @NonNull @NonNull Association getProperty()
      Specified by:
      getProperty in interface PersistentPropertyPath<OwnerType>
    • getAssociation

      @NonNull @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(String alias)
      Set join alias.
      Parameters:
      alias - The alias
    • asPath

      @NonNull default @NonNull List<Association> asPath()
    • on

      @NonNull default @NonNull jakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType> on(jakarta.persistence.criteria.Expression<Boolean> restriction)
      Specified by:
      on in interface jakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>
    • on

      @NonNull default @NonNull jakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType> on(jakarta.persistence.criteria.Predicate... restrictions)
      Specified by:
      on in interface jakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>
    • getOn

      @Nullable default @Nullable jakarta.persistence.criteria.Predicate getOn()
      Specified by:
      getOn in interface jakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>
    • getAttribute

      @NonNull default @NonNull jakarta.persistence.metamodel.Attribute<? super OwnerType,?> getAttribute()
      Specified by:
      getAttribute in interface jakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>
    • getParent

      @Nullable default @Nullable jakarta.persistence.criteria.From<?,OwnerType> getParent()
      Specified by:
      getParent in interface jakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>
    • getJoinType

      @NonNull default @NonNull jakarta.persistence.criteria.JoinType getJoinType()
      Specified by:
      getJoinType in interface jakarta.persistence.criteria.Join<OwnerType,AssociatedEntityType>
    • getModel

      @NonNull default @NonNull jakarta.persistence.metamodel.Bindable<AssociatedEntityType> getModel()
      Specified by:
      getModel in interface jakarta.persistence.criteria.Path<OwnerType>