TypeMapper
Db2TypeMapper
, DerbyTypeMapper
, HsqlTypeMapper
, MssqlTypeMapper
, MysqlTypeMapper
, OracleTypeMapper
, PointBaseTypeMapper
, PostgresqlTypeMapper
, SapdbTypeMapper
, SybaseTypeMapper
public abstract class AbstractTypeMapper extends java.lang.Object implements TypeMapper
Modifier | Constructor | Description |
---|---|---|
protected |
AbstractTypeMapper(DDLGenConfiguration conf) |
Construct an abstract TypeMapper using given configuration to get default
parameters for parameterized types.
|
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.
|
protected AbstractTypeMapper(DDLGenConfiguration conf)
conf
- The configuration to get default parameter values from.protected abstract void initialize(DDLGenConfiguration conf)
conf
- The configuration to get default parameter values from.protected final void add(TypeInfo type)
type
- The TypeInfo to add.public final TypeInfo getType(java.lang.String jdcbType)
getType
in interface TypeMapper
jdcbType
- JDBC type to get TypeInfo for.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com