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