Class PLSQLargument
- java.lang.Object
-
- org.eclipse.persistence.platform.database.oracle.plsql.PLSQLargument
-
- All Implemented Interfaces:
java.lang.Cloneable
public class PLSQLargument extends java.lang.Object implements java.lang.CloneableINTERNAL: Helper class - tracks argument's original position as well as re-ordered position Used by PLSQLrecord and PLSQLStoredProcedureCall
-
-
Field Summary
Fields Modifier and Type Field Description booleancursorOutputorg.eclipse.persistence.internal.helper.DatabaseTypedatabaseTypeintdirectionDeprecated.intinIndexintlengthjava.lang.StringnameintoriginalIndexintoutIndexorg.eclipse.persistence.internal.databaseaccess.DatasourceCall.ParameterTypepdirectionintprecisionintscale
-
Constructor Summary
Constructors Constructor Description PLSQLargument()PLSQLargument(java.lang.String name, int originalIndex, int direction, org.eclipse.persistence.internal.helper.DatabaseType databaseType)Deprecated.PLSQLargument(java.lang.String name, int originalIndex, int direction, org.eclipse.persistence.internal.helper.DatabaseType databaseType, int length)Deprecated.PLSQLargument(java.lang.String name, int originalIndex, int direction, org.eclipse.persistence.internal.helper.DatabaseType databaseType, int precision, int scale)Deprecated.PLSQLargument(java.lang.String name, int originalIndex, org.eclipse.persistence.internal.databaseaccess.DatasourceCall.ParameterType direction, org.eclipse.persistence.internal.helper.DatabaseType databaseType)PLSQLargument(java.lang.String name, int originalIndex, org.eclipse.persistence.internal.databaseaccess.DatasourceCall.ParameterType direction, org.eclipse.persistence.internal.helper.DatabaseType databaseType, int length)PLSQLargument(java.lang.String name, int originalIndex, org.eclipse.persistence.internal.databaseaccess.DatasourceCall.ParameterType direction, org.eclipse.persistence.internal.helper.DatabaseType databaseType, int precision, int scale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PLSQLargumentclone()voidsetIsNonAssociativeCollection(boolean isNonAsscociative)Sets flag on this argument's database type indicating that it represents a non-associative collection, i.e.java.lang.StringtoString()voiduseNamedCursorOutputAsResultSet()
-
-
-
Field Detail
-
name
public java.lang.String name
-
direction
@Deprecated public int direction
Deprecated.
-
pdirection
public org.eclipse.persistence.internal.databaseaccess.DatasourceCall.ParameterType pdirection
-
originalIndex
public int originalIndex
-
inIndex
public int inIndex
-
outIndex
public int outIndex
-
databaseType
public org.eclipse.persistence.internal.helper.DatabaseType databaseType
-
length
public int length
-
precision
public int precision
-
scale
public int scale
-
cursorOutput
public boolean cursorOutput
-
-
Constructor Detail
-
PLSQLargument
public PLSQLargument()
-
PLSQLargument
@Deprecated public PLSQLargument(java.lang.String name, int originalIndex, int direction, org.eclipse.persistence.internal.helper.DatabaseType databaseType)Deprecated.
-
PLSQLargument
public PLSQLargument(java.lang.String name, int originalIndex, org.eclipse.persistence.internal.databaseaccess.DatasourceCall.ParameterType direction, org.eclipse.persistence.internal.helper.DatabaseType databaseType)
-
PLSQLargument
@Deprecated public PLSQLargument(java.lang.String name, int originalIndex, int direction, org.eclipse.persistence.internal.helper.DatabaseType databaseType, int length)Deprecated.
-
PLSQLargument
public PLSQLargument(java.lang.String name, int originalIndex, org.eclipse.persistence.internal.databaseaccess.DatasourceCall.ParameterType direction, org.eclipse.persistence.internal.helper.DatabaseType databaseType, int length)
-
PLSQLargument
@Deprecated public PLSQLargument(java.lang.String name, int originalIndex, int direction, org.eclipse.persistence.internal.helper.DatabaseType databaseType, int precision, int scale)Deprecated.
-
PLSQLargument
public PLSQLargument(java.lang.String name, int originalIndex, org.eclipse.persistence.internal.databaseaccess.DatasourceCall.ParameterType direction, org.eclipse.persistence.internal.helper.DatabaseType databaseType, int precision, int scale)
-
-
Method Detail
-
clone
protected PLSQLargument clone()
- Overrides:
clonein classjava.lang.Object
-
useNamedCursorOutputAsResultSet
public void useNamedCursorOutputAsResultSet()
-
setIsNonAssociativeCollection
public void setIsNonAssociativeCollection(boolean isNonAsscociative)
Sets flag on this argument's database type indicating that it represents a non-associative collection, i.e. Nested Table (as opposed to a Varray). The value should be false (default) for associative/indexed collections (Varrays), and true for non-associative collections (Nested Tables). It is assumed that the database type has been determined to be a PLSQLCollection prior to calling this method - if this argument's database type is not a PLSQLCollection, no operation is performed. The preferred method of flagging a PLSQCollection as a Nested Table is to use the setIsNestedTable(boolean) method directly on PLSQLCollection.- Parameters:
isNonAsscociative- true indicates this argument's database type represents a Nested Table- See Also:
PLSQLCollection
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-