public static enum ItemSpecification.Type extends Enum<ItemSpecification.Type>
Enum Constant and Description |
---|
CONTAINER
The item is a container.
|
FILE
The item is a file.
|
Modifier and Type | Method and Description |
---|---|
static ItemSpecification.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemSpecification.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemSpecification.Type CONTAINER
public static final ItemSpecification.Type FILE
public static ItemSpecification.Type[] values()
for (ItemSpecification.Type c : ItemSpecification.Type.values()) System.out.println(c);
public static ItemSpecification.Type 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 (c) 2019, SAS Institute Inc., Cary, NC, USA