Class ColumnRequiredChange
java.lang.Object
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.TableChangeImplBase
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.ColumnRequiredChange
- All Implemented Interfaces:
ColumnChange,ModelChange,TableChange
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.
- Version:
- $Revision: $
-
Constructor Summary
ConstructorsConstructorDescriptionColumnRequiredChange(Table table, Column column) Creates a new change object. -
Method Summary
Modifier and TypeMethodDescriptionvoidApplies this change to the given database.Returns the column.Methods inherited from class edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.TableChangeImplBase
getChangedTableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.TableChange
getChangedTable
-
Constructor Details
-
ColumnRequiredChange
Creates a new change object.- Parameters:
table- The table of the columncolumn- The column
-
-
Method Details
-
getChangedColumn
Returns the column.- Specified by:
getChangedColumnin interfaceColumnChange- Returns:
- The column
-
apply
Applies this change to the given database.- Specified by:
applyin interfaceModelChange- Parameters:
database- The databasecaseSensitive- Whether the case of names matters
-