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