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