public abstract class AbstractType extends Object implements TypeInfo
Modifier and Type | Field and Description |
---|---|
protected static String |
PARAM_POSTFIX_DECIMALS
Postfix of decimals parameters for types in ddl.properties file.
|
protected static String |
PARAM_POSTFIX_LENGTH
Postfix of length parameters for types in ddl.properties file.
|
protected static String |
PARAM_POSTFIX_PRECISION
Postfix of precision parameters for types in ddl.properties file.
|
protected static String |
PARAM_PREFIX
Prefix of all parameters for types in ddl.properties file.
|
Constructor and Description |
---|
AbstractType(String jdbcType,
String sqlType)
Construct a new TypeInfo instance with given Configuration, JDBC type and SQL type.
|
Modifier and Type | Method and Description |
---|---|
String |
getJdbcType()
Get JDBC type.
|
String |
getSqlType()
Get SQL type.
|
void |
merge(TypeInfo type)
Merge 2 TypeInfo's.
|
protected static final String PARAM_PREFIX
protected static final String PARAM_POSTFIX_LENGTH
protected static final String PARAM_POSTFIX_PRECISION
protected static final String PARAM_POSTFIX_DECIMALS
public final String getJdbcType()
getJdbcType
in interface TypeInfo
public final String getSqlType()
getSqlType
in interface TypeInfo
public final void merge(TypeInfo type) throws GeneratorException
merge
in interface TypeInfo
type
- type inforGeneratorException
- exceptionCopyright © 2013. All rights reserved.