Group curricularPlanMembersGroup = getDegreeCurricularPlan().getCurricularPlanMembersGroup(); if (curricularPlanMembersGroup != null) { Iterator<Person> personIterator = curricularPlanMembersGroup.getElementsIterator();  while (personIterator.hasNext()) { Person person = personIterator.next(); result.add(new SelectItem(person.getIdInternal(), person.getNome() + " (" + person.getUsername() + ")")); } }
    public List<SelectItem> getGroupMembers() throws FenixFilterException, FenixServiceException {        List<SelectItem> result = new ArrayList<SelectItem>();// TODO: check this with Lus Egdio//        DegreeCurricularPlanMembersGroup curricularPlanMembersGroup = getDegreeCurricularPlan()//                .getCurricularPlanMembersGroup();//        if (curricularPlanMembersGroup != null) {//            for (Group member : curricularPlanMembersGroup.getChildren()) {//                Person person = ((PersonGroup) member).getPerson();//                result.add(new SelectItem(person.getIdInternal(), person.getNome() + " ("//                        + person.getUsername() + ")"));//            }//        }        return result;    }