|
||||||||||
| 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.NonUniqueIndex
public class NonUniqueIndex
Represents an index definition for a table.
| Field Summary |
|---|
| Fields inherited from class org.apache.ddlutils.model.IndexImpBase |
|---|
_columns, _name |
| Constructor Summary | |
|---|---|
NonUniqueIndex()
|
|
| 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 NonUniqueIndex()
| Method Detail |
|---|
public boolean isUnique()
true if the index is an unique one
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface Indexclone in class IndexImpBasejava.lang.CloneNotSupportedException - If the cloning did failpublic boolean equals(java.lang.Object obj)
equals in class java.lang.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 java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toVerboseString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||