Class AbstractTypeMapper

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractTypeMapper​(DDLGenConfiguration conf)
      Construct an abstract TypeMapper using given configuration to get default parameters for parameterized types.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void add​(TypeInfo type)
      Add TypeInfo to map of known types.
      TypeInfo getType​(java.lang.String jdcbType)
      Get TypeInfo for given JDBC type.
      protected abstract void initialize​(DDLGenConfiguration conf)
      Initialize map of known types using given configuration to get default parameters for parameterized types.
      • Methods inherited from class java.lang.Object

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

      • AbstractTypeMapper

        protected AbstractTypeMapper​(DDLGenConfiguration conf)
        Construct an abstract TypeMapper using given configuration to get default parameters for parameterized types.
        Parameters:
        conf - The configuration to get default parameter values from.
    • Method Detail

      • initialize

        protected abstract void initialize​(DDLGenConfiguration conf)
        Initialize map of known types using given configuration to get default parameters for parameterized types.
        Parameters:
        conf - The configuration to get default parameter values from.
      • add

        protected final void add​(TypeInfo type)
        Add TypeInfo to map of known types.
        Parameters:
        type - The TypeInfo to add.
      • getType

        public final TypeInfo getType​(java.lang.String jdcbType)
        Get TypeInfo for given JDBC type.
        Specified by:
        getType in interface TypeMapper
        Parameters:
        jdcbType - JDBC type to get TypeInfo for.
        Returns:
        TypeInfo for the given JDBC type.