Class AssociationQuery

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

public class AssociationQuery extends DefaultQuery implements QueryModel.Criterion
Extends a query and allows querying an association.
Since:
1.0
Author:
graemerocher
  • Constructor Details

    • AssociationQuery

      public AssociationQuery(String path, @NonNull @NonNull Association association)
      Default constructor.
      Parameters:
      path - The association path
      association - The association.
  • Method Details

    • getPath

      public String getPath()
      Returns:
      The path to the association
    • getAssociation

      public Association getAssociation()
      Returns:
      The association to be queried.