ArrayList result = new ArrayList();
final List<LabelValueBean> result = new ArrayList<LabelValueBean>();  result.add(new LabelValueBean(StudentCurricularPlanIDDomainType.NEWEST_STRING, StudentCurricularPlanIDDomainType.NEWEST.toString())); result.add(new LabelValueBean(StudentCurricularPlanIDDomainType.ALL_STRING, StudentCurricularPlanIDDomainType.ALL.toString()));
    public static List getLabelValueBeanList(InfoStudentCurricularPlansWithSelectedEnrollments infoSCPs) {        ArrayList result = new ArrayList();        List sCPs = infoSCPs.getInfoStudentCurricularPlans();        Iterator it = sCPs.iterator();        // adiciona "todos" e "o mais recente"        result.add(new LabelValueBean(StudentCurricularPlanIDDomainType.NEWEST_STRING,                StudentCurricularPlanIDDomainType.NEWEST.toString()));        result.add(new LabelValueBean(StudentCurricularPlanIDDomainType.ALL_STRING,                StudentCurricularPlanIDDomainType.ALL.toString()));        while (it.hasNext()) {            InfoStudentCurricularPlan infoSCP = (InfoStudentCurricularPlan) it.next();            String label = "";            label += infoSCP.getInfoDegreeCurricularPlan().getInfoDegree().getNome() + " ";            label += "(" + infoSCP.getInfoDegreeCurricularPlan().getInfoDegree().getTipoCurso() + ")";            if (infoSCP.getSpecialization() != null)                label += " - " + infoSCP.getSpecialization();            label += " - " + infoSCP.getStartDate();            result.add(new LabelValueBean(label, String.valueOf(infoSCP.getIdInternal())));        }        return result;    }