|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Index
Interface of an index declaration.
Nested Class Summary | |
---|---|
static interface |
Index.Name
|
Method Summary | |
---|---|
void |
addColumn(Column.Name pName)
Adds the column with the given name to the index by invoking addColumn(Column) . |
void |
addColumn(Column pColumn)
Adds a column to the index. |
void |
addColumn(java.lang.String pName)
Adds the column with the given name to the index by invoking addColumn(Column) . |
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(java.lang.String pName)
Sets the index name. |
Methods inherited from interface org.apache.ws.jaxme.sqls.ColumnSet |
---|
getColumns, getTable |
Method Detail |
---|
void setName(Index.Name pName)
Sets the index name. Explicit setting of an index name is not required.
void setName(java.lang.String pName)
Sets the index name. Explicit setting of an index name is not required.
Index.Name getName()
Returns the index name. Explicit setting of an index name is not required.
void addColumn(Column pColumn)
Adds a column to the index. The column must have the same table.
void addColumn(Column.Name pName)
Adds the column with the given name to the index
by invoking addColumn(Column)
.
void addColumn(java.lang.String pName)
Adds the column with the given name to the index
by invoking addColumn(Column)
.
boolean isUnique()
Returns whether the index is unique.
boolean isPrimaryKey()
Returns whether the index is a primary key index.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |