| |
|
| java.lang.Object xdoclet.modules.ojb.model.DefBase xdoclet.modules.ojb.model.IndexDef
Constructor Summary | |
public | IndexDef(String name, boolean isUnique) Creates a new index descriptor definition object. |
Method Summary | |
public void | addColumn(String column) Adds a column to this index. | public Iterator | getColumns() Returns an iterator of the columns of this index. | public boolean | isDefault() Determines whether this index is the default index. | public boolean | isUnique() Returns whether this index is unique. |
IndexDef | public IndexDef(String name, boolean isUnique)(Code) | | Creates a new index descriptor definition object.
Parameters: name - The name of the index Parameters: isUnique - Whether this index is unique |
addColumn | public void addColumn(String column)(Code) | | Adds a column to this index.
Parameters: column - The column |
getColumns | public Iterator getColumns()(Code) | | Returns an iterator of the columns of this index.
The iterator |
isDefault | public boolean isDefault()(Code) | | Determines whether this index is the default index.
true if it is the default index |
isUnique | public boolean isUnique()(Code) | | Returns whether this index is unique.
true if this index is an unique index |
|
|
|