private void addToColl(MuscleRefVoCollection coll, int i) { MuscleRefVo voRef = new MuscleRefVo(); voRef.setID_Muscle(form.lyrTabs().tabMuscleSelection().grdSearchMuscles().getRows().get(i).getValue().getID_Muscle()); coll.add(voRef); form.getLocalContext().setLinkCollection(coll); }
private void populateMotorChartDetails(MotorChartDetailsVoCollection coll, LateralityLRonly lateralityLR, MotorAreaRefVo areaRefVo, MuscleGroupRefVo groupRefVo, MuscleRefVo muscleRefVo, Object score) { MotorChartDetailsVo voMotorChartDetails = new MotorChartDetailsVo(); voMotorChartDetails.setLaterality(lateralityLR); voMotorChartDetails.setScore((Integer) score); voMotorChartDetails.setMotorArea(areaRefVo); voMotorChartDetails.setMuscleGroup(groupRefVo); voMotorChartDetails.setMuscle(muscleRefVo); coll.add(voMotorChartDetails); }