public enum VariableType extends Enum<VariableType>
| Enum Constant and Description |
|---|
ADDITIONAL |
BASIC |
GENERAL |
LABEL |
OPTIONAL |
OPTIONAL_NUMBER |
SEARCH |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(String d) |
static VariableType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariableType BASIC
public static final VariableType OPTIONAL
public static final VariableType ADDITIONAL
public static final VariableType OPTIONAL_NUMBER
public static final VariableType GENERAL
public static final VariableType YEAR
public static final VariableType SEARCH
public static final VariableType LABEL
public static VariableType[] values()
for (VariableType c : VariableType.values()) System.out.println(c);
public static VariableType 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 int fromName(String d)
Copyright © 2017. All rights reserved.