|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.sqls.impl.ColumnSetImpl
org.apache.ws.jaxme.sqls.impl.IndexImpl
| Nested Class Summary | |
static class |
IndexImpl.NameImpl
|
| Nested classes inherited from class org.apache.ws.jaxme.sqls.Index |
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). |
java.util.Iterator |
getColumns()
Returns the column sets columns. |
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 class org.apache.ws.jaxme.sqls.impl.ColumnSetImpl |
getTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.ws.jaxme.sqls.ColumnSet |
getTable |
| Method Detail |
public void setName(Index.Name pName)
IndexSets the index name. Explicit setting of an index name is not required.
setName in interface Indexpublic void setName(java.lang.String pName)
IndexSets the index name. Explicit setting of an index name is not required.
setName in interface Indexpublic Index.Name getName()
IndexReturns the index name. Explicit setting of an index name is not required.
getName in interface Indexpublic void addColumn(Column pColumn)
IndexAdds a column to the index. The column must have the same table.
addColumn in interface Indexpublic void addColumn(Column.Name pName)
IndexAdds the column with the given name to the index
by invoking Index.addColumn(Column).
addColumn in interface Indexpublic void addColumn(java.lang.String pName)
IndexAdds the column with the given name to the index
by invoking Index.addColumn(Column).
addColumn in interface Indexpublic boolean isUnique()
IndexReturns whether the index is unique.
isUnique in interface Indexpublic boolean isPrimaryKey()
IndexReturns whether the index is a primary key index.
isPrimaryKey in interface Indexpublic java.util.Iterator getColumns()
ColumnSetReturns the column sets columns. In the case of an Index,
these are the columns that have been added via Index.addColumn(Column).
In the case of a ForeignKey, these are the local columns of
column links.
getColumns in interface ColumnSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||