Enum DatasourceCall.ParameterType
- java.lang.Object
-
- java.lang.Enum<DatasourceCall.ParameterType>
-
- org.eclipse.persistence.internal.databaseaccess.DatasourceCall.ParameterType
-
- All Implemented Interfaces:
Serializable
,Comparable<DatasourceCall.ParameterType>
- Enclosing class:
- DatasourceCall
public static enum DatasourceCall.ParameterType extends Enum<DatasourceCall.ParameterType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOM_MODIFY
IN
INLINE
INOUT
LITERAL
MODIFY
OUT
OUT_CURSOR
TRANSLATION
-
Field Summary
Fields Modifier and Type Field Description int
val
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DatasourceCall.ParameterType
valueOf(int value)
Returns the enum constant of this type with the specified name.static DatasourceCall.ParameterType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DatasourceCall.ParameterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LITERAL
public static final DatasourceCall.ParameterType LITERAL
-
MODIFY
public static final DatasourceCall.ParameterType MODIFY
-
TRANSLATION
public static final DatasourceCall.ParameterType TRANSLATION
-
CUSTOM_MODIFY
public static final DatasourceCall.ParameterType CUSTOM_MODIFY
-
OUT
public static final DatasourceCall.ParameterType OUT
-
INOUT
public static final DatasourceCall.ParameterType INOUT
-
IN
public static final DatasourceCall.ParameterType IN
-
OUT_CURSOR
public static final DatasourceCall.ParameterType OUT_CURSOR
-
INLINE
public static final DatasourceCall.ParameterType INLINE
-
-
Method Detail
-
values
public static DatasourceCall.ParameterType[] 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 (DatasourceCall.ParameterType c : DatasourceCall.ParameterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatasourceCall.ParameterType 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
-
valueOf
public static DatasourceCall.ParameterType valueOf(int value)
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:
value
- 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
-
-