Class MappedRelationMapper

  • All Implemented Interfaces:
    io.micronaut.inject.annotation.AnnotationMapper<io.micronaut.data.annotation.Relation>, io.micronaut.inject.annotation.TypedAnnotationMapper<io.micronaut.data.annotation.Relation>

    public class MappedRelationMapper
    extends java.lang.Object
    implements io.micronaut.inject.annotation.TypedAnnotationMapper<io.micronaut.data.annotation.Relation>
    Serdeable mapper of Relation.
    Since:
    3.3
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<io.micronaut.data.annotation.Relation> annotationType()  
      java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> map​(io.micronaut.core.annotation.AnnotationValue<io.micronaut.data.annotation.Relation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MappedRelationMapper

        public MappedRelationMapper()
    • Method Detail

      • annotationType

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

        public java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> map​(io.micronaut.core.annotation.AnnotationValue<io.micronaut.data.annotation.Relation> annotation,
                                                                                   io.micronaut.inject.visitor.VisitorContext visitorContext)
        Specified by:
        map in interface io.micronaut.inject.annotation.AnnotationMapper<io.micronaut.data.annotation.Relation>