Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.javatools.db.ddl
Interface CreateDDLGenerator


public interface CreateDDLGenerator

Implementations of CreateDDLGenerator are registered with a DDLGeneratorImpl, and each one will be responsible for generating create DDL syntax for a given object type.

Since:
11

Method Summary
 boolean canCreate(java.lang.String property)
          Is the given property (potentially) used in the generation of the create DDL.
 boolean canReplace()
          Returns true if the create syntax includes an "OR REPLACE" or equivalent.
 DDL getCreateDDL(DDLOptions options, DBObject obj)
          Gets the DDL to create the given object in the database.
 

Method Detail

getCreateDDL

DDL getCreateDDL(DDLOptions options,
                 DBObject obj)
Gets the DDL to create the given object in the database.


canCreate

boolean canCreate(java.lang.String property)
Is the given property (potentially) used in the generation of the create DDL.


canReplace

boolean canReplace()
Returns true if the create syntax includes an "OR REPLACE" or equivalent. If this returns false, the framework will also call getDeleteDDL if the caller has explictly specified replace.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.