|
|||||||||
| Home >> All >> org >> apache >> torque >> engine >> database >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.torque.engine.database.model
Class Unique

java.lang.Objectorg.apache.torque.engine.database.model.Index
org.apache.torque.engine.database.model.Unique
- public class Unique
- extends Index
Information about unique columns of a table. This class assumes that in the underlying RDBMS, unique constraints and unique indices are roughly equivalent. For example, adding a unique constraint to a column also creates an index on that column (this is known to be true for MySQL and Oracle).
- Version:
- $Id: Unique.java,v 1.1.2.2 2004/05/20 04:34:15 seade Exp $
| Field Summary |
| Fields inherited from class org.apache.torque.engine.database.model.Index |
|
| Constructor Summary | |
Unique()
|
|
| Method Summary | |
boolean |
isUnique()
Returns true. |
java.lang.String |
toString()
String representation of the index. |
| Methods inherited from class org.apache.torque.engine.database.model.Index |
addColumn, getColumnList, getColumnNames, getColumns, getName, getTable, getTableName, loadFromXML, setName, setTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
Unique
public Unique()
| Method Detail |
isUnique
public final boolean isUnique()
toString
public java.lang.String toString()
- String representation of the index. This is an xml representation.
|
|||||||||
| Home >> All >> org >> apache >> torque >> engine >> database >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC