org.apache.ws.jaxme.sqls
public interface Index extends ColumnSet
Interface of an index declaration.
Nested Class Summary | |
---|---|
static interface | Index.Name |
Method Summary | |
---|---|
void | addColumn(Column pColumn) Adds a column to the index. |
void | addColumn(Column.Name pName) Adds the column with the given name to the index by invoking addColumn. |
void | addColumn(String pName) Adds the column with the given name to the index by invoking addColumn. |
Index.Name | getName() Returns the index name. |
boolean | isPrimaryKey() Returns whether the index is a primary key index. |
boolean | isUnique() Returns whether the index is unique. |
void | setName(Index.Name pName) Sets the index name. |
void | setName(String pName) Sets the index name. |
Adds a column to the index. The column must have the same table.
Adds the column with the given name to the index by invoking addColumn.
Adds the column with the given name to the index by invoking addColumn.
Returns the index name. Explicit setting of an index name is not required.
Returns whether the index is a primary key index.
Returns whether the index is unique.
Sets the index name. Explicit setting of an index name is not required.
Sets the index name. Explicit setting of an index name is not required.