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