Class RemoveUniqueConstraintChange
java.lang.Object
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.TableChangeImplBase
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.RemoveUniqueConstraintChange
- All Implemented Interfaces:
ModelChange,TableChange
Represents the removal of a unique constraint from a table.
-
Constructor Summary
ConstructorsConstructorDescriptionRemoveUniqueConstraintChange(Table table, UniqueConstraint uniqueConstraint) Creates a new change object. -
Method Summary
Modifier and TypeMethodDescriptionvoidApplies this change to the given database.Returns the unique constraint.Methods inherited from class edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration.TableChangeImplBase
getChangedTable
-
Constructor Details
-
RemoveUniqueConstraintChange
Creates a new change object.- Parameters:
table- The table to remove the unique constraint fromuniqueConstraint- The unique constraint
-
-
Method Details
-
getUniqueConstraint
Returns the unique constraint.- Returns:
- The unique constraint
-
apply
Applies this change to the given database.- Parameters:
database- The databasecaseSensitive- Whether the case of names matters
-