Package org.datanucleus.metadata
Enum StoredProcQueryParameterMode
- java.lang.Object
-
- java.lang.Enum<StoredProcQueryParameterMode>
-
- org.datanucleus.metadata.StoredProcQueryParameterMode
-
- All Implemented Interfaces:
Serializable
,Comparable<StoredProcQueryParameterMode>
public enum StoredProcQueryParameterMode extends Enum<StoredProcQueryParameterMode>
Mode of usage of a stored procedure query parameter.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IN
INOUT
OUT
REF_CURSOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StoredProcQueryParameterMode
getMode(String value)
static StoredProcQueryParameterMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static StoredProcQueryParameterMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN
public static final StoredProcQueryParameterMode IN
-
OUT
public static final StoredProcQueryParameterMode OUT
-
INOUT
public static final StoredProcQueryParameterMode INOUT
-
REF_CURSOR
public static final StoredProcQueryParameterMode REF_CURSOR
-
-
Method Detail
-
values
public static StoredProcQueryParameterMode[] 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 (StoredProcQueryParameterMode c : StoredProcQueryParameterMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StoredProcQueryParameterMode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getMode
public static StoredProcQueryParameterMode getMode(String value)
-
-