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

E17060-01

oracle.odi.domain.model
Enum OdiKey.KeyType

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

public static enum OdiKey.KeyType
extends java.lang.Enum<OdiKey.KeyType>

Defines the type of an OdiKey instance.


Enum Constant Summary
ALTERNATE_KEY
          An Alternate Unique Key.
INDEX
          An index.
PRIMARY_KEY
          A Primary Key.
 
Method Summary
static OdiKey.KeyType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OdiKey.KeyType[] 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 OdiKey.KeyType ALTERNATE_KEY
An Alternate Unique Key.


INDEX

public static final OdiKey.KeyType INDEX
An index. Not necessarily unique.


PRIMARY_KEY

public static final OdiKey.KeyType PRIMARY_KEY
A Primary Key.

Method Detail

valueOf

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