TypeInfo
public final class OptionalLengthType extends AbstractType
PARAM_POSTFIX_DECIMALS, PARAM_POSTFIX_LENGTH, PARAM_POSTFIX_PRECISION, PARAM_PREFIX
Constructor | Description |
---|---|
OptionalLengthType(java.lang.String jdbcType,
java.lang.String sqlType,
java.lang.String postfix,
DDLGenConfiguration conf) |
Construct a new TypeInfo instance with given JDBC type, SQL type and Configuration.
|
OptionalLengthType(java.lang.String jdbcType,
java.lang.String sqlType,
DDLGenConfiguration conf) |
Construct a new TypeInfo instance with given JDBC type, SQL type and Configuration.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
toDDL(Field field) |
Build DDL string with SQL type and parameters.
|
getJdbcType, getSqlType, merge
public OptionalLengthType(java.lang.String jdbcType, java.lang.String sqlType, DDLGenConfiguration conf)
jdbcType
- The JDBC type.sqlType
- The SQL type.conf
- The configuration to get default parameter values from.public OptionalLengthType(java.lang.String jdbcType, java.lang.String sqlType, java.lang.String postfix, DDLGenConfiguration conf)
jdbcType
- The JDBC type.sqlType
- The SQL type.postfix
- Post fix to be appended after type.conf
- The configuration to get default parameter values from.public java.lang.String toDDL(Field field)
field
- The field to get specific parameters from.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com