public enum ParamType extends java.lang.Enum<ParamType>
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Gets the integer value of the parameter type.
|
static java.lang.String[] |
names()
Returns an array containing the names of the parameter type constants.
|
java.lang.String |
toString()
Returns the string message of the parameter type.
|
int |
value()
Gets the integer value of the parameter type.
|
static ParamType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParamType device
public static final ParamType engine
public static ParamType[] values()
for (ParamType c : ParamType.values()) System.out.println(c);
public static ParamType 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 nullpublic int value()
public int getCode()
public java.lang.String toString()
toString in class java.lang.Enum<ParamType>public static java.lang.String[] names()