public GradeUserCourseForm getGradeUserCourseForm(GradeUserCourseModel theModel) { GradeUserCourseForm gradeUserCourseForm = new GradeUserCourseForm(); gradeUserCourseForm.setGradeUCID(theModel.getGradeUCID()); gradeUserCourseForm.setGradetID(theModel.getGradetID()); gradeUserCourseForm.setGradecID(theModel.getGradecID()); gradeUserCourseForm.setGradeuserID(theModel.getGradeuserID()); gradeUserCourseForm.setCoursegrade(theModel.getCoursegrade()); return gradeUserCourseForm; }
public GradeUserCourseModel getGradeUserCourseModel() { GradeUserCourseModel gradeUserCourseModel = new GradeUserCourseModel(); gradeUserCourseModel.setGradeUCID(this.gradeUCID); gradeUserCourseModel.setGradetID(this.gradetID); gradeUserCourseModel.setGradecID(this.gradecID); gradeUserCourseModel.setGradeuserID(this.gradeuserID); gradeUserCourseModel.setCoursegrade(this.coursegrade); return gradeUserCourseModel; }