public enum ParamMode extends java.lang.Enum<ParamMode>
以MySQL数据库的存储的存储过程为例来说明:
CREATE PROCEDURE `with_result_out`(IN `a` int,OUT `b` int,INOUT `c` int)
BEGIN
//过程代码省略
END
| Modifier and Type | Method and Description |
|---|---|
static ParamMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParamMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParamMode IN
public static final ParamMode OUT
public static final ParamMode INOUT
public static ParamMode[] values()
for (ParamMode c : ParamMode.values()) System.out.println(c);
public static ParamMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null