|
||||||||||
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 | |
---|---|
java.lang.Object |
clone()
Clones this index. |
boolean |
equals(java.lang.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. |
java.lang.String |
toString()
|
java.lang.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 onepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface Index
clone
in class IndexImpBase
java.lang.CloneNotSupportedException
- If the cloning did failpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public 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 java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toVerboseString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |