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