Class Hl7WorkGroupEnumFactory
- java.lang.Object
-
- org.hl7.fhir.r4.model.codesystems.Hl7WorkGroupEnumFactory
-
- All Implemented Interfaces:
Serializable,org.hl7.fhir.instance.model.api.IBaseEnumFactory<Hl7WorkGroup>,EnumFactory<Hl7WorkGroup>
public class Hl7WorkGroupEnumFactory extends Object implements EnumFactory<Hl7WorkGroup>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Hl7WorkGroupEnumFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Hl7WorkGroupfromCode(String codeString)Read an enumeration value from the string that represents it on the XML or JSONStringtoCode(Hl7WorkGroup code)Get the XML/JSON representation for an enumerated valueStringtoSystem(Hl7WorkGroup code)Get the system URI for an enumerated value
-
-
-
Constructor Detail
-
Hl7WorkGroupEnumFactory
public Hl7WorkGroupEnumFactory()
-
-
Method Detail
-
fromCode
public Hl7WorkGroup 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<Hl7WorkGroup>- Specified by:
fromCodein interfaceorg.hl7.fhir.instance.model.api.IBaseEnumFactory<Hl7WorkGroup>- Parameters:
codeString- the value found in the XML or JSON- Returns:
- the enumeration value
- Throws:
IllegalArgumentException
-
toCode
public String toCode(Hl7WorkGroup code)
Description copied from interface:EnumFactoryGet the XML/JSON representation for an enumerated value- Specified by:
toCodein interfaceEnumFactory<Hl7WorkGroup>- Specified by:
toCodein interfaceorg.hl7.fhir.instance.model.api.IBaseEnumFactory<Hl7WorkGroup>- Parameters:
code- - the enumeration value- Returns:
- the XML/JSON representation
-
toSystem
public String toSystem(Hl7WorkGroup code)
Description copied from interface:EnumFactoryGet the system URI for an enumerated value- Specified by:
toSystemin interfaceEnumFactory<Hl7WorkGroup>- Specified by:
toSystemin interfaceorg.hl7.fhir.instance.model.api.IBaseEnumFactory<Hl7WorkGroup>- Parameters:
code- - the enumeration value- Returns:
- the XML/JSON representation
-
-