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