public class ObjectRoleEnumFactory extends Object implements EnumFactory<ObjectRole>
| Constructor and Description |
|---|
ObjectRoleEnumFactory() |
| Modifier and Type | Method and Description |
|---|---|
ObjectRole |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
String |
toCode(ObjectRole code)
Get the XML/JSON representation for an enumerated value
|
String |
toSystem(ObjectRole code)
Get the system URI for an enumerated value
|
public ObjectRoleEnumFactory()
public ObjectRole fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<ObjectRole>fromCode in interface EnumFactory<ObjectRole>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic String toCode(ObjectRole code)
EnumFactorytoCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<ObjectRole>toCode in interface EnumFactory<ObjectRole>code - - the enumeration valuepublic String toSystem(ObjectRole code)
EnumFactorytoSystem in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<ObjectRole>toSystem in interface EnumFactory<ObjectRole>code - - the enumeration valueCopyright © 2014–2021 Health Level 7. All rights reserved.