infoExecutionCourse.setTheoreticalHours(new Double((String) editExecutionCourseForm .get("theoreticalHours"))); infoExecutionCourse.setTheoPratHours(new Double((String) editExecutionCourseForm .get("theoPratHours"))); infoExecutionCourse.setPraticalHours(new Double((String) editExecutionCourseForm .get("praticalHours"))); infoExecutionCourse .setLabHours(new Double((String) editExecutionCourseForm.get("labHours")));
infoExecutionCourse.setTheoreticalHours(new Double((String) editExecutionCourseForm.get("theoreticalHours"))); infoExecutionCourse.setTheoPratHours(new Double((String) editExecutionCourseForm.get("theoPratHours"))); infoExecutionCourse.setPraticalHours(new Double((String) editExecutionCourseForm.get("praticalHours"))); infoExecutionCourse.setLabHours(new Double((String) editExecutionCourseForm.get("labHours"))); infoExecutionCourse.setSeminaryHours(new Double((String) editExecutionCourseForm.get("seminaryHours"))); infoExecutionCourse.setProblemsHours(new Double((String) editExecutionCourseForm.get("problemsHours"))); infoExecutionCourse.setFieldWorkHours(new Double((String) editExecutionCourseForm.get("fieldWorkHours"))); infoExecutionCourse.setTrainingPeriodHours(new Double((String) editExecutionCourseForm.get("trainingPeriodHours"))); infoExecutionCourse.setTutorialOrientationHours(new Double((String) editExecutionCourseForm.get("tutorialOrientationHours")));
    private InfoExecutionCourse fillInfoExecutionCourseFromForm(ActionForm actionForm,            HttpServletRequest request) {        InfoExecutionCourse infoExecutionCourse = new InfoExecutionCourse();        DynaActionForm editExecutionCourseForm = (DynaActionForm) actionForm;        try {            infoExecutionCourse.setIdInternal(new Integer((String) editExecutionCourseForm                    .get("executionCourseId")));            infoExecutionCourse.setNome((String) editExecutionCourseForm.get("name"));            infoExecutionCourse.setSigla((String) editExecutionCourseForm.get("code"));            infoExecutionCourse.setTheoreticalHours(new Double((String) editExecutionCourseForm                    .get("theoreticalHours")));            infoExecutionCourse.setTheoPratHours(new Double((String) editExecutionCourseForm                    .get("theoPratHours")));            infoExecutionCourse.setPraticalHours(new Double((String) editExecutionCourseForm                    .get("praticalHours")));            infoExecutionCourse                    .setLabHours(new Double((String) editExecutionCourseForm.get("labHours")));            infoExecutionCourse.setComment((String) editExecutionCourseForm.get("comment"));        } catch (Exception e) {            e.printStackTrace();        }        return infoExecutionCourse;    }