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