EclipseLink 1.0_1.0M2 API Reference - Incubation

org.eclipse.persistence.platform.database.oracle
Enum OraclePLSQLTypes

java.lang.Object
  extended by java.lang.Enum<OraclePLSQLTypes>
      extended by org.eclipse.persistence.platform.database.oracle.OraclePLSQLTypes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OraclePLSQLTypes>, OraclePLSQLType

public enum OraclePLSQLTypes
extends java.lang.Enum<OraclePLSQLTypes>
implements OraclePLSQLType

PUBLIC: Oracle PL/SQL types

Author:
Mike Norman - michael.norman@oracle.com
Since:
Oracle TopLink 11.x.x

Enum Constant Summary
BinaryInteger
           
Dec
           
Int
           
Natural
           
NaturalN
           
PLSQLBoolean
           
PLSQLInteger
           
Positive
           
PositiveN
           
SignType
           
 
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, AbstractRecord outputRow, DatabaseRecord newOutputRow, java.util.Vector outputRowFields, java.util.Vector outputRowValues)
           
 int computeInIndex(PLSQLargument inArg, int newIndex, java.util.ListIterator<PLSQLargument> i)
           
 int computeOutIndex(PLSQLargument outArg, int newIndex, java.util.ListIterator<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, AbstractRecord translationRow, DatabasePlatform platform)
           
 void translate(PLSQLargument arg, AbstractRecord translationRow, 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're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, 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 final OraclePLSQLTypes[] values()
Returns an array containing the constants of this enum type, in the order they're 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're 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

isComplexDatabaseType

public boolean isComplexDatabaseType()

getSqlCode

public int getSqlCode()

getConversionCode

public int getConversionCode()

getTypeName

public java.lang.String getTypeName()

isJDBCType

public boolean isJDBCType()

computeInIndex

public int computeInIndex(PLSQLargument inArg,
                          int newIndex,
                          java.util.ListIterator<PLSQLargument> i)

computeOutIndex

public int computeOutIndex(PLSQLargument outArg,
                           int newIndex,
                           java.util.ListIterator<PLSQLargument> i)

buildInDeclare

public void buildInDeclare(java.lang.StringBuilder sb,
                           PLSQLargument inArg)

buildOutDeclare

public void buildOutDeclare(java.lang.StringBuilder sb,
                            PLSQLargument outArg)

buildBeginBlock

public void buildBeginBlock(java.lang.StringBuilder sb,
                            PLSQLargument arg)

buildOutAssignment

public void buildOutAssignment(java.lang.StringBuilder sb,
                               PLSQLargument arg)

translate

public void translate(PLSQLargument arg,
                      AbstractRecord translationRow,
                      AbstractRecord copyOfTranslationRow,
                      java.util.Vector copyOfTranslationFields,
                      java.util.Vector translationRowFields,
                      java.util.Vector translationRowValues)

buildOutputRow

public void buildOutputRow(PLSQLargument outArg,
                           AbstractRecord outputRow,
                           DatabaseRecord newOutputRow,
                           java.util.Vector outputRowFields,
                           java.util.Vector outputRowValues)

logParameter

public void logParameter(java.lang.StringBuilder sb,
                         java.lang.Integer direction,
                         PLSQLargument arg,
                         AbstractRecord translationRow,
                         DatabasePlatform platform)

EclipseLink 1.0_1.0M2 API Reference - Incubation