Class MappedIdMapper

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

    public class MappedIdMapper
    extends java.lang.Object
    implements io.micronaut.inject.annotation.TypedAnnotationMapper<Id>
    Serdeable mapper of Id.
    Since:
    3.3
    Author:
    Denis Stepanov
    • Constructor Summary

      Constructors 
      Constructor Description
      MappedIdMapper()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<Id> annotationType()  
      java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> map​(io.micronaut.core.annotation.AnnotationValue<Id> 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

      • MappedIdMapper

        public MappedIdMapper()
    • Method Detail

      • annotationType

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

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