Package org.sqlproc.engine.impl
Enum SqlInputValue.Type
- java.lang.Object
-
- java.lang.Enum<SqlInputValue.Type>
-
- org.sqlproc.engine.impl.SqlInputValue.Type
-
- All Implemented Interfaces:
Serializable,Comparable<SqlInputValue.Type>
- Enclosing class:
- SqlInputValue
static enum SqlInputValue.Type extends Enum<SqlInputValue.Type>
Enumeration for the type of input value.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IDENTITY_SELECTValue based on identity select.PROVIDEDProvided value.SEQUENCE_BASEDValue based on a sequence.
-
Constructor Summary
Constructors Modifier Constructor Description privateType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SqlInputValue.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static SqlInputValue.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROVIDED
public static final SqlInputValue.Type PROVIDED
Provided value.
-
SEQUENCE_BASED
public static final SqlInputValue.Type SEQUENCE_BASED
Value based on a sequence.
-
IDENTITY_SELECT
public static final SqlInputValue.Type IDENTITY_SELECT
Value based on identity select.
-
-
Method Detail
-
values
public static SqlInputValue.Type[] 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 (SqlInputValue.Type c : SqlInputValue.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlInputValue.Type 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
-
-