public class DBUniqueConstraint extends DBConstraint implements MultiColumnObject
doc, name, objectType, owner| Constructor and Description |
|---|
DBUniqueConstraint(DBTable owner,
String name,
boolean nameDeterministic,
String... columnNames) |
| Modifier and Type | Method and Description |
|---|---|
void |
addColumnName(String columnName) |
String[] |
getColumnNames()
Returns the columns which constitute this constraint
|
boolean |
isIdentical(DBObject other)
tells if an object has the same definition as another one.
|
String |
toString() |
equals, getTable, hashCode, isNameDeterministicsetTablegetDoc, getName, getObjectType, getOwner, setDoc, setName, setOwnerclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDoc, getObjectType, getOwner, setOwnerpublic String[] getColumnNames()
DBConstraintgetColumnNames in interface MultiColumnObjectgetColumnNames in class DBConstraintpublic void addColumnName(String columnName)
public boolean isIdentical(DBObject other)
DBObjectisIdentical in interface DBObjectpublic String toString()
toString in class DBConstraintCopyright © 2006–2014 Volker Bergmann. All rights reserved.