|
||||||||||
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.AddIndexChange
public class AddIndexChange
Represents the addition of an index to a table.
Constructor Summary | |
---|---|
AddIndexChange(Table table,
Index newIndex)
Creates a new change object. |
Method Summary | |
---|---|
void |
apply(Database database,
boolean caseSensitive)
Applies this change to the given database. |
Index |
getNewIndex()
Returns the new index. |
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 AddIndexChange(Table table, Index newIndex)
table
- The table to add the index tonewIndex
- The new indexMethod Detail |
---|
public Index getNewIndex()
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 |