org.apache.ws.jaxme.sqls
Interface Index
- ColumnSet
- IndexImpl
Interface of an index declaration.
addColumn
public void addColumn(String pName)
addColumn
public void addColumn(Column pColumn)
Adds a column to the index. The column must have the
same table.
getName
public Index.Name getName()
Returns the index name. Explicit setting of an index name
is not required.
isPrimaryKey
public boolean isPrimaryKey()
Returns whether the index is a primary key index.
isUnique
public boolean isUnique()
Returns whether the index is unique.
setName
public void setName(String pName)
Sets the index name. Explicit setting of an index name
is not required.
setName
public void setName(Index.Name pName)
Sets the index name. Explicit setting of an index name
is not required.