public enum DaysOfWeekEnum extends Enum<DaysOfWeekEnum>
| Enum Constant and Description |
|---|
FRIDAY
Display: Friday
Code Value: fri Friday |
MONDAY
Display: Monday
Code Value: mon Monday |
SATURDAY
Display: Saturday
Code Value: sat Saturday |
SUNDAY
Display: Sunday
Code Value: sun Sunday |
THURSDAY
Display: Thursday
Code Value: thu Thursday |
TUESDAY
Display: Tuesday
Code Value: tue Tuesday |
WEDNESDAY
Display: Wednesday
Code Value: wed Wednesday |
| Modifier and Type | Field and Description |
|---|---|
static IValueSetEnumBinder<DaysOfWeekEnum> |
VALUESET_BINDER
Converts codes to their respective enumerated values
|
static String |
VALUESET_IDENTIFIER
Identifier for this Value Set:
|
static String |
VALUESET_NAME
Name for this Value Set:
DaysOfWeek
|
| Modifier and Type | Method and Description |
|---|---|
static DaysOfWeekEnum |
forCode(String theCode)
Returns the enumerated value associated with this code
|
String |
getCode()
Returns the code associated with this enumerated value
|
String |
getSystem()
Returns the code system associated with this enumerated value
|
static DaysOfWeekEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DaysOfWeekEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DaysOfWeekEnum MONDAY
public static final DaysOfWeekEnum TUESDAY
public static final DaysOfWeekEnum WEDNESDAY
public static final DaysOfWeekEnum THURSDAY
public static final DaysOfWeekEnum FRIDAY
public static final DaysOfWeekEnum SATURDAY
public static final DaysOfWeekEnum SUNDAY
public static final String VALUESET_IDENTIFIER
public static final String VALUESET_NAME
public static final IValueSetEnumBinder<DaysOfWeekEnum> VALUESET_BINDER
public static DaysOfWeekEnum[] values()
for (DaysOfWeekEnum c : DaysOfWeekEnum.values()) System.out.println(c);
public static DaysOfWeekEnum 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 DaysOfWeekEnum forCode(String theCode)
Copyright © 2014–2016 University Health Network. All rights reserved.