public interface AQConstraint extends AQSchemaObject
Modifier and Type | Method and Description |
---|---|
String |
extractCheckCondition()
To get the check condition for a check constraint.
|
AQConstraintColumn[] |
extractColumns()
To get a list of columns associated with the constraint.
|
AQForeignKeyRefColumn[] |
extractForeignKeyRefColumns()
To get the referenced column(s) for a foreign key constraint.
|
boolean |
isCheckConstraint()
To check if this is a check constraint.
|
boolean |
isForeignKeyConstraint()
To check if this is a foreign key constraint.
|
boolean |
isPrimaryKeyConstraint()
To check if this is a primary key constraint.
|
boolean |
isUniqueConstraint()
To check if this is a unique constraint.
|
getDatabaseName, getSchemaName
getIcon, getName, getServerConnection, getTypeName, scriptCREATE, scriptCREATE, scriptDROP
AQConstraintColumn[] extractColumns()
boolean isPrimaryKeyConstraint()
boolean isForeignKeyConstraint()
boolean isCheckConstraint()
boolean isUniqueConstraint()
AQForeignKeyRefColumn[] extractForeignKeyRefColumns()
String extractCheckCondition()
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.