|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ddlutils.alteration.TableChangeImplBase
org.apache.ddlutils.alteration.RemovePrimaryKeyChange
public class RemovePrimaryKeyChange
Represents the removal of the primary key from a table.
| Constructor Summary | |
|---|---|
RemovePrimaryKeyChange(Table table,
Column[] primaryKeyColumns)
Creates a new change object. |
|
| Method Summary | |
|---|---|
void |
apply(Database database,
boolean caseSensitive)
Applies this change to the given database. |
Column[] |
getPrimaryKeyColumns()
Returns the primary key columns making up the primary key. |
| Methods inherited from class org.apache.ddlutils.alteration.TableChangeImplBase |
|---|
getChangedTable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemovePrimaryKeyChange(Table table,
Column[] primaryKeyColumns)
table - The table to remove the primary key fromprimaryKeyColumns - The columns making up the primary key| Method Detail |
|---|
public Column[] getPrimaryKeyColumns()
public void apply(Database database,
boolean caseSensitive)
database - The databasecaseSensitive - Whether the case of names matters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||