Class CanonicalJson.CJOpenEHRTypeNaming

java.lang.Object
com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
org.ehrbase.openehr.sdk.serialisation.jsonencoding.CanonicalJson.CJOpenEHRTypeNaming
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsontype.TypeIdResolver
Enclosing class:
CanonicalJson

public static class CanonicalJson.CJOpenEHRTypeNaming extends com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
  • Field Summary

    Fields inherited from class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver

    _subTypeValidator

    Fields inherited from class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase

    _baseType, _typeFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.fasterxml.jackson.databind.JavaType
    _typeFromId(String typeName, com.fasterxml.jackson.databind.DatabindContext ctxt)
     
    com.fasterxml.jackson.annotation.JsonTypeInfo.Id
     
     
    com.fasterxml.jackson.databind.JavaType
    typeFromId(com.fasterxml.jackson.databind.DatabindContext context, String id)
     

    Methods inherited from class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver

    _idFrom, construct, getDescForKnownTypeIds, idFromValueAndType, registerSubtype

    Methods inherited from class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase

    idFromBaseType, init

    Methods inherited from class java.lang.Object

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

    • CJOpenEHRTypeNaming

      public CJOpenEHRTypeNaming()
  • Method Details

    • getMechanism

      public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
      Specified by:
      getMechanism in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      Overrides:
      getMechanism in class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
    • idFromValue

      public String idFromValue(Object value)
      Specified by:
      idFromValue in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      Overrides:
      idFromValue in class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
    • typeFromId

      public com.fasterxml.jackson.databind.JavaType typeFromId(com.fasterxml.jackson.databind.DatabindContext context, String id) throws IOException
      Specified by:
      typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
      Overrides:
      typeFromId in class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
      Throws:
      IOException
    • _typeFromId

      protected com.fasterxml.jackson.databind.JavaType _typeFromId(String typeName, com.fasterxml.jackson.databind.DatabindContext ctxt) throws IOException
      Overrides:
      _typeFromId in class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
      Throws:
      IOException