Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.ddlutils.alteration
Class RemoveIndexChange

    java.lang.Object
      org.apache.ddlutils.alteration.TableChangeImplBase
          org.apache.ddlutils.alteration.RemoveIndexChange

All Implemented Interfaces:
  ModelChange, TableChange

    public class RemoveIndexChange

extends TableChangeImplBase

Represents the removal of an index from a table.

Version:
  $Revision: $

Constructor Summary
`RemoveIndexChange(Table table, Index index)` Creates a new change object.

Method Summary
`void` | `apply(Database database, boolean caseSensitive)` Applies this change to the given database.
`Index` | `getIndex()` Returns the 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

### RemoveIndexChange

    public RemoveIndexChange(Table table,
                             Index index)

  Creates a new change object.

  Parameters:
    `table` - The table to remove the index from
    `index` - The index

Method Detail

### getIndex

    public Index getIndex()

  Returns the index.

  Returns:
    The index

### apply

    public void apply(Database database,
                      boolean caseSensitive)

  Applies this change to the given database.

  Parameters:
    `database` - The database
    `caseSensitive` - Whether the case of names matters

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.