public enum DayOfWeek extends Enum<DayOfWeek> implements HybrisEnumValue
| Enum Constant and Description |
|---|
FRIDAY
Generated enum value for DayOfWeek.FRIDAY declared at extension processing.
|
MONDAY
Generated enum value for DayOfWeek.MONDAY declared at extension processing.
|
SATURDAY
Generated enum value for DayOfWeek.SATURDAY declared at extension processing.
|
SUNDAY
Generated enum value for DayOfWeek.SUNDAY declared at extension processing.
|
THURSDAY
Generated enum value for DayOfWeek.THURSDAY declared at extension processing.
|
TUESDAY
Generated enum value for DayOfWeek.TUESDAY declared at extension processing.
|
WEDNESDAY
Generated enum value for DayOfWeek.WEDNESDAY declared at extension processing.
|
| 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 DayOfWeek |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DayOfWeek[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayOfWeek SUNDAY
public static final DayOfWeek MONDAY
public static final DayOfWeek TUESDAY
public static final DayOfWeek WEDNESDAY
public static final DayOfWeek THURSDAY
public static final DayOfWeek FRIDAY
public static final DayOfWeek SATURDAY
public static final String _TYPECODE
public static final String SIMPLE_CLASSNAME
public static DayOfWeek[] values()
for (DayOfWeek c : DayOfWeek.values()) System.out.println(c);
public static DayOfWeek 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.