public enum OraclePLSQLTypes extends java.lang.Enum<OraclePLSQLTypes> implements SimpleDatabaseType, OraclePLSQLType
DatabaseType.DatabaseTypeHelper| Enum Constant and Description |
|---|
BinaryInteger |
Dec |
Int |
Natural |
NaturalN |
PLSQLBoolean |
PLSQLInteger |
Positive |
PositiveN |
SignType |
XMLType |
PLSQLBoolean_IN_CONV, PLSQLBoolean_OUT_CONVARGNAME_SIZE_LIMIT, COMPAT_SHORT_PREFIX, COMPAT_SUFFIX, TARGET_SHORT_PREFIX, TARGET_SUFFIX| Modifier and Type | Method and Description |
|---|---|
void |
buildBeginBlock(java.lang.StringBuilder sb,
PLSQLargument arg,
PLSQLStoredProcedureCall call)
INTERNAL:
Append any code or translation required for the type.
|
void |
buildInDeclare(java.lang.StringBuilder sb,
PLSQLargument inArg)
INTERNAL:
Append the variable declaration for the type.
|
void |
buildOutAssignment(java.lang.StringBuilder sb,
PLSQLargument arg,
PLSQLStoredProcedureCall call)
INTERNAL:
Append any code or translation for assigning the output value.
|
void |
buildOutDeclare(java.lang.StringBuilder sb,
PLSQLargument outArg)
INTERNAL:
Append the variable declaration for the type.
|
void |
buildOutputRow(PLSQLargument outArg,
AbstractRecord outputRow,
DatabaseRecord newOutputRow,
java.util.List<DatabaseField> outputRowFields,
java.util.List outputRowValues)
INTERNAL:
Build the query output row from the call output row.
|
int |
computeInIndex(PLSQLargument inArg,
int newIndex,
java.util.ListIterator<PLSQLargument> i)
INTERNAL:
Return the parameter index for the IN parameter.
|
int |
computeOutIndex(PLSQLargument outArg,
int newIndex,
java.util.ListIterator<PLSQLargument> i)
INTERNAL:
Return the parameter index for the OUT parameter.
|
int |
getConversionCode() |
static DatabaseType |
getDatabaseTypeForCode(java.lang.String typeName) |
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)
INTERNAL:
Append the parameter for logging purposes.
|
void |
translate(PLSQLargument arg,
AbstractRecord translationRow,
AbstractRecord copyOfTranslationRow,
java.util.List<DatabaseField> copyOfTranslationFields,
java.util.List<DatabaseField> translationRowFields,
java.util.List translationRowValues,
StoredProcedureCall call)
INTERNAL:
Translate the argument value from the query translation row to call translation row.
|
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.
|
public static final OraclePLSQLTypes BinaryInteger
public static final OraclePLSQLTypes Dec
public static final OraclePLSQLTypes Int
public static final OraclePLSQLTypes Natural
public static final OraclePLSQLTypes NaturalN
public static final OraclePLSQLTypes PLSQLBoolean
public static final OraclePLSQLTypes PLSQLInteger
public static final OraclePLSQLTypes Positive
public static final OraclePLSQLTypes PositiveN
public static final OraclePLSQLTypes SignType
public static final OraclePLSQLTypes XMLType
public static OraclePLSQLTypes[] values()
for (OraclePLSQLTypes c : OraclePLSQLTypes.values()) System.out.println(c);
public static OraclePLSQLTypes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isComplexDatabaseType()
isComplexDatabaseType in interface DatabaseTypepublic int getSqlCode()
getSqlCode in interface DatabaseTypepublic int getConversionCode()
getConversionCode in interface DatabaseTypepublic java.lang.String getTypeName()
getTypeName in interface DatabaseTypepublic boolean isJDBCType()
isJDBCType in interface DatabaseTypepublic int computeInIndex(PLSQLargument inArg, int newIndex, java.util.ListIterator<PLSQLargument> i)
computeInIndex in interface DatabaseTypepublic int computeOutIndex(PLSQLargument outArg, int newIndex, java.util.ListIterator<PLSQLargument> i)
computeOutIndex in interface DatabaseTypepublic void buildInDeclare(java.lang.StringBuilder sb,
PLSQLargument inArg)
buildInDeclare in interface DatabaseTypepublic void buildOutDeclare(java.lang.StringBuilder sb,
PLSQLargument outArg)
buildOutDeclare in interface DatabaseTypepublic void buildBeginBlock(java.lang.StringBuilder sb,
PLSQLargument arg,
PLSQLStoredProcedureCall call)
buildBeginBlock in interface DatabaseTypepublic void buildOutAssignment(java.lang.StringBuilder sb,
PLSQLargument arg,
PLSQLStoredProcedureCall call)
buildOutAssignment in interface DatabaseTypepublic void translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, java.util.List<DatabaseField> copyOfTranslationFields, java.util.List<DatabaseField> translationRowFields, java.util.List translationRowValues, StoredProcedureCall call)
translate in interface DatabaseTypepublic void buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, java.util.List<DatabaseField> outputRowFields, java.util.List outputRowValues)
buildOutputRow in interface DatabaseTypepublic void logParameter(java.lang.StringBuilder sb,
java.lang.Integer direction,
PLSQLargument arg,
AbstractRecord translationRow,
DatabasePlatform platform)
logParameter in interface DatabaseTypepublic static DatabaseType getDatabaseTypeForCode(java.lang.String typeName)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference