Class DataAnnotationUtils

java.lang.Object
io.micronaut.data.annotation.DataAnnotationUtils

@Internal public final class DataAnnotationUtils extends Object
The util class for annotations for micronaut-data module.
Since:
4.0.0
Author:
radovanradic
  • Method Details

    • hasJsonEntityRepresentationAnnotation

      public static boolean hasJsonEntityRepresentationAnnotation(@NonNull @NonNull io.micronaut.core.annotation.AnnotationMetadata annotationMetadata)
      Gets an indicator telling whether annotation metadata is annotated with EntityRepresentation with JSON column.
      Parameters:
      annotationMetadata - the annotation metadata
      Returns:
      true if annotation metadata is annotated with EntityRepresentation with JSON column