use of org.javarosa.core.model.instance.FormInstance in project javarosa by opendatakit.
the class RestoreUtils method exportRMS.
public static void exportRMS(FormInstance parent, Class type, String grouperName, IStorageUtility storage, IRecordFilter filter) {
FormInstance entities = RestoreUtils.exportRMS(storage, type, grouperName, filter);
RestoreUtils.mergeDataModel(parent, entities, ".");
}
use of org.javarosa.core.model.instance.FormInstance in project javarosa by opendatakit.
the class RestoreUtils method subDataModel.
public static FormInstance subDataModel(TreeElement top) {
TreeElement newTop = top.shallowCopy();
newTop.setMult(0);
return new FormInstance(newTop);
}
Aggregations