public enum TypeCode extends Enum<TypeCode>
| Enum Constant and Description |
|---|
BOOLEAN
Boolean (true/false/null) is required from user.
|
DATE
Date in ISO-8601 format is required from user.
|
INTEGER
Signed integer value is required from user.
|
OBJECT
Composite object that is composed of multiple primitives is required from user.
|
PROHIBITED
UI can't show this field, throws runtime exception if occurred.
|
STRING
String value is required from user.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeCode OBJECT
public static final TypeCode BOOLEAN
public static final TypeCode STRING
public static final TypeCode INTEGER
public static final TypeCode DATE
public static final TypeCode PROHIBITED
public static TypeCode[] values()
for (TypeCode c : TypeCode.values()) System.out.println(c);
public static TypeCode 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 nullCopyright © 2020. All rights reserved.