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