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