public interface IBaseEnumFactory<T extends Enum<?>> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
T |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
String |
toCode(T code)
Get the XML/JSON representation for an enumerated value
|
T fromCode(String codeString) throws IllegalArgumentException
codeString - the value found in the XML or JSONIllegalArgumentException - is the value is not knownCopyright © 2014–2019 University Health Network. All rights reserved.