Uses of Class
org.javarosa.core.model.instance.FormInstance
-
Uses of FormInstance in org.javarosa.core.model
Methods in org.javarosa.core.model that return FormInstance Modifier and Type Method Description FormInstanceFormDef. getInstance()FormInstanceFormDef. getMainInstance()Methods in org.javarosa.core.model with parameters of type FormInstance Modifier and Type Method Description voidFast2014DagImpl. addChildrenOfReference(FormInstance mainInstance, EvaluationContext evalContext, TreeReference original, Set<TreeReference> toAdd, boolean expandRepeatables)This is a utility method to get all of the references of a node.voidApril2014DagImpl. copyItemsetAnswer(FormInstance mainInstance, EvaluationContext evalContext, TreeReference copyRef, TreeElement copyToElement, boolean midSurvey)voidFast2014DagImpl. copyItemsetAnswer(FormInstance mainInstance, EvaluationContext evalContext, TreeReference copyRef, TreeElement copyToElement, boolean midSurvey)abstract voidIDag. copyItemsetAnswer(FormInstance mainInstance, EvaluationContext evalContext, TreeReference ref, TreeElement copyToElement, boolean midSurvey)Take actions related to changes of select-one and select-multiple itemsets.voidLegacyDagImpl. copyItemsetAnswer(FormInstance mainInstance, EvaluationContext evalContext, TreeReference copyRef, TreeElement copyToElement, boolean midSurvey)voidSafe2014DagImpl. copyItemsetAnswer(FormInstance mainInstance, EvaluationContext evalContext, TreeReference copyRef, TreeElement copyToElement, boolean midSurvey)voidApril2014DagImpl. createRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference createRef, TreeElement parentElement, TreeElement createdElement)voidFast2014DagImpl. createRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference createRef, TreeElement parentElement, TreeElement createdElement)abstract voidIDag. createRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference ref, TreeElement parentElement, TreeElement createdElement)Take whatever action is required when creating a repeat group.voidLegacyDagImpl. createRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference createRef, TreeElement parentElement, TreeElement createdElement)voidSafe2014DagImpl. createRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference createRef, TreeElement parentElement, TreeElement createdElement)voidApril2014DagImpl. deleteRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference deleteRef, TreeElement parentElement, TreeElement deletedElement)voidFast2014DagImpl. deleteRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference deleteRef, TreeElement parentElement, TreeElement deletedElement)abstract voidIDag. deleteRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference ref, TreeElement parentElement, TreeElement deletedElement)Take whatever action is required when deleting a repeat group.voidLegacyDagImpl. deleteRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference deleteRef, TreeElement parentElement, TreeElement deletedElement)voidSafe2014DagImpl. deleteRepeatGroup(FormInstance mainInstance, EvaluationContext evalContext, TreeReference deleteRef, TreeElement parentElement, TreeElement deletedElement)protected Set<QuickTriggerable>LatestDagBase. doEvaluateTriggerables(FormInstance mainInstance, EvaluationContext evalContext, Set<QuickTriggerable> tv, TreeReference anchorRef, Set<QuickTriggerable> alreadyEvaluated)voidFast2014DagImpl. fillTriggeredElements(FormInstance mainInstance, EvaluationContext evalContext, QuickTriggerable qt, Set<QuickTriggerable> destinationSet, Set<QuickTriggerable> newDestinationSet, boolean midSurvey)Get all of the elements which will need to be evaluated (in order) when the triggerable is fired.voidSafe2014DagImpl. fillTriggeredElements(FormInstance mainInstance, EvaluationContext evalContext, QuickTriggerable qt, Set<QuickTriggerable> destinationSet, Set<QuickTriggerable> newDestinationSet)Get all of the elements which will need to be evaluated (in order) when the triggerable is fired.voidApril2014DagImpl. finalizeTriggerables(FormInstance mainInstance, EvaluationContext evalContext)Finalize the DAG associated with the form's triggered conditions.voidFast2014DagImpl. finalizeTriggerables(FormInstance mainInstance, EvaluationContext evalContext)Finalize the DAG associated with the form's triggered conditions.abstract voidIDag. finalizeTriggerables(FormInstance mainInstance, EvaluationContext evalContext)Initialize the triggerableDAG array and the triggerIndex array.voidLegacyDagImpl. finalizeTriggerables(FormInstance mainInstance, EvaluationContext evalContext)Finalize the DAG associated with the form's triggered conditions.voidSafe2014DagImpl. finalizeTriggerables(FormInstance mainInstance, EvaluationContext evalContext)Finalize the DAG associated with the form's triggered conditions.IConditionExprIDag. getConditionExpressionForTrueAction(FormInstance mainInstance, TreeElement instanceNode, int action)Pull this in from FormOverview so that we can make fields private.Collection<QuickTriggerable>April2014DagImpl. initializeTriggerables(FormInstance mainInstance, EvaluationContext evalContext, TreeReference rootRef, boolean midSurvey)Walks the current set of conditions, and evaluates each of them with the current context.Collection<QuickTriggerable>Fast2014DagImpl. initializeTriggerables(FormInstance mainInstance, EvaluationContext evalContext, TreeReference rootRef, boolean midSurvey)Walks the current set of conditions, and evaluates each of them with the current context.abstract Collection<QuickTriggerable>IDag. initializeTriggerables(FormInstance mainInstance, EvaluationContext evalContext, TreeReference rootRef, boolean midSurvey)Invoked externally when a new mainInstance is loaded (initial sweep of calculates).Collection<QuickTriggerable>LegacyDagImpl. initializeTriggerables(FormInstance mainInstance, EvaluationContext evalContext, TreeReference rootRef, boolean midSurvey)Walks the current set of conditions, and evaluates each of them with the current context.Collection<QuickTriggerable>Safe2014DagImpl. initializeTriggerables(FormInstance mainInstance, EvaluationContext evalContext, TreeReference rootRef, boolean midSurvey)Walks the current set of conditions, and evaluates each of them with the current context.voidFormDef. setInstance(FormInstance fi)Collection<QuickTriggerable>April2014DagImpl. triggerTriggerables(FormInstance mainInstance, EvaluationContext evalContext, TreeReference ref, boolean midSurvey)The entry point for the DAG cascade after a value is changed in the model.Collection<QuickTriggerable>Fast2014DagImpl. triggerTriggerables(FormInstance mainInstance, EvaluationContext evalContext, TreeReference ref, boolean midSurvey)The entry point for the DAG cascade after a value is changed in the model.abstract Collection<QuickTriggerable>IDag. triggerTriggerables(FormInstance mainInstance, EvaluationContext evalContext, TreeReference ref, boolean midSurvey)Fire a triggereable.Collection<QuickTriggerable>LegacyDagImpl. triggerTriggerables(FormInstance mainInstance, EvaluationContext evalContext, TreeReference ref, boolean midSurvey)The entry point for the DAG cascade after a value is changed in the model.Collection<QuickTriggerable>Safe2014DagImpl. triggerTriggerables(FormInstance mainInstance, EvaluationContext evalContext, TreeReference ref, boolean midSurvey)The entry point for the DAG cascade after a value is changed in the model. -
Uses of FormInstance in org.javarosa.core.model.condition
Methods in org.javarosa.core.model.condition with parameters of type FormInstance Modifier and Type Method Description voidCondition. apply(TreeReference ref, Object rawResult, FormInstance mainInstance)voidRecalculate. apply(TreeReference ref, Object result, FormInstance mainInstance)List<EvaluationResult>Triggerable. apply(FormInstance mainInstance, EvaluationContext parentContext, TreeReference context)Not for re-implementation, dispatches all of the evaluationprotected abstract voidTriggerable. apply(TreeReference ref, Object result, FormInstance mainInstance)ObjectCondition. eval(FormInstance model, EvaluationContext evalContext)ObjectRecalculate. eval(FormInstance model, EvaluationContext ec)protected abstract ObjectTriggerable. eval(FormInstance instance, EvaluationContext ec)booleanCondition. evalBool(FormInstance model, EvaluationContext evalContext)StringConstraint. getConstraintMessage(EvaluationContext ec, FormInstance instance, String textForm) -
Uses of FormInstance in org.javarosa.core.model.condition.pivot
Methods in org.javarosa.core.model.condition.pivot with parameters of type FormInstance Modifier and Type Method Description voidConstraintHint. init(EvaluationContext c, IConditionExpr conditional, FormInstance instance)voidRangeHint. init(EvaluationContext c, IConditionExpr conditional, FormInstance instance) -
Uses of FormInstance in org.javarosa.core.model.instance
Methods in org.javarosa.core.model.instance that return FormInstance Modifier and Type Method Description FormInstanceFormInstance. clone()Methods in org.javarosa.core.model.instance with parameters of type FormInstance Modifier and Type Method Description TreeElementFormInstance. processSaved(FormInstance template, FormDef f) -
Uses of FormInstance in org.javarosa.core.model.instance.utils
Methods in org.javarosa.core.model.instance.utils that return FormInstance Modifier and Type Method Description FormInstanceCachingInstanceTemplateManager. getTemplateInstance(int formID)Return the template model for the given form type.FormInstanceInstanceTemplateManager. getTemplateInstance(int formID)return FormInstance for the FormDef with the given form IDstatic FormInstanceCompactInstanceWrapper. loadTemplateInstance(int formID)load a template instance fresh from the original FormDef, retrieved from RMSMethods in org.javarosa.core.model.instance.utils with parameters of type FormInstance Modifier and Type Method Description voidITreeVisitor. visit(FormInstance tree) -
Uses of FormInstance in org.javarosa.core.model.util.restorable
Methods in org.javarosa.core.model.util.restorable that return FormInstance Modifier and Type Method Description static FormInstanceRestoreUtils. createDataModel(Restorable r)static FormInstanceRestoreUtils. createRootDataModel(Restorable r)FormInstanceRestorable. exportData()static FormInstanceRestoreUtils. exportRMS(IStorageUtility storage, Class type, String parentTag, IRecordFilter filter)FormInstanceIXFormyFactory. parseRestore(byte[] data, Class restorableType)static FormInstanceRestoreUtils. receive(byte[] payload, Class restorableType)static FormInstanceRestoreUtils. subDataModel(TreeElement top)Methods in org.javarosa.core.model.util.restorable with parameters of type FormInstance Modifier and Type Method Description static TreeReferenceRestoreUtils. absRef(String refStr, FormInstance dm)static voidRestoreUtils. addData(FormInstance dm, String xpath, Object data)static voidRestoreUtils. addData(FormInstance dm, String xpath, Object data, int dataType)static voidRestoreUtils. applyDataType(FormInstance dm, String path, TreeReference parent, int dataType)static voidRestoreUtils. applyDataType(FormInstance dm, String path, TreeReference parent, Class type)static ByteArrayPayloadRestoreUtils. dispatch(FormInstance dm)static voidRestoreUtils. exportRMS(FormInstance parent, Class type, String grouperName, IStorageUtility storage, IRecordFilter filter)static ObjectRestoreUtils. getValue(String xpath, FormInstance tree)static ObjectRestoreUtils. getValue(String xpath, TreeReference context, FormInstance tree)voidRestorable. importData(FormInstance dm)static voidRestoreUtils. importRMS(FormInstance dm, IStorageUtility storage, Class type, String path)static voidRestoreUtils. mergeDataModel(FormInstance parent, FormInstance child, String xpathParent)static voidRestoreUtils. mergeDataModel(FormInstance parent, FormInstance child, TreeReference parentRef)IDataPayloadIXFormyFactory. serializeInstance(FormInstance dm)static voidRestoreUtils. templateChild(FormInstance dm, String prefixPath, TreeReference parent, Restorable r)voidRestorable. templateData(FormInstance dm, TreeReference parentRef)static voidRestoreUtils. templateData(Restorable r, FormInstance dm, TreeReference parent)static TreeReferenceRestoreUtils. topRef(FormInstance dm) -
Uses of FormInstance in org.javarosa.core.model.utils
Methods in org.javarosa.core.model.utils with parameters of type FormInstance Modifier and Type Method Description IDataPayloadIInstanceSerializingVisitor. createSerializedPayload(FormInstance model)IDataPayloadIInstanceSerializingVisitor. createSerializedPayload(FormInstance model, IDataReference ref)voidIInstanceProcessor. processInstance(FormInstance tree)Processes the provided data model.byte[]IInstanceSerializingVisitor. serializeInstance(FormInstance model)byte[]IInstanceSerializingVisitor. serializeInstance(FormInstance model, FormDef formDef)byte[]IInstanceSerializingVisitor. serializeInstance(FormInstance model, IDataReference ref)voidIInstanceVisitor. visit(FormInstance instance)Performs any necessary operations on the IFormDataModel without visiting any of the Model's potential children. -
Uses of FormInstance in org.javarosa.model.xform
Methods in org.javarosa.model.xform with parameters of type FormInstance Modifier and Type Method Description IDataPayloadCompactSerializingVisitor. createSerializedPayload(FormInstance model)IDataPayloadCompactSerializingVisitor. createSerializedPayload(FormInstance model, IDataReference ref)IDataPayloadSMSSerializingVisitor. createSerializedPayload(FormInstance model)Deprecated.IDataPayloadSMSSerializingVisitor. createSerializedPayload(FormInstance model, IDataReference ref)Deprecated.IDataPayloadXFormSerializingVisitor. createSerializedPayload(FormInstance model)IDataPayloadXFormSerializingVisitor. createSerializedPayload(FormInstance model, IDataReference ref)byte[]CompactSerializingVisitor. serializeInstance(FormInstance model)byte[]CompactSerializingVisitor. serializeInstance(FormInstance model, FormDef formDef)byte[]CompactSerializingVisitor. serializeInstance(FormInstance model, IDataReference ref)byte[]SMSSerializingVisitor. serializeInstance(FormInstance model)Deprecated.byte[]SMSSerializingVisitor. serializeInstance(FormInstance model, FormDef formDef)Deprecated.byte[]SMSSerializingVisitor. serializeInstance(FormInstance model, IDataReference ref)Deprecated.byte[]XFormSerializingVisitor. serializeInstance(FormInstance model)byte[]XFormSerializingVisitor. serializeInstance(FormInstance model, FormDef formDef)byte[]XFormSerializingVisitor. serializeInstance(FormInstance model, IDataReference ref)voidCompactSerializingVisitor. visit(FormInstance tree)voidSMSSerializingVisitor. visit(FormInstance tree)Deprecated.voidXFormSerializingVisitor. visit(FormInstance tree) -
Uses of FormInstance in org.javarosa.xform.parse
Methods in org.javarosa.xform.parse that return FormInstance Modifier and Type Method Description static FormInstanceXFormParser. restoreDataModel(byte[] data, Class restorableType)static FormInstanceXFormParser. restoreDataModel(InputStream input, Class restorableType)static FormInstanceXFormParser. restoreDataModel(org.kxml2.kdom.Document doc, Class restorableType)