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
ConstructorDescriptionColumnRequiredChange
(Table table, Column column) Creates a new change object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Applies this change to the given database.Returns the column.Methods inherited from class edu.internet2.middleware.grouper.ext.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 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:
getChangedColumn
in interfaceColumnChange
- Returns:
- The column
-
apply
Applies this change to the given database.- Specified by:
apply
in interfaceModelChange
- Parameters:
database
- The databasecaseSensitive
- Whether the case of names matters
-