public enum ProductLevel extends java.lang.Enum<ProductLevel> implements HasMessageKey
| Enum Constant and Description |
|---|
GROUP |
GROUP_SET |
INDIVIDUAL |
| Modifier and Type | Method and Description |
|---|---|
MessageKey |
getMessageKey() |
static EnumMessageKeyResolver<ProductLevel> |
resolverForAssignConfirm()
Returns an
EnumMessageKeyResolver for translations on the confirmation of product assign |
static EnumMessageKeyResolver<ProductLevel> |
resolverForAssignedMessage()
Returns an
EnumMessageKeyResolver for translations on the message displayed after assigning |
static EnumMessageKeyResolver<ProductLevel> |
resolverForUnassignMessage()
Returns an
EnumMessageKeyResolver for translations on the message displayed after unassigning |
static ProductLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProductLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductLevel INDIVIDUAL
public static final ProductLevel GROUP
public static final ProductLevel GROUP_SET
public static ProductLevel[] values()
for (ProductLevel c : ProductLevel.values()) System.out.println(c);
public static ProductLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static EnumMessageKeyResolver<ProductLevel> resolverForAssignConfirm()
EnumMessageKeyResolver for translations on the confirmation of product assignpublic static EnumMessageKeyResolver<ProductLevel> resolverForAssignedMessage()
EnumMessageKeyResolver for translations on the message displayed after assigningpublic static EnumMessageKeyResolver<ProductLevel> resolverForUnassignMessage()
EnumMessageKeyResolver for translations on the message displayed after unassigningpublic MessageKey getMessageKey()
getMessageKey in interface HasMessageKey