|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ddlutils.alteration.TableChangeImplBase
org.apache.ddlutils.alteration.ColumnDataTypeChange
Represents the change of the data type of a column.
Constructor Summary | |
ColumnDataTypeChange(Table table,
Column column,
int newTypeCode)
Creates a new change object. |
Method Summary | |
void |
apply(Database database,
boolean caseSensitive)
Applies this change to the given database. |
Column |
getChangedColumn()
Returns the column. |
int |
getNewTypeCode()
Returns the JDBC type code of the new type. |
Methods inherited from class org.apache.ddlutils.alteration.TableChangeImplBase |
getChangedTable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.ddlutils.alteration.TableChange |
getChangedTable |
Constructor Detail |
public ColumnDataTypeChange(Table table, Column column, int newTypeCode)
table
- The table of the columncolumn
- The columnnewTypeCode
- The JDBC type code of the new typeMethod Detail |
public Column getChangedColumn()
getChangedColumn
in interface ColumnChange
public int getNewTypeCode()
public void apply(Database database, boolean caseSensitive)
apply
in interface ModelChange
database
- The databasecaseSensitive
- Whether the case of names matters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |