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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.micronaut.core.annotation.AnnotationValue<io.micronaut.core.annotation.Introspected>
The bean introspection configuration for a mapped entity.List<io.micronaut.core.annotation.AnnotationValue<?>>
map
(io.micronaut.core.annotation.AnnotationValue<MappedEntity> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
-
Constructor Details
-
MappedEntityMapper
public MappedEntityMapper()
-
-
Method Details
-
annotationType
- Specified by:
annotationType
in interfaceio.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 interfaceio.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
-