public void confirmSubmission(EnrolmentEvaluationState enrolmentEvaluationState, Employee employee, String observation) {  setEnrolmentEvaluationState(enrolmentEvaluationState); setWhen(new Date()); setEmployee(employee); setObservation(observation);  EnrollmentState newEnrolmentState = EnrollmentState.APROVED; if (MarkType.getRepMarks().contains(getGrade())) { newEnrolmentState = EnrollmentState.NOT_APROVED; } else if (MarkType.getNaMarks().contains(getGrade())) { newEnrolmentState = EnrollmentState.NOT_EVALUATED; } this.getEnrolment().setEnrollmentState(newEnrolmentState);
public void confirmSubmission(Employee employee, String observation) { confirmSubmission(EnrolmentEvaluationState.FINAL_OBJ, employee, observation);
    public void confirmSubmission(EnrolmentEvaluationState enrolmentEvaluationState, Employee employee, String observation) {                setEnrolmentEvaluationState(enrolmentEvaluationState); // TODO:        setWhen(new Date());        setEmployee(employee);        setObservation(observation);        EnrollmentState newEnrolmentState = EnrollmentState.APROVED;        if (MarkType.getRepMarks().contains(getGrade())) {            newEnrolmentState = EnrollmentState.NOT_APROVED;        } else if (MarkType.getNaMarks().contains(getGrade())) {            newEnrolmentState = EnrollmentState.NOT_EVALUATED;        }        this.getEnrolment().setEnrollmentState(newEnrolmentState);    }