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