Package 

Class TypeManagerContext

  • All Implemented Interfaces:

    
    public final class TypeManagerContext
    
                        

    Normally type managers are bound to particular type (TypeManager.targetType property). However, sometimes that is not enough. Consider, for example, LocalDateTime - when we parse it from string, we need to use particular format. Different use-cases might require different formats.

    Another example is String - normally we use it as-is but for SQL context we want to parse values like 'value' as value (strip single quotes).

    So, normally al TypeManager implementations should have unique combination of TypeManager.targetType and TypeManager.targetContext

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String id
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getId()
      String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait