Set<Party> officeDegreeUnits = office.getChildParties(AccountabilityTypeEnum.ACADEMIC_STRUCTURE, Unit.class);
List<Party> officeDegreeUnits = office.getChildParties( AccountabilityTypeEnum.ACADEMIC_STRUCTURE, Unit.class);
    public boolean isActiveForOffice(Unit office) {	Set<Party> officeDegreeUnits = office.getChildParties(AccountabilityTypeEnum.ACADEMIC_STRUCTURE,		Unit.class);	StudentCurricularPlan activeStudentCurricularPlan = getActiveStudentCurricularPlan();	if (activeStudentCurricularPlan != null) {	    if (officeDegreeUnits.contains(activeStudentCurricularPlan.getDegreeCurricularPlan()		    .getDegree().getUnit())) {		return true;	    }	}	return false;    }