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