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