Class AddTableChange
java.lang.Object
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.AddTableChange
- All Implemented Interfaces:
ModelChange
Represents the addition of a table to a model. Note that this change does not include foreign keys
originating from the new table.
- Version:
- $Revision: $
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Applies this change to the given database.Returns the new table.
-
Constructor Details
-
AddTableChange
Creates a new change object.- Parameters:
newTable
- The new table
-
-
Method Details
-
getNewTable
Returns the new table. Note that only the columns and table-level constraints are to be used. Any model-level constraints (e.g. foreign keys) shall be ignored as there are different change objects for them.- Returns:
- The new table
-
apply
Applies this change to the given database.- Specified by:
apply
in interfaceModelChange
- Parameters:
database
- The databasecaseSensitive
- Whether the case of names matters
-