public enum Requirement extends Enum<Requirement>
Table
to determine if a field is requisite for a specific purpose.
TODO: These enum values should be placed in an ordered list or assigned order constants, which allow a generic
filtering predicate that returns true for elements "up to and including" a supplied level. Currently, this has a
fragmented implementation in Table.editorFields() and Table.specFields(). However, it is currently
unclear what the levels.order for the types EXTENSION, PROPIETARY, and UNKNOWN ought to be.| Enum Constant and Description |
|---|
EDITOR |
EXTENSION |
OPTIONAL |
PROPRIETARY |
REQUIRED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static Requirement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Requirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Requirement REQUIRED
public static final Requirement OPTIONAL
public static final Requirement EXTENSION
public static final Requirement PROPRIETARY
public static final Requirement UNKNOWN
public static final Requirement EDITOR
public static Requirement[] values()
for (Requirement c : Requirement.values()) System.out.println(c);
public static Requirement 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 © 2019. All rights reserved.