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