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