Class AssociationUtils

java.lang.Object
io.micronaut.data.model.AssociationUtils

@Internal public final class AssociationUtils extends Object
Internal association utilities.
Since:
1.0.0
Author:
graemerocher
  • Method Details

    • getJoinFetchPaths

      public static Set<JoinPath> getJoinFetchPaths(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata)
      Gets the join paths from the annotation metadata.
      Parameters:
      annotationMetadata - the annotation metadata
      Returns:
      the join paths, if none defined and not of type FETCH then an empty set
    • getJoinPaths

      public static Set<JoinPath> getJoinPaths(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata)
      Gets all the join paths from the annotation metadata.
      Parameters:
      annotationMetadata - the annotation metadata
      Returns:
      the join paths