Class JoinTableAnnotationMapper
java.lang.Object
io.micronaut.data.processor.mappers.jpa.jx.JoinTableAnnotationMapper
- All Implemented Interfaces:
io.micronaut.core.naming.Named
,io.micronaut.inject.annotation.AnnotationMapper<Annotation>
,io.micronaut.inject.annotation.NamedAnnotationMapper
- Direct Known Subclasses:
JoinTableAnnotationMapper
public class JoinTableAnnotationMapper
extends Object
implements io.micronaut.inject.annotation.NamedAnnotationMapper
Maps JPA's
JoinTable
annotation to Micronaut's.- Since:
- 2.4.0
- Author:
- Denis Stepanov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected io.micronaut.inject.annotation.NamedAnnotationMapper
Override to replace the join column mapper.@NonNull String
getName()
List<io.micronaut.core.annotation.AnnotationValue<?>>
map
(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
-
Constructor Details
-
JoinTableAnnotationMapper
public JoinTableAnnotationMapper()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceio.micronaut.core.naming.Named
-
getJoinColumnAnnotationMapper
protected io.micronaut.inject.annotation.NamedAnnotationMapper getJoinColumnAnnotationMapper()Override to replace the join column mapper.- Returns:
- the join column mapper
-
map
public List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) - Specified by:
map
in interfaceio.micronaut.inject.annotation.AnnotationMapper<Annotation>
-