|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Deprecated. - replaced by DDLGenerator
@Deprecated
public interface DDLGenerator
The DDLGenerator
interface defines an API for retrieving the neccessary DDL statements for creating, updating, and deleting objects.
Method Summary | |
---|---|
Ddl |
getCreateDDL(Schema schema) Deprecated. Retrieves the DDL for creating a new Schema |
Ddl |
getCreateDDL(SchemaObject[] object, boolean replace, boolean cascade) Deprecated. Retrieves the DDL for creating the specified objects. |
Ddl |
getCreateDDL(SchemaObject object, boolean replace, boolean cascade) Deprecated. Retrieves the DDL for creating the specified object. |
Ddl |
getDeleteDDL(Schema schema, boolean cascade) Deprecated. |
Ddl |
getDeleteDDL(SchemaObject[] object, boolean cascade) Deprecated. Retrieves the DDL for deleting an array of objects. |
Ddl |
getDeleteDDL(SchemaObject object, boolean cascade) Deprecated. Retrieves the DDL for deleting an object. |
Ddl[] |
getUpdateDDL(ResultSet resultSet, boolean replace, boolean cascade) Deprecated. Retrieves the DDL for updating the definition of an object. |
Ddl[] |
getUpdateDDL(SchemaObject[] oldObjects, SchemaObject[] newObjects) Deprecated. Retrieves DDL to update an array of SchemaObject objects. |
Ddl[] |
getUpdateDDL(SchemaObject oldObject, SchemaObject newObject) Deprecated. Retrieves the DDL for updating the definition of an object. |
Method Detail |
---|
Ddl getCreateDDL(SchemaObject object, boolean replace, boolean cascade)
If the replace option is specified, and the object exists in the provider, DDL is create to drop the object. (except views, where CREATE OR REPLACE is generated)
object
- the object for which DDL is requiredreplace
- whether an existing object should be replacedcascade
- whether any DROP associated with replace should be cascadedDdl getCreateDDL(SchemaObject[] object, boolean replace, boolean cascade)
If the replace option is specified, DDL is generated to drop all the Foreign Keys in the tables in the specified objects. DDL is then generated to drop all of the specified objects (except views) which exist in the provider.
objects
- the objects for which DDL is requiredreplace
- whether an existing object should be replacedcascade
- whether any DROP associated with replace should be cascadedDdl[] getUpdateDDL(SchemaObject oldObject, SchemaObject newObject)
oldObject
- the original version of the objectnewObject
- the updated data modelDBException
- if legal DDL cannot be generatedDdl[] getUpdateDDL(SchemaObject[] oldObjects, SchemaObject[] newObjects)
SchemaObject
objects.
The generated DDL will modified the dbUpdatable
objects to match the dbMaster
objects.
oldObjects
- the original versions of the objectsnewObjects
- the updated data modelDBException
- if legal DDL cannot be generatedDdl[] getUpdateDDL(ResultSet resultSet, boolean replace, boolean cascade)
resultSet
- description of the differences between two objectsreplace
- whether to replace any existing objects being createdcascade
- whether to cascade the delete of any objectsDBException
- if legal DDL cannot be generatedDdl 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 typeDdl getDeleteDDL(SchemaObject[] object, boolean cascade)
objects
- the objects to be deletedcascade
- a boolean value indicating whether a cascade delete should be performed, if appropriate for the object typeDdl getCreateDDL(Schema schema)
schema
- the Schema for which the DDL is requiredDdl getDeleteDDL(Schema schema, boolean cascade)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |