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

E17060-01

oracle.odi.generation
Enum DDLDiff.ObjectType

java.lang.Object
  extended by java.lang.Enum<DDLDiff.ObjectType>
      extended by oracle.odi.generation.DDLDiff.ObjectType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DDLDiff.ObjectType>
Enclosing class:
DDLDiff

public static enum DDLDiff.ObjectType
extends java.lang.Enum<DDLDiff.ObjectType>

Type of object for which the difference is detected.


Enum Constant Summary
ALTERNATE_KEY
          Difference is for an Alternate Key (Unique Key).
CHECK_CONSTRAINT
          Difference is for a Check Constraint.
COLUMN
          Difference is for a Table Column.
COLUMN_COMMENT
          Difference is for a Column Comment.
FOREIGN_KEY
          Difference is for a foreign key.
NON_UNIQUE_INDEX
          Difference is for a Non Unique Index.
PRIMARY_KEY
          Difference is for a Primary Key.
TABLE
          Difference is for a Table.
TABLE_COMMENT
          Difference is for a Table Comment.
 
Method Summary
static DDLDiff.ObjectType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DDLDiff.ObjectType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALTERNATE_KEY

public static final DDLDiff.ObjectType ALTERNATE_KEY
Difference is for an Alternate Key (Unique Key).


CHECK_CONSTRAINT

public static final DDLDiff.ObjectType CHECK_CONSTRAINT
Difference is for a Check Constraint.


COLUMN

public static final DDLDiff.ObjectType COLUMN
Difference is for a Table Column.


COLUMN_COMMENT

public static final DDLDiff.ObjectType COLUMN_COMMENT
Difference is for a Column Comment.


FOREIGN_KEY

public static final DDLDiff.ObjectType FOREIGN_KEY
Difference is for a foreign key.


NON_UNIQUE_INDEX

public static final DDLDiff.ObjectType NON_UNIQUE_INDEX
Difference is for a Non Unique Index.


PRIMARY_KEY

public static final DDLDiff.ObjectType PRIMARY_KEY
Difference is for a Primary Key.


TABLE

public static final DDLDiff.ObjectType TABLE
Difference is for a Table.


TABLE_COMMENT

public static final DDLDiff.ObjectType TABLE_COMMENT
Difference is for a Table Comment.

Method Detail

valueOf

public static DDLDiff.ObjectType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

values

public static DDLDiff.ObjectType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DDLDiff.ObjectType c : DDLDiff.ObjectType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

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.