|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.solarmetric.rd.kodo.impl.jdbc.schema.Index
Represents a database index.
| Method Summary | |
void |
addColumn(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
Add a column to the index. |
boolean |
columnsMatch(com.solarmetric.rd.kodo.impl.jdbc.schema.Column[] idxCols)
Return true if the given columns match the columns of this index. |
int |
compareTo(java.lang.Object other)
Order on name. |
boolean |
containsColumn(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
Return true if the index includes the given column. |
boolean |
equals(java.lang.Object other)
Indexes are equal if they have the same name, the same columns, and are both unique/not unique. |
com.solarmetric.rd.kodo.impl.jdbc.schema.Column[] |
getColumns()
Return all the columns the index spans. |
java.lang.String |
getFullName()
Return the index name, including schema. |
java.lang.String |
getName()
Return the name of the index. |
com.solarmetric.rd.kodo.impl.jdbc.schema.Table |
getTable()
Return the table of the index. |
boolean |
isUnique()
Return true if this is a UNIQUE index. |
boolean |
removeColumn(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
Remove a column from the index. |
void |
setColumns(com.solarmetric.rd.kodo.impl.jdbc.schema.Column[] cols)
Set the index's columns. |
void |
setUnique(boolean unique)
Set whether this is a UNIQUE index. |
java.lang.String |
toString()
Returns the index name. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public com.solarmetric.rd.kodo.impl.jdbc.schema.Table getTable()
public java.lang.String getName()
public java.lang.String getFullName()
public boolean isUnique()
public void setUnique(boolean unique)
public com.solarmetric.rd.kodo.impl.jdbc.schema.Column[] getColumns()
public void setColumns(com.solarmetric.rd.kodo.impl.jdbc.schema.Column[] cols)
public void addColumn(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
public boolean removeColumn(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
public boolean containsColumn(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
public int compareTo(java.lang.Object other)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic boolean columnsMatch(com.solarmetric.rd.kodo.impl.jdbc.schema.Column[] idxCols)
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||