for (final CompetenceCourseLoad competenceCourseLoad : getCompetenceCourseLoads()) { result += competenceCourseLoad.getEctsCredits().doubleValue();
for (CompetenceCourseLoad competenceCourseLoad : getCompetenceCourseLoads()) { if (order == null || competenceCourseLoad.getOrder().equals(order)) { result += competenceCourseLoad.getEctsCredits(); }
    public double getEctsCredits() {        double result = 0.0;        for (final CompetenceCourseLoad competenceCourseLoad : getCompetenceCourseLoads()) {            result += competenceCourseLoad.getEctsCredits().doubleValue();        }        return result;    }