Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.javatools.db.ddl
Interface AlterDDLGenerator


public interface AlterDDLGenerator

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

Since:
11

Method Summary
 boolean canAlter(java.lang.String property)
          Returns true if this update DDL generator can include an update syntax for the given property.
 DDL getAlterDDL(DDLOptions options, Difference diff)
          Returns the DDL to apply an update (ALTER) statement which will effect the changes in the given Difference.
 

Method Detail

getAlterDDL

DDL getAlterDDL(DDLOptions options,
                Difference diff)
Returns the DDL to apply an update (ALTER) statement which will effect the changes in the given Difference. The Difference should contain an original object and an updated object that show the differences to apply to the database.


canAlter

boolean canAlter(java.lang.String property)
Returns true if this update DDL generator can include an update syntax for the given property.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

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