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

## net.java.ao.schema.ddl
Class DDLIndex

    java.lang.Object
      net.java.ao.schema.ddl.DDLIndex

    public class DDLIndex

extends Object

Database-agnostic reprensentation of a general field index statement (not related to full-text indexing). To save on object creation, as well as to simplify schema parsing, table and field names are stored rather than full DDL representations. This class also defines the convention imposed to generate the names of field indexes. It is important that all DDL renderers (i.e. database providers) observe this convention, else migrations will do strange things.

Author:
  Daniel Spiewak

Constructor Summary
`DDLIndex()`

Method Summary
`boolean` | `equals(Object obj)`
`String` | `getField()`
`String` | `getName()`
`String` | `getTable()`
`DatabaseType<?>` | `getType()`
`int` | `hashCode()`
`void` | `setField(String field)`
`void` | `setTable(String table)`
`void` | `setType(DatabaseType<?> type)`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DDLIndex

    public DDLIndex()

Method Detail

### getTable

    public String getTable()

### setTable

    public void setTable(String table)

### getField

    public String getField()

### setField

    public void setField(String field)

### getName

    public String getName()

### getType

    public DatabaseType<?> getType()

### setType

    public void setType(DatabaseType<?> type)

### equals

    public boolean equals(Object obj)

  Overrides:
    `equals` in class `Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

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

Copyright © 2007-2011. All Rights Reserved.