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