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

E17060-01

oracle.odi.domain.model
Enum OdiColumn.ScdType

java.lang.Object
  extended by java.lang.Enum<OdiColumn.ScdType>
      extended by oracle.odi.domain.model.OdiColumn.ScdType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OdiColumn.ScdType>
Enclosing class:
OdiColumn

public static enum OdiColumn.ScdType
extends java.lang.Enum<OdiColumn.ScdType>

Defines the possible Slowly Changing Dimension behaviors related to OdiColumn.

See the ODI documentation for more information on each value of this enum type.

Since:
11.1.1.3.0

Enum Constant Summary
ADD_ROW_ON_CHANGE
          If the column's value changes, a new record version is created.
CURRENT_RECORD_FLAG
          The column is the flag that identifies the current record version.
END_TIMESTAMP
          The column represents the valid end date and time for the record version.
NATURAL_KEY
          The column is part of the key that identifies one record regardless of the versions.
OVERWRITE_ON_CHANGE
          If the column's value changes, the current record version is updated, and the column overwritten.
START_TIMESTAMP
          The column represents the valid starting date and time for the record version.
SURROGATE_KEY
          The column is the unique (technical) identifier for a record version.
 
Method Summary
static OdiColumn.ScdType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OdiColumn.ScdType[] 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

ADD_ROW_ON_CHANGE

public static final OdiColumn.ScdType ADD_ROW_ON_CHANGE
If the column's value changes, a new record version is created.


CURRENT_RECORD_FLAG

public static final OdiColumn.ScdType CURRENT_RECORD_FLAG
The column is the flag that identifies the current record version. It is usually set to 1 for the current version and to 0 for older versions.


END_TIMESTAMP

public static final OdiColumn.ScdType END_TIMESTAMP
The column represents the valid end date and time for the record version.


NATURAL_KEY

public static final OdiColumn.ScdType NATURAL_KEY
The column is part of the key that identifies one record regardless of the versions. This key usually corresponds to the primary key of the source table.


OVERWRITE_ON_CHANGE

public static final OdiColumn.ScdType OVERWRITE_ON_CHANGE
If the column's value changes, the current record version is updated, and the column overwritten.


START_TIMESTAMP

public static final OdiColumn.ScdType START_TIMESTAMP
The column represents the valid starting date and time for the record version.


SURROGATE_KEY

public static final OdiColumn.ScdType SURROGATE_KEY
The column is the unique (technical) identifier for a record version. This column is usually loaded by an automatically incremented value (sequence), and is referenced by the fact table.

Method Detail

valueOf

public static OdiColumn.ScdType 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 OdiColumn.ScdType[] 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 (OdiColumn.ScdType c : OdiColumn.ScdType.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.