Class MappedEntityMapper

java.lang.Object
io.micronaut.data.processor.mappers.MappedEntityMapper
All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationMapper<MappedEntity>, io.micronaut.inject.annotation.TypedAnnotationMapper<MappedEntity>

public class MappedEntityMapper extends Object implements io.micronaut.inject.annotation.TypedAnnotationMapper<MappedEntity>
Configurations bean introspection correctly for each entity.
Since:
1.0.0
Author:
graemerocher
  • Constructor Details

    • MappedEntityMapper

      public MappedEntityMapper()
  • Method Details

    • annotationType

      public Class<MappedEntity> annotationType()
      Specified by:
      annotationType in interface io.micronaut.inject.annotation.TypedAnnotationMapper<MappedEntity>
    • map

      public List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<MappedEntity> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
      Specified by:
      map in interface io.micronaut.inject.annotation.AnnotationMapper<MappedEntity>
    • buildIntrospectionConfiguration

      public static io.micronaut.core.annotation.AnnotationValue<io.micronaut.core.annotation.Introspected> buildIntrospectionConfiguration()
      The bean introspection configuration for a mapped entity.
      Returns:
      The entity