Uses of Interface
org.javarosa.core.model.data.IAnswerData
-
Uses of IAnswerData in org.javarosa.core.model
Methods in org.javarosa.core.model with parameters of type IAnswerData Modifier and Type Method Description booleanIAnswerDataSerializer. canSerialize(IAnswerData element)Identifies whether this serializer can turn the AnswerData object inside of the given element into an external format.BooleanIAnswerDataSerializer. containsExternalData(IAnswerData data)Identifies whether an answer data object contains data that needs to be extracted to be handled differently than the serialized answer data.voidFormDef. copyItemsetAnswer(QuestionDef q, TreeElement targetNode, IAnswerData data, boolean midSurvey)booleanFormDef. evaluateConstraint(TreeReference ref, IAnswerData data)IDataPointer[]IAnswerDataSerializer. retrieveExternalDataPointer(IAnswerData data)Retrieves a pointer to external data contained in the provided answer data, if one exists.ObjectIAnswerDataSerializer. serializeAnswerData(IAnswerData data)Serializes the given data object into a format that can be stored externally.ObjectIAnswerDataSerializer. serializeAnswerData(IAnswerData data, int dataType)Serializes the given data object into a format that can be stored externally using the defined schemasvoidFormDef. setAnswer(IAnswerData data, TreeElement node)voidFormDef. setAnswer(IAnswerData data, TreeReference ref)voidFormDef. setValue(IAnswerData data, TreeReference ref, boolean midSurvey)voidFormDef. setValue(IAnswerData data, TreeReference ref, TreeElement node, boolean midSurvey) -
Uses of IAnswerData in org.javarosa.core.model.condition
Fields in org.javarosa.core.model.condition declared as IAnswerData Modifier and Type Field Description IAnswerDataEvaluationContext. candidateValueMethods in org.javarosa.core.model.condition that return IAnswerData Modifier and Type Method Description static IAnswerDataRecalculate. wrapData(Object val, int intDataType)convert the data object returned by the xpath expression into an IAnswerData suitable for storage in the FormInstance -
Uses of IAnswerData in org.javarosa.core.model.condition.pivot
Classes in org.javarosa.core.model.condition.pivot with type parameters of type IAnswerData Modifier and Type Class Description classRangeHint<T extends IAnswerData> -
Uses of IAnswerData in org.javarosa.core.model.data
Classes in org.javarosa.core.model.data that implement IAnswerData Modifier and Type Class Description classBooleanDataclassDateDataA response to a question requesting a Date ValueclassDateTimeDataA response to a question requesting a DateTime ValueclassDecimalDataA response to a question requesting an Decimal Value.classGeoPointDataA response to a question requesting an GeoPoint Value.classGeoShapeDataA response to a question requesting an GeoShape Value.classGeoTraceDataA response to a question requesting an GeoTrace Value.classIntegerDataA response to a question requesting an Integer ValueclassLongDataA response to a question requesting an Long Numeric ValueclassMultipleItemsDataA response to a question requesting a selection of any number of items from a list or ordering them.classMultiPointerAnswerDataAn answer data storing multiple pointersclassPointerAnswerDataAnswer data representing a pointer object.classSelectMultiDataThis class is only for providing backwards compatibility after renaming SelectMultiData.class to MultipleItemsDataclassSelectOneDataA response to a question requesting a selection of one and only one item from a listclassStringDataA response to a question requesting a String ValueclassTimeDataclassUncastDataUncast data values are those which are not assigned a particular data type.Methods in org.javarosa.core.model.data that return IAnswerData Modifier and Type Method Description IAnswerDataIAnswerData. cast(UncastData data)Casts the provided data into this data type.IAnswerDataBooleanData. clone()IAnswerDataDateData. clone()IAnswerDataDateTimeData. clone()IAnswerDataDecimalData. clone()IAnswerDataGeoPointData. clone()IAnswerDataGeoShapeData. clone()IAnswerDataGeoTraceData. clone()IAnswerDataIAnswerData. clone()IAnswerDataIntegerData. clone()IAnswerDataLongData. clone()IAnswerDataMultipleItemsData. clone()IAnswerDataMultiPointerAnswerData. clone()IAnswerDataPointerAnswerData. clone()IAnswerDataSelectOneData. clone()IAnswerDataStringData. clone()IAnswerDataTimeData. clone()IAnswerDataUncastData. clone()static IAnswerDataAnswerDataFactory. template(int controlType, int datatype)The one-template to rule them all.static IAnswerDataAnswerDataFactory. templateByDataType(int datatype) -
Uses of IAnswerData in org.javarosa.core.model.data.helper
Methods in org.javarosa.core.model.data.helper that return IAnswerData Modifier and Type Method Description IAnswerDataInvalidDataException. getUncastStandin() -
Uses of IAnswerData in org.javarosa.core.model.instance
Methods in org.javarosa.core.model.instance that return IAnswerData Modifier and Type Method Description IAnswerDataAbstractTreeElement. getValue()IAnswerDataTreeElement. getValue()Methods in org.javarosa.core.model.instance with parameters of type IAnswerData Modifier and Type Method Description TreeReferenceFormInstance. addNode(TreeReference ambigRef, IAnswerData data, int dataType)booleanTreeElement. setAnswer(IAnswerData answer)voidTreeElement. setValue(IAnswerData value) -
Uses of IAnswerData in org.javarosa.core.model.instance.utils
Methods in org.javarosa.core.model.instance.utils that return IAnswerData Modifier and Type Method Description IAnswerDataDefaultAnswerResolver. resolveAnswer(String textVal, TreeElement treeElement, FormDef formDef)IAnswerDataIAnswerResolver. resolveAnswer(String textVal, TreeElement treeElement, FormDef formDef) -
Uses of IAnswerData in org.javarosa.core.model.util.restorable
Methods in org.javarosa.core.model.util.restorable that return IAnswerData Modifier and Type Method Description IAnswerDataIXFormyFactory. parseData(String textVal, int dataType, TreeReference ref, FormDef f)Methods in org.javarosa.core.model.util.restorable with parameters of type IAnswerData Modifier and Type Method Description StringIXFormyFactory. serializeData(IAnswerData data) -
Uses of IAnswerData in org.javarosa.core.model.utils
Methods in org.javarosa.core.model.utils that return IAnswerData Modifier and Type Method Description IAnswerDataQuestionPreloader. getQuestionPreload(String preloadType, String preloadParams)Returns the IAnswerData preload value for the given preload type and parametersIAnswerDataIPreloadHandler. handlePreload(String preloadParams)Takes in a set of preload parameters, and determines the proper IAnswerData to be preloaded for a question.static IAnswerDataPreloadUtils. wrapIndeterminedObject(Object o)Note: This method is a hack to fix the problem that we don't know what data type we're using when we have a preloader. -
Uses of IAnswerData in org.javarosa.form.api
Methods in org.javarosa.form.api that return IAnswerData Modifier and Type Method Description IAnswerDataFormEntryPrompt. getAnswerValue()Methods in org.javarosa.form.api with parameters of type IAnswerData Modifier and Type Method Description intFormEntryController. answerQuestion(IAnswerData data, boolean midSurvey)Attempts to save answer at the current FormIndex into the datamodel.intFormEntryController. answerQuestion(FormIndex index, IAnswerData data, boolean midSurvey)Attempts to save the answer at the givenFormIndexinto the instance and returns one of three possibleintattempt result codes:FormEntryController.ANSWER_OKFormEntryController.ANSWER_REQUIRED_BUT_EMPTYFormEntryController.ANSWER_CONSTRAINT_VIOLATEDStringFormEntryPrompt. getConstraintText(String textForm, IAnswerData attemptedValue)StringFormEntryPrompt. getConstraintText(IAnswerData attemptedValue)booleanFormEntryController. saveAnswer(IAnswerData data, boolean midSurvey)saveAnswer attempts to save the current answer into the data model without doing any constraint checking.booleanFormEntryController. saveAnswer(FormIndex index, IAnswerData data, boolean midSurvey)saveAnswer attempts to save the current answer into the data model without doing any constraint checking. -
Uses of IAnswerData in org.javarosa.xform.util
Methods in org.javarosa.xform.util that return IAnswerData Modifier and Type Method Description static IAnswerDataXFormAnswerDataParser. getAnswerData(String text, int dataType)static IAnswerDataXFormAnswerDataParser. getAnswerData(String text, int intDataType, QuestionDef q)Methods in org.javarosa.xform.util with parameters of type IAnswerData Modifier and Type Method Description booleanXFormAnswerDataSerializer. canSerialize(IAnswerData data)BooleanXFormAnswerDataSerializer. containsExternalData(IAnswerData data)IDataPointer[]XFormAnswerDataSerializer. retrieveExternalDataPointer(IAnswerData data)ObjectXFormAnswerDataSerializer. serializeAnswerData(IAnswerData data)ObjectXFormAnswerDataSerializer. serializeAnswerData(IAnswerData data, int dataType) -
Uses of IAnswerData in org.javarosa.xpath.expr
Methods in org.javarosa.xpath.expr with parameters of type IAnswerData Modifier and Type Method Description static ObjectXPathPathExpr. unpackValue(IAnswerData val)