public static enum Form.ViewType extends Enum<Form.ViewType>
| Enum Constant and Description |
|---|
EDIT_VIEW |
LIST_VIEW |
VIEWTYPE_UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static Form.ViewType |
parseViewType(String str) |
static Form.ViewType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Form.ViewType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Form.ViewType LIST_VIEW
public static final Form.ViewType EDIT_VIEW
public static final Form.ViewType VIEWTYPE_UNKNOWN
public static Form.ViewType[] values()
for (Form.ViewType c : Form.ViewType.values()) System.out.println(c);
public static Form.ViewType 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 String getValue()
public static Form.ViewType parseViewType(String str) throws MolgenisModelException
MolgenisModelExceptionCopyright © 2015. All Rights Reserved.