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