|
||||||||||
| 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.ColumnRequiredChange
public class ColumnRequiredChange
Represents the change of the required constraint of a column. Since it is a boolean value, this means the required constraint will simply be toggled.
| Constructor Summary | |
|---|---|
ColumnRequiredChange(Table table,
Column column)
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. |
| 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 ColumnRequiredChange(Table table,
Column column)
table - The table of the columncolumn - The column| Method Detail |
|---|
public Column getChangedColumn()
getChangedColumn in interface ColumnChange
public void apply(Database database,
boolean caseSensitive)
apply in interface ModelChangedatabase - The databasecaseSensitive - Whether the case of names matters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||