public static enum ProductCatalog.EnumRole extends Enum<ProductCatalog.EnumRole>
| Enum Constant and Description |
|---|
NULL |
VALUE_ADMIN |
VALUE_ADVERTISER |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ProductCatalog.EnumRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductCatalog.EnumRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductCatalog.EnumRole VALUE_ADMIN
public static final ProductCatalog.EnumRole VALUE_ADVERTISER
public static final ProductCatalog.EnumRole NULL
public static ProductCatalog.EnumRole[] values()
for (ProductCatalog.EnumRole c : ProductCatalog.EnumRole.values()) System.out.println(c);
public static ProductCatalog.EnumRole 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 toString()
toString in class Enum<ProductCatalog.EnumRole>Copyright © 2018. All rights reserved.