Package org.hl7.fhir.r4.model
Class Location.DaysOfWeekEnumFactory
- java.lang.Object
-
- org.hl7.fhir.r4.model.Location.DaysOfWeekEnumFactory
-
- All Implemented Interfaces:
Serializable,org.hl7.fhir.instance.model.api.IBaseEnumFactory<Location.DaysOfWeek>,EnumFactory<Location.DaysOfWeek>
- Enclosing class:
- Location
public static class Location.DaysOfWeekEnumFactory extends Object implements EnumFactory<Location.DaysOfWeek>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DaysOfWeekEnumFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Location.DaysOfWeekfromCode(String codeString)Read an enumeration value from the string that represents it on the XML or JSONEnumeration<Location.DaysOfWeek>fromType(Base code)StringtoCode(Location.DaysOfWeek code)Get the XML/JSON representation for an enumerated valueStringtoSystem(Location.DaysOfWeek code)Get the system URI for an enumerated value
-
-
-
Constructor Detail
-
DaysOfWeekEnumFactory
public DaysOfWeekEnumFactory()
-
-
Method Detail
-
fromCode
public Location.DaysOfWeek fromCode(String codeString) throws IllegalArgumentException
Description copied from interface:EnumFactoryRead an enumeration value from the string that represents it on the XML or JSON- Specified by:
fromCodein interfaceEnumFactory<Location.DaysOfWeek>- Specified by:
fromCodein interfaceorg.hl7.fhir.instance.model.api.IBaseEnumFactory<Location.DaysOfWeek>- Parameters:
codeString- the value found in the XML or JSON- Returns:
- the enumeration value
- Throws:
IllegalArgumentException
-
fromType
public Enumeration<Location.DaysOfWeek> fromType(Base code) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCode
public String toCode(Location.DaysOfWeek code)
Description copied from interface:EnumFactoryGet the XML/JSON representation for an enumerated value- Specified by:
toCodein interfaceEnumFactory<Location.DaysOfWeek>- Specified by:
toCodein interfaceorg.hl7.fhir.instance.model.api.IBaseEnumFactory<Location.DaysOfWeek>- Parameters:
code- - the enumeration value- Returns:
- the XML/JSON representation
-
toSystem
public String toSystem(Location.DaysOfWeek code)
Description copied from interface:EnumFactoryGet the system URI for an enumerated value- Specified by:
toSystemin interfaceEnumFactory<Location.DaysOfWeek>- Specified by:
toSystemin interfaceorg.hl7.fhir.instance.model.api.IBaseEnumFactory<Location.DaysOfWeek>- Parameters:
code- - the enumeration value- Returns:
- the XML/JSON representation
-
-