TypeInfo
LobType
, NoParamType
, NotSupportedType
, OptionalLengthType
, OptionalPrecisionDecimalsType
, OptionalPrecisionType
, RequiredLengthType
, RequiredPrecisionType
public abstract class AbstractType extends java.lang.Object implements TypeInfo
Modifier and Type | Field | Description |
---|---|---|
protected static java.lang.String |
PARAM_POSTFIX_DECIMALS |
Postfix of decimals parameters for types in ddl.properties file.
|
protected static java.lang.String |
PARAM_POSTFIX_LENGTH |
Postfix of length parameters for types in ddl.properties file.
|
protected static java.lang.String |
PARAM_POSTFIX_PRECISION |
Postfix of precision parameters for types in ddl.properties file.
|
protected static java.lang.String |
PARAM_PREFIX |
Prefix of all parameters for types in ddl.properties file.
|
Constructor | Description |
---|---|
AbstractType(java.lang.String jdbcType,
java.lang.String sqlType) |
Construct a new TypeInfo instance with given Configuration, JDBC type and SQL type.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getJdbcType() |
Get JDBC type.
|
java.lang.String |
getSqlType() |
Get SQL type.
|
void |
merge(TypeInfo type) |
Merge 2 TypeInfo's.
|
protected static final java.lang.String PARAM_PREFIX
protected static final java.lang.String PARAM_POSTFIX_LENGTH
protected static final java.lang.String PARAM_POSTFIX_PRECISION
protected static final java.lang.String PARAM_POSTFIX_DECIMALS
public AbstractType(java.lang.String jdbcType, java.lang.String sqlType)
jdbcType
- The JDBC type.sqlType
- The SQL type.public final java.lang.String getJdbcType()
getJdbcType
in interface TypeInfo
public final java.lang.String getSqlType()
getSqlType
in interface TypeInfo
public final void merge(TypeInfo type) throws GeneratorException
merge
in interface TypeInfo
type
- type inforGeneratorException
- exceptionIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com