Skip navigation links

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

E17060-02


oracle.odi.domain.project
Enum OdiVariable.DataType

java.lang.Object
  extended by java.lang.Enum<OdiVariable.DataType>
      extended by oracle.odi.domain.project.OdiVariable.DataType

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OdiVariable.DataType>
Enclosing class:
OdiVariable

public static enum OdiVariable.DataType
extends java.lang.Enum<OdiVariable.DataType>

Defines the data type of an OdiVariable.

Since:
11.1.1.3.0

Enum Constant Summary
DATE
          Date variable's value type.
LONG_TEXT
          Long text variable's value type if lenght is <= 250 char.
NUMERIC
          Numeric variable's value type.
SHORT_TEXT
          Short text variable's value type if lenght is <= 250 char.

 

Method Summary
static OdiVariable.DataType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OdiVariable.DataType[] 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

SHORT_TEXT

public static final OdiVariable.DataType SHORT_TEXT
Short text variable's value type if lenght is <= 250 char. Stands for the Java type String.

LONG_TEXT

public static final OdiVariable.DataType LONG_TEXT
Long text variable's value type if lenght is <= 250 char. Stands for the Java type String.

NUMERIC

public static final OdiVariable.DataType NUMERIC
Numeric variable's value type. Stands for the Java type Long.

DATE

public static final OdiVariable.DataType DATE
Date variable's value type. Stands for the Java type Date.

Method Detail

values

public static OdiVariable.DataType[] 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 (OdiVariable.DataType c : OdiVariable.DataType.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OdiVariable.DataType 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

Skip navigation links

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

E17060-02


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