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