public static class Questionnaire.AnswerFormatEnumFactory extends Object implements EnumFactory<Questionnaire.AnswerFormat>
| Constructor and Description |
|---|
AnswerFormatEnumFactory() |
| Modifier and Type | Method and Description |
|---|---|
Questionnaire.AnswerFormat |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
String |
toCode(Questionnaire.AnswerFormat code)
Get the XML/JSON representation for an enumerated value
|
public Questionnaire.AnswerFormat fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface IBaseEnumFactory<Questionnaire.AnswerFormat>fromCode in interface EnumFactory<Questionnaire.AnswerFormat>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic String toCode(Questionnaire.AnswerFormat code)
EnumFactorytoCode in interface IBaseEnumFactory<Questionnaire.AnswerFormat>toCode in interface EnumFactory<Questionnaire.AnswerFormat>code - - the enumeration valueCopyright © 2014–2015 University Health Network. All rights reserved.