Package io.micronaut.data.annotation
Class DataAnnotationUtils
java.lang.Object
io.micronaut.data.annotation.DataAnnotationUtils
The util class for annotations for micronaut-data module.
- Since:
- 4.0.0
- Author:
- radovanradic
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
hasJsonEntityRepresentationAnnotation
(@NonNull io.micronaut.core.annotation.AnnotationMetadata annotationMetadata) Gets an indicator telling whether annotation metadata is annotated withEntityRepresentation
with JSON column.
-
Method Details
-
hasJsonEntityRepresentationAnnotation
public static boolean hasJsonEntityRepresentationAnnotation(@NonNull @NonNull io.micronaut.core.annotation.AnnotationMetadata annotationMetadata) Gets an indicator telling whether annotation metadata is annotated withEntityRepresentation
with JSON column.- Parameters:
annotationMetadata
- the annotation metadata- Returns:
- true if annotation metadata is annotated with
EntityRepresentation
with JSON column
-