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