|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<OraclePLSQLTypes>
org.eclipse.persistence.platform.database.oracle.plsql.OraclePLSQLTypes
public enum OraclePLSQLTypes
PUBLIC: Oracle PL/SQL types
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.helper.DatabaseType |
---|
org.eclipse.persistence.internal.helper.DatabaseType.DatabaseTypeHelper |
Enum Constant Summary | |
---|---|
BinaryInteger
|
|
Dec
|
|
Int
|
|
Natural
|
|
NaturalN
|
|
PLSQLBoolean
|
|
PLSQLInteger
|
|
Positive
|
|
PositiveN
|
|
SignType
|
Field Summary |
---|
Fields inherited from interface org.eclipse.persistence.platform.database.oracle.plsql.OraclePLSQLType |
---|
PLSQLBoolean_IN_CONV, PLSQLBoolean_OUT_CONV |
Fields inherited from interface org.eclipse.persistence.internal.helper.DatabaseType |
---|
COMPAT_SUFFIX, TARGET_SUFFIX |
Method Summary | |
---|---|
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,
org.eclipse.persistence.internal.sessions.AbstractRecord outputRow,
DatabaseRecord newOutputRow,
java.util.Vector outputRowFields,
java.util.Vector 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 org.eclipse.persistence.internal.helper.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,
org.eclipse.persistence.internal.sessions.AbstractRecord translationRow,
DatabasePlatform platform)
INTERNAL: Append the parameter for logging purposes. |
void |
translate(PLSQLargument arg,
org.eclipse.persistence.internal.sessions.AbstractRecord translationRow,
org.eclipse.persistence.internal.sessions.AbstractRecord copyOfTranslationRow,
java.util.Vector copyOfTranslationFields,
java.util.Vector translationRowFields,
java.util.Vector 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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic boolean isComplexDatabaseType()
isComplexDatabaseType
in interface org.eclipse.persistence.internal.helper.DatabaseType
public int getSqlCode()
getSqlCode
in interface org.eclipse.persistence.internal.helper.DatabaseType
public int getConversionCode()
getConversionCode
in interface org.eclipse.persistence.internal.helper.DatabaseType
public java.lang.String getTypeName()
getTypeName
in interface org.eclipse.persistence.internal.helper.DatabaseType
public boolean isJDBCType()
isJDBCType
in interface org.eclipse.persistence.internal.helper.DatabaseType
public int computeInIndex(PLSQLargument inArg, int newIndex, java.util.ListIterator<PLSQLargument> i)
computeInIndex
in interface org.eclipse.persistence.internal.helper.DatabaseType
public int computeOutIndex(PLSQLargument outArg, int newIndex, java.util.ListIterator<PLSQLargument> i)
computeOutIndex
in interface org.eclipse.persistence.internal.helper.DatabaseType
public void buildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)
buildInDeclare
in interface org.eclipse.persistence.internal.helper.DatabaseType
public void buildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)
buildOutDeclare
in interface org.eclipse.persistence.internal.helper.DatabaseType
public void buildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)
buildBeginBlock
in interface org.eclipse.persistence.internal.helper.DatabaseType
public void buildOutAssignment(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)
buildOutAssignment
in interface org.eclipse.persistence.internal.helper.DatabaseType
public void translate(PLSQLargument arg, org.eclipse.persistence.internal.sessions.AbstractRecord translationRow, org.eclipse.persistence.internal.sessions.AbstractRecord copyOfTranslationRow, java.util.Vector copyOfTranslationFields, java.util.Vector translationRowFields, java.util.Vector translationRowValues, StoredProcedureCall call)
translate
in interface org.eclipse.persistence.internal.helper.DatabaseType
public void buildOutputRow(PLSQLargument outArg, org.eclipse.persistence.internal.sessions.AbstractRecord outputRow, DatabaseRecord newOutputRow, java.util.Vector outputRowFields, java.util.Vector outputRowValues)
buildOutputRow
in interface org.eclipse.persistence.internal.helper.DatabaseType
public void logParameter(java.lang.StringBuilder sb, java.lang.Integer direction, PLSQLargument arg, org.eclipse.persistence.internal.sessions.AbstractRecord translationRow, DatabasePlatform platform)
logParameter
in interface org.eclipse.persistence.internal.helper.DatabaseType
public static org.eclipse.persistence.internal.helper.DatabaseType getDatabaseTypeForCode(java.lang.String typeName)
|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |