Package com.ibm.fhir.model.type.code
Class DaysOfWeek
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.DaysOfWeek
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class DaysOfWeek extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDaysOfWeek.Builderstatic classDaysOfWeek.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static DaysOfWeekFRIFridaystatic DaysOfWeekMONMondaystatic DaysOfWeekSATSaturdaystatic DaysOfWeekSUNSundaystatic DaysOfWeekTHUThursdaystatic DaysOfWeekTUETuesdaystatic DaysOfWeekWEDWednesday
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DaysOfWeek.Builderbuilder()static Codecode(String value)Inherited factory method for creating DaysOfWeek objects from a passed string value.booleanequals(Object obj)DaysOfWeek.ValueSetgetValueAsEnumConstant()inthashCode()static DaysOfWeekof(DaysOfWeek.ValueSet value)Factory method for creating DaysOfWeek objects from a passed enum value.static DaysOfWeekof(String value)Factory method for creating DaysOfWeek objects from a passed string value.static Stringstring(String value)Inherited factory method for creating DaysOfWeek objects from a passed string value.DaysOfWeek.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
MON
public static final DaysOfWeek MON
MondayMonday.
-
TUE
public static final DaysOfWeek TUE
TuesdayTuesday.
-
WED
public static final DaysOfWeek WED
WednesdayWednesday.
-
THU
public static final DaysOfWeek THU
ThursdayThursday.
-
FRI
public static final DaysOfWeek FRI
FridayFriday.
-
SAT
public static final DaysOfWeek SAT
SaturdaySaturday.
-
SUN
public static final DaysOfWeek SUN
SundaySunday.
-
-
Method Detail
-
getValueAsEnumConstant
public DaysOfWeek.ValueSet getValueAsEnumConstant()
-
of
public static DaysOfWeek of(DaysOfWeek.ValueSet value)
Factory method for creating DaysOfWeek objects from a passed enum value.
-
of
public static DaysOfWeek of(String value)
Factory method for creating DaysOfWeek objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
string
public static String string(String value)
Inherited factory method for creating DaysOfWeek objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
code
public static Code code(String value)
Inherited factory method for creating DaysOfWeek objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
toBuilder
public DaysOfWeek.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static DaysOfWeek.Builder builder()
-
-