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