public class DBCheckConstraint extends DBConstraint
doc, name, objectType, owner| Constructor and Description |
|---|
DBCheckConstraint(String name,
boolean nameDeterministic,
DBTable owner,
String conditionText) |
DBCheckConstraint(String name,
boolean nameDeterministic,
String tableName,
String conditionText) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getColumnNames()
Returns the columns which constitute this constraint
|
String |
getConditionText() |
String |
getTableName() |
boolean |
isEquivalent(DBCheckConstraint that) |
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 DBCheckConstraint(String name, boolean nameDeterministic, DBTable owner, String conditionText)
public String getTableName()
public boolean isIdentical(DBObject other)
DBObjectpublic boolean isEquivalent(DBCheckConstraint that)
public String getConditionText()
public String[] getColumnNames()
DBConstraintgetColumnNames in interface MultiColumnObjectgetColumnNames in class DBConstraintpublic String toString()
toString in class DBConstraintCopyright © 2006–2014 Volker Bergmann. All rights reserved.