public class RulesetEnumFactory extends Object implements EnumFactory<Ruleset>
| Constructor and Description |
|---|
RulesetEnumFactory() |
| Modifier and Type | Method and Description |
|---|---|
Ruleset |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
String |
toCode(Ruleset code)
Get the XML/JSON representation for an enumerated value
|
public RulesetEnumFactory()
public Ruleset fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<Ruleset>fromCode in interface EnumFactory<Ruleset>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic String toCode(Ruleset code)
EnumFactorytoCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<Ruleset>toCode in interface EnumFactory<Ruleset>code - - the enumeration valueCopyright © 2014–2018 University Health Network. All rights reserved.