|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The DDLGenerator
interface defines an API for
retrieving the neccessary DDL statements for creating, updating,
and deleting objects.
Method Summary | |
Ddl |
getCreateDDL(SchemaObject object)
Retrieves the DDL for creating the specified object. |
Ddl |
getCreateDDL(SchemaObject object,
boolean replace)
Retrieves the DDL for creating the specified object. |
Ddl[] |
getDeleteDDL(SchemaObject object,
boolean cascade)
Retrieves the DDL for deleting an object. |
Ddl[] |
getUpdateDDL(SchemaObject oldObject,
SchemaObject newObject)
Retrieves the DDL for updating the definition of an object. |
Method Detail |
public Ddl getCreateDDL(SchemaObject object, boolean replace)
object
- the object for which DDL is requiredreplace
- whether an existing object should be replaced
public Ddl getCreateDDL(SchemaObject object)
object
- the object for which DDL is required
public Ddl[] getUpdateDDL(SchemaObject oldObject, SchemaObject newObject)
oldObject
- the original version of the objectnewObject
- the updated data model
DBException
- if legal DDL cannot be generatedpublic Ddl[] getDeleteDDL(SchemaObject object, boolean cascade)
object
- the object to be deletedcascade
- a boolean value indicating whether a cascade delete
should be performed, if appropriate for the object type
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.