|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ddlutils.model.IndexImpBase
org.apache.ddlutils.model.UniqueIndex
public class UniqueIndex
Provides compatibility with Torque-style xml with separate <index> and <unique> tags, but adds no functionality. All indexes are treated the same by the Table.
| Field Summary |
|---|
| Fields inherited from class org.apache.ddlutils.model.IndexImpBase |
|---|
_columns, _name |
| Constructor Summary | |
|---|---|
UniqueIndex()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Clones this index. |
boolean |
equals(Object obj)
|
boolean |
equalsIgnoreCase(Index other)
Compares this index to the given one while ignoring the case of identifiers. |
int |
hashCode()
|
boolean |
isUnique()
Determines whether this index is unique or not. |
String |
toString()
|
String |
toVerboseString()
Returns a verbose string representation of this index. |
| Methods inherited from class org.apache.ddlutils.model.IndexImpBase |
|---|
addColumn, getColumn, getColumnCount, getColumns, getName, hasColumn, removeColumn, removeColumn, setName |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UniqueIndex()
| Method Detail |
|---|
public boolean isUnique()
true if the index is an unique one
public Object clone()
throws CloneNotSupportedException
clone in interface Indexclone in class IndexImpBaseCloneNotSupportedException - If the cloning did failpublic boolean equals(Object obj)
equals in class Objectpublic boolean equalsIgnoreCase(Index other)
other - The other index
true if this index is equal (ignoring case) to the given onepublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic String toVerboseString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||