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