public enum ChannelRole extends Enum<ChannelRole> implements SphereEnumeration
SphereEnumeration.AddRoles,
SetRoles,
RemoveRoles,
Channel.getRoles()| Enum Constant and Description |
|---|
INVENTORY_SUPPLY |
ORDER_EXPORT |
ORDER_IMPORT |
PRIMARY |
PRODUCT_DISTRIBUTION |
| Modifier and Type | Method and Description |
|---|---|
static ChannelRole |
ofSphereValue(String value) |
static ChannelRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffindBySphereName, name, toSphereNamepublic static final ChannelRole INVENTORY_SUPPLY
public static final ChannelRole ORDER_EXPORT
public static final ChannelRole ORDER_IMPORT
public static final ChannelRole PRIMARY
public static final ChannelRole PRODUCT_DISTRIBUTION
public static ChannelRole[] values()
for (ChannelRole c : ChannelRole.values()) System.out.println(c);
public static ChannelRole 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 static ChannelRole ofSphereValue(String value)