public enum CategoryTypeEnum extends Enum<CategoryTypeEnum> implements Serializable
Enum Constant and Description |
---|
CATEGORY |
GROUPING |
SUBCATEGORY |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static CategoryTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CategoryTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CategoryTypeEnum CATEGORY
public static final CategoryTypeEnum SUBCATEGORY
public static final CategoryTypeEnum GROUPING
public static CategoryTypeEnum[] values()
for (CategoryTypeEnum c : CategoryTypeEnum.values()) System.out.println(c);
public static CategoryTypeEnum 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()
Copyright © 2017. All rights reserved.