} else if (specialization.equals(Specialization.MASTER_DEGREE)) {
} else if (specialization.equals(Specialization.STUDENT_CURRICULAR_PLAN_MASTER_DEGREE)) {
    private void updateTotalValue() {        double totalValue = 0.0;        Specialization specialization = getStudentCurricularPlan().getSpecialization();        if (specialization.equals(Specialization.SPECIALIZATION)) {            totalValue = this.getGratuityValues().calculateTotalValueForSpecialization(                    this.getStudentCurricularPlan());        } else if (specialization.equals(Specialization.MASTER_DEGREE)) {            totalValue = this.getGratuityValues().calculateTotalValueForMasterDegree();        }        setTotalValue(totalValue);    }