public static class Child.NoEnumFactory extends Object implements IBaseEnumFactory<Enum<?>>
| Modifier and Type | Method and Description |
|---|---|
Enum<?> |
fromCode(String theCodeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
String |
toCode(Enum<?> theCode)
Get the XML/JSON representation for an enumerated value
|
public Enum<?> fromCode(String theCodeString) throws IllegalArgumentException
IBaseEnumFactoryfromCode in interface IBaseEnumFactory<Enum<?>>theCodeString - the value found in the XML or JSONIllegalArgumentException - is the value is not knownpublic String toCode(Enum<?> theCode)
IBaseEnumFactorytoCode in interface IBaseEnumFactory<Enum<?>>theCode - - the enumeration valueCopyright © 2014–2018 University Health Network. All rights reserved.