Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.generation
Class DDLDiff

java.lang.Object
  extended by oracle.odi.generation.DDLDiff

public abstract class DDLDiff
extends java.lang.Object

Class describing a difference between an ODI object of an ODI model and a database object such as a table, column, primary key, foreign key, unique key, index and check constraint.

These difference are elementary difference. For instance if a given table has 3 new columns there will be 3 DDLDiff one for each column but no DDLDiff for the table.

Since:
11.1.1.3.0
See Also:
DDLDifferences, IDDLGeneratorService

Nested Class Summary
static class DDLDiff.DiffType
          Type of difference as detected by the DDL Generator.
static class DDLDiff.ObjectType
          Type of object for which the difference is detected.
 
Method Summary
abstract  DDLDiff.DiffType getDiffType()
          Gives the type difference detected.
abstract  java.lang.String getObjectName()
          Gives the actual name of the object on which the differnce was detected.
abstract  DDLDiff.ObjectType getObjectType()
          Gives the type of object on which the difference was detected.
abstract  java.lang.String getTableName()
          Gives the table name to which the object on which the current difference was detected belongs.
abstract  boolean isToGenerate()
          Indicates whether current detected difference will be generated by the DDL Generator Service.
abstract  void setToGenerate(boolean pToGenerate)
          Set current difference so that it will be generated by the DDL generator.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDiffType

public abstract DDLDiff.DiffType getDiffType()
Gives the type difference detected.

Returns:
Type of difference deteceted

getObjectName

public abstract java.lang.String getObjectName()
Gives the actual name of the object on which the differnce was detected.

Returns:
Actual name of the object on which the differnce was detected

getObjectType

public abstract DDLDiff.ObjectType getObjectType()
Gives the type of object on which the difference was detected.

Returns:
Type of object on which the difference was detected

getTableName

public abstract java.lang.String getTableName()
Gives the table name to which the object on which the current difference was detected belongs.

Returns:
Parent table name of the object

isToGenerate

public abstract boolean isToGenerate()
Indicates whether current detected difference will be generated by the DDL Generator Service.

Returns:
true if current difference will be generated, false otherwise

setToGenerate

public abstract void setToGenerate(boolean pToGenerate)
Set current difference so that it will be generated by the DDL generator.

Parameters:
pToGenerate - True: difference will be generated, False: difference will be ignored

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.