org.apache.ddlutils.model
Class UniqueIndex
java.lang.Object
org.apache.ddlutils.model.NonUniqueIndex
org.apache.ddlutils.model.UniqueIndex
- All Implemented Interfaces:
- Cloneable, Index, Serializable
- public class UniqueIndex
- extends NonUniqueIndex
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.
- Version:
- $Revision: 365443 $
- Author:
- John Marshall/Connectria
- See Also:
- Serialized Form
UniqueIndex
public UniqueIndex()
isUnique
public boolean isUnique()
- Determines whether this index is unique or not.
- Specified by:
isUnique
in interface Index
- Overrides:
isUnique
in class NonUniqueIndex
clone
protected Object clone()
throws CloneNotSupportedException
-
- Overrides:
clone
in class NonUniqueIndex
- Throws:
CloneNotSupportedException
equals
public boolean equals(Object obj)
-
- Overrides:
equals
in class NonUniqueIndex
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class NonUniqueIndex
toString
public String toString()
-
- Overrides:
toString
in class NonUniqueIndex
toVerboseString
public String toVerboseString()
- Returns a verbose string representation of this index.
- Specified by:
toVerboseString
in interface Index
- Overrides:
toVerboseString
in class NonUniqueIndex
Copyright © 2005 Apache Software Foundation. All Rights Reserved.