public static class Protocol.ProtocolTypeEnumFactory extends Object implements EnumFactory<Protocol.ProtocolType>
| Constructor and Description |
|---|
ProtocolTypeEnumFactory() |
| Modifier and Type | Method and Description |
|---|---|
Protocol.ProtocolType |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
Enumeration<Protocol.ProtocolType> |
fromType(Base code) |
String |
toCode(Protocol.ProtocolType code)
Get the XML/JSON representation for an enumerated value
|
String |
toSystem(Protocol.ProtocolType code)
Get the XML/JSON representation for an enumerated value
|
public ProtocolTypeEnumFactory()
public Protocol.ProtocolType fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface EnumFactory<Protocol.ProtocolType>fromCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<Protocol.ProtocolType>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic Enumeration<Protocol.ProtocolType> fromType(Base code) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String toCode(Protocol.ProtocolType code)
EnumFactorytoCode in interface EnumFactory<Protocol.ProtocolType>toCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<Protocol.ProtocolType>code - - the enumeration valuepublic String toSystem(Protocol.ProtocolType code)
EnumFactorytoSystem in interface EnumFactory<Protocol.ProtocolType>code - - the enumeration valueCopyright © 2014–2018 University Health Network. All rights reserved.