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