if (!degreeCurricularPlan.isApproved()) { continue;
if (!degreeCurricularPlan.isDraft()) { toShow.add(degreeCurricularPlan);
    public UISelectItems getBolonhaDegreeCurricularPlansSelectItems() {        if (this.bolonhaDegreeCurricularPlansSelectItems == null) {            final BolonhaDegreeType bolonhaDegreeType = BolonhaDegreeType.valueOf(getChosenDegreeType());            final List<DegreeCurricularPlan> toShow = new ArrayList<DegreeCurricularPlan>();            for (final Degree degree : Degree.readBolonhaDegrees()) {                if (degree.getBolonhaDegreeType() == bolonhaDegreeType) {                    for (final DegreeCurricularPlan degreeCurricularPlan : degree.getActiveDegreeCurricularPlans()) {                        if (!degreeCurricularPlan.isApproved()) {                            continue;                        }                        toShow.add(degreeCurricularPlan);                        }                }            }            Collections.sort(toShow, DegreeCurricularPlan.DEGREE_CURRICULAR_PLAN_COMPARATOR_BY_DEGREE_TYPE_AND_EXECUTION_DEGREE_AND_DEGREE_CODE);                        final List<SelectItem> result = new ArrayList<SelectItem>();            for (final DegreeCurricularPlan degreeCurricularPlan : toShow) {                result.add(new SelectItem(degreeCurricularPlan.getIdInternal(), enumerationBundle.getString(bolonhaDegreeType.getName()) + " " + degreeCurricularPlan.getDegree().getName() + " - " + degreeCurricularPlan.getName()));            }            this.bolonhaDegreeCurricularPlansSelectItems = new UISelectItems();            this.bolonhaDegreeCurricularPlansSelectItems.setValue(result);        }        return this.bolonhaDegreeCurricularPlansSelectItems;    }