|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQConstraint
This interface represents a database constraint.
Method Summary | |
---|---|
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. |
Methods inherited from interface com.aquafold.openapi.rdbms.AQSchemaObject |
---|
getDatabaseName, getSchemaName |
Methods inherited from interface com.aquafold.openapi.rdbms.AQServerObject |
---|
getIcon, getName, getServerConnection, getTypeName, scriptCREATE, scriptCREATE, scriptDROP |
Method Detail |
---|
AQConstraintColumn[] extractColumns()
boolean isPrimaryKeyConstraint()
boolean isForeignKeyConstraint()
boolean isCheckConstraint()
boolean isUniqueConstraint()
AQForeignKeyRefColumn[] extractForeignKeyRefColumns()
String extractCheckCondition()
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |