Class ColumnDefaultValueChange
java.lang.Object
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.TableChangeImplBase
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.ColumnDefaultValueChange
- All Implemented Interfaces:
ColumnChange
,ModelChange
,TableChange
Represents the change of the default value of a column.
- Version:
- $Revision: $
-
Constructor Summary
ConstructorDescriptionColumnDefaultValueChange
(Table table, Column column, String newDefaultValue) Creates a new change object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Applies this change to the given database.Returns the column.Returns the new default value.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
-
ColumnDefaultValueChange
Creates a new change object.- Parameters:
table
- The table of the columncolumn
- The columnnewDefaultValue
- The new default value
-
-
Method Details
-
getChangedColumn
Returns the column.- Specified by:
getChangedColumn
in interfaceColumnChange
- Returns:
- The column
-
getNewDefaultValue
Returns the new default value.- Returns:
- The new default value
-
apply
Applies this change to the given database.- Specified by:
apply
in interfaceModelChange
- Parameters:
database
- The databasecaseSensitive
- Whether the case of names matters
-