public enum ParameterInfo extends Enum<ParameterInfo>
Enum Constant and Description |
---|
IN
Constant identifying an IN parameter
|
INOUT
Constant identifying an INOUT parameter
|
OUT
Constant identifying an OUT parameter
|
RESULT_SET
Constant identifying a RESULT SET parameter
|
RETURN_VALUE
Constant identifying a RETURN parameter
|
Modifier and Type | Method and Description |
---|---|
int |
index()
Get the index of the enumerator.
|
static ParameterInfo |
valueOf(int type) |
static ParameterInfo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterInfo IN
public static final ParameterInfo OUT
public static final ParameterInfo INOUT
public static final ParameterInfo RETURN_VALUE
public static final ParameterInfo RESULT_SET
public static ParameterInfo[] values()
for (ParameterInfo c : ParameterInfo.values()) System.out.println(c);
public static ParameterInfo valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int index()
public static ParameterInfo valueOf(int type)
Copyright © 2013–2019. All rights reserved.