Class ActionTypeIdResolver

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.jsontype.TypeIdResolver

    public class ActionTypeIdResolver
    extends java.lang.Object
    implements com.fasterxml.jackson.databind.jsontype.TypeIdResolver
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String ACTION_PACKAGE  
      private com.fasterxml.jackson.databind.JavaType baseType  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescForKnownTypeIds()  
      com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()  
      java.lang.String idFromBaseType()  
      java.lang.String idFromValue​(java.lang.Object value)  
      java.lang.String idFromValueAndType​(java.lang.Object value, java.lang.Class<?> suggestedType)  
      void init​(com.fasterxml.jackson.databind.JavaType baseType)  
      com.fasterxml.jackson.databind.JavaType typeFromId​(com.fasterxml.jackson.databind.DatabindContext context, java.lang.String id)  
      • Methods inherited from class java.lang.Object

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

      • baseType

        private com.fasterxml.jackson.databind.JavaType baseType
    • Constructor Detail

      • ActionTypeIdResolver

        public ActionTypeIdResolver()
    • Method Detail

      • init

        public void init​(com.fasterxml.jackson.databind.JavaType baseType)
        Specified by:
        init in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      • idFromValue

        public java.lang.String idFromValue​(java.lang.Object value)
        Specified by:
        idFromValue in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      • idFromValueAndType

        public java.lang.String idFromValueAndType​(java.lang.Object value,
                                                   java.lang.Class<?> suggestedType)
        Specified by:
        idFromValueAndType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      • typeFromId

        public com.fasterxml.jackson.databind.JavaType typeFromId​(com.fasterxml.jackson.databind.DatabindContext context,
                                                                  java.lang.String id)
        Specified by:
        typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      • getMechanism

        public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
        Specified by:
        getMechanism in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      • idFromBaseType

        public java.lang.String idFromBaseType()
        Specified by:
        idFromBaseType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      • getDescForKnownTypeIds

        public java.lang.String getDescForKnownTypeIds()
        Specified by:
        getDescForKnownTypeIds in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver