for (DegreeCurricularPlan degreeCurricularPlan : this.getDegreeCurricularPlans()) { if(degreeCurricularPlan.getState().equals(state)) { result.add(degreeCurricularPlan); } }
if(!isBolonhaDegree()) { for (DegreeCurricularPlan degreeCurricularPlan : this.getDegreeCurricularPlans()) { if(degreeCurricularPlan.getState().equals(state)) { result.add(degreeCurricularPlan); } } }
    public List<DegreeCurricularPlan> findDegreeCurricularPlansByState(DegreeCurricularPlanState state){    	List<DegreeCurricularPlan> result = new ArrayList<DegreeCurricularPlan>();    	for (DegreeCurricularPlan degreeCurricularPlan : this.getDegreeCurricularPlans()) {			if(degreeCurricularPlan.getState().equals(state)) {				result.add(degreeCurricularPlan);			}		}    	return result;    }