Class AssociationQuery

java.lang.Object
io.micronaut.data.model.query.DefaultQuery
io.micronaut.data.model.query.AssociationQuery
All Implemented Interfaces:
Criteria, QueryModel, QueryModel.Criterion

@Deprecated(forRemoval=true, since="4.9") public class AssociationQuery extends DefaultQuery implements QueryModel.Criterion
Deprecated, for removal: This API element is subject to removal in a future version.
Replaced by JPA criteria
Extends a query and allows querying an association.
Since:
1.0
Author:
graemerocher
  • Constructor Details

    • AssociationQuery

      public AssociationQuery(String path, @NonNull @NonNull Association association)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Default constructor.
      Parameters:
      path - The association path
      association - The association.
  • Method Details

    • getPath

      public String getPath()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      The path to the association
    • getAssociation

      public Association getAssociation()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      The association to be queried.