Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated)
11g Release 1 (11.1.1)

B32476-04

oracle.toplink.platform.database.oracle
Enum OraclePLSQLTypes

java.lang.Object
  extended by java.lang.Enum<OraclePLSQLTypes>
      extended by oracle.toplink.platform.database.oracle.OraclePLSQLTypes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OraclePLSQLTypes>, oracle.toplink.internal.helper.DatabaseType, oracle.toplink.internal.helper.SimpleDatabaseType, OraclePLSQLType

public enum OraclePLSQLTypes
extends java.lang.Enum<OraclePLSQLTypes>
implements oracle.toplink.internal.helper.SimpleDatabaseType, OraclePLSQLType

PUBLIC: Oracle PL/SQL types

Since:
Oracle TopLink 11.x.x

Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.toplink.internal.helper.DatabaseType
oracle.toplink.internal.helper.DatabaseType.DatabaseTypeHelper
 
Enum Constant Summary
BinaryInteger
           
Dec
           
Int
           
Natural
           
NaturalN
           
PLSQLBoolean
           
PLSQLInteger
           
Positive
           
PositiveN
           
SignType
           
 
Field Summary
 
Fields inherited from interface oracle.toplink.internal.helper.DatabaseType
COMPAT_SUFFIX, TARGET_SUFFIX
 
Method Summary
 void buildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg)
           
 void buildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)
           
 void buildOutAssignment(java.lang.StringBuilder sb, PLSQLargument arg)
           
 void buildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)
           
 void buildOutputRow(PLSQLargument outArg, oracle.toplink.internal.sessions.AbstractRecord outputRow, DatabaseRecord newOutputRow, java.util.Vector outputRowFields, java.util.Vector outputRowValues)
           
 int computeInIndex(PLSQLargument inArg, int newIndex, java.util.ListIterator<oracle.toplink.platform.database.oracle.PLSQLargument> i)
           
 int computeOutIndex(PLSQLargument outArg, int newIndex, java.util.ListIterator<oracle.toplink.platform.database.oracle.PLSQLargument> i)
           
 int getConversionCode()
           
 int getSqlCode()
           
 java.lang.String getTypeName()
           
 boolean isComplexDatabaseType()
           
 boolean isJDBCType()
           
 void logParameter(java.lang.StringBuilder sb, java.lang.Integer direction, PLSQLargument arg, oracle.toplink.internal.sessions.AbstractRecord translationRow, DatabasePlatform platform)
           
 void translate(PLSQLargument arg, oracle.toplink.internal.sessions.AbstractRecord translationRow, oracle.toplink.internal.sessions.AbstractRecord copyOfTranslationRow, java.util.Vector copyOfTranslationFields, java.util.Vector translationRowFields, java.util.Vector translationRowValues)
           
static OraclePLSQLTypes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OraclePLSQLTypes[] 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

BinaryInteger

public static final OraclePLSQLTypes BinaryInteger

Dec

public static final OraclePLSQLTypes Dec

Int

public static final OraclePLSQLTypes Int

Natural

public static final OraclePLSQLTypes Natural

NaturalN

public static final OraclePLSQLTypes NaturalN

PLSQLBoolean

public static final OraclePLSQLTypes PLSQLBoolean

PLSQLInteger

public static final OraclePLSQLTypes PLSQLInteger

Positive

public static final OraclePLSQLTypes Positive

PositiveN

public static final OraclePLSQLTypes PositiveN

SignType

public static final OraclePLSQLTypes SignType
Method Detail

values

public static OraclePLSQLTypes[] 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 (OraclePLSQLTypes c : OraclePLSQLTypes.values())
    System.out.println(c);

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

valueOf

public static OraclePLSQLTypes 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

isComplexDatabaseType

public boolean isComplexDatabaseType()
Specified by:
isComplexDatabaseType in interface oracle.toplink.internal.helper.DatabaseType

getSqlCode

public int getSqlCode()
Specified by:
getSqlCode in interface oracle.toplink.internal.helper.DatabaseType

getConversionCode

public int getConversionCode()
Specified by:
getConversionCode in interface oracle.toplink.internal.helper.DatabaseType

getTypeName

public java.lang.String getTypeName()
Specified by:
getTypeName in interface oracle.toplink.internal.helper.DatabaseType

isJDBCType

public boolean isJDBCType()
Specified by:
isJDBCType in interface oracle.toplink.internal.helper.DatabaseType

computeInIndex

public int computeInIndex(PLSQLargument inArg,
                          int newIndex,
                          java.util.ListIterator<oracle.toplink.platform.database.oracle.PLSQLargument> i)
Specified by:
computeInIndex in interface oracle.toplink.internal.helper.DatabaseType

computeOutIndex

public int computeOutIndex(PLSQLargument outArg,
                           int newIndex,
                           java.util.ListIterator<oracle.toplink.platform.database.oracle.PLSQLargument> i)
Specified by:
computeOutIndex in interface oracle.toplink.internal.helper.DatabaseType

buildInDeclare

public void buildInDeclare(java.lang.StringBuilder sb,
                           PLSQLargument inArg)
Specified by:
buildInDeclare in interface oracle.toplink.internal.helper.DatabaseType

buildOutDeclare

public void buildOutDeclare(java.lang.StringBuilder sb,
                            PLSQLargument outArg)
Specified by:
buildOutDeclare in interface oracle.toplink.internal.helper.DatabaseType

buildBeginBlock

public void buildBeginBlock(java.lang.StringBuilder sb,
                            PLSQLargument arg)
Specified by:
buildBeginBlock in interface oracle.toplink.internal.helper.DatabaseType

buildOutAssignment

public void buildOutAssignment(java.lang.StringBuilder sb,
                               PLSQLargument arg)
Specified by:
buildOutAssignment in interface oracle.toplink.internal.helper.DatabaseType

translate

public void translate(PLSQLargument arg,
                      oracle.toplink.internal.sessions.AbstractRecord translationRow,
                      oracle.toplink.internal.sessions.AbstractRecord copyOfTranslationRow,
                      java.util.Vector copyOfTranslationFields,
                      java.util.Vector translationRowFields,
                      java.util.Vector translationRowValues)
Specified by:
translate in interface oracle.toplink.internal.helper.DatabaseType

buildOutputRow

public void buildOutputRow(PLSQLargument outArg,
                           oracle.toplink.internal.sessions.AbstractRecord outputRow,
                           DatabaseRecord newOutputRow,
                           java.util.Vector outputRowFields,
                           java.util.Vector outputRowValues)
Specified by:
buildOutputRow in interface oracle.toplink.internal.helper.DatabaseType

logParameter

public void logParameter(java.lang.StringBuilder sb,
                         java.lang.Integer direction,
                         PLSQLargument arg,
                         oracle.toplink.internal.sessions.AbstractRecord translationRow,
                         DatabasePlatform platform)
Specified by:
logParameter in interface oracle.toplink.internal.helper.DatabaseType

Copyright © 1998, 2012, Oracle. All Rights Reserved.