public enum ReturnType extends Enum<ReturnType>
| Enum Constant and Description |
|---|
BOOLEAN
Returned as Boolean
|
INTEGER
Returned as Long
|
MULTI
Returned as List
|
STATUS
Returned as byte[]
|
VALUE
Returned as byte[]
|
| Modifier and Type | Method and Description |
|---|---|
static ReturnType |
fromJavaType(Class<?> javaType) |
static ReturnType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnType BOOLEAN
public static final ReturnType INTEGER
public static final ReturnType MULTI
public static final ReturnType STATUS
public static final ReturnType VALUE
public static ReturnType[] values()
for (ReturnType c : ReturnType.values()) System.out.println(c);
public static ReturnType 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 static ReturnType fromJavaType(Class<?> javaType)