public enum WeekDay extends Enum<WeekDay> implements HybrisEnumValue
| Enum Constant and Description |
|---|
FRIDAY
Generated enum value for WeekDay.FRIDAY declared at extension basecommerce.
|
MONDAY
Generated enum value for WeekDay.MONDAY declared at extension basecommerce.
|
SATURDAY
Generated enum value for WeekDay.SATURDAY declared at extension basecommerce.
|
SUNDAY
Generated enum value for WeekDay.SUNDAY declared at extension basecommerce.
|
THURSDAY
Generated enum value for WeekDay.THURSDAY declared at extension basecommerce.
|
TUESDAY
Generated enum value for WeekDay.TUESDAY declared at extension basecommerce.
|
WEDNESDAY
Generated enum value for WeekDay.WEDNESDAY declared at extension basecommerce.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Gets the code of this enum value.
|
String |
getType()
Gets the type this enum value belongs to.
|
static WeekDay |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeekDay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeekDay SUNDAY
public static final WeekDay MONDAY
public static final WeekDay TUESDAY
public static final WeekDay WEDNESDAY
public static final WeekDay THURSDAY
public static final WeekDay FRIDAY
public static final WeekDay SATURDAY
public static final String _TYPECODE
public static final String SIMPLE_CLASSNAME
public static WeekDay[] values()
for (WeekDay c : WeekDay.values()) System.out.println(c);
public static WeekDay 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 getCode()
getCode in interface HybrisEnumValuepublic String getType()
getType in interface HybrisEnumValueCopyright © 2017 SAP SE. All Rights Reserved.