if (getParentUnits().contains(parentUnit)) {
if (getParentUnits(accountabilityType.getType()).contains(parentUnit)) {
    public Accountability addParentUnit(Unit parentUnit, AccountabilityType accountabilityType) {		if (this.equals(parentUnit)) {	    throw new DomainException("error.unit.equals.parentUnit");	}	if (getParentUnits().contains(parentUnit)) {	    throw new DomainException("error.unit.parentUnit.is.already.parentUnit");	}	YearMonthDay currentDate = new YearMonthDay();	List<Unit> subUnits = (parentUnit.isActive(currentDate)) ? getAllActiveSubUnits(currentDate) : getAllInactiveSubUnits(currentDate);	if (subUnits.contains(parentUnit)) {	    throw new DomainException("error.unit.parentUnit.is.already.subUnit");	}	return new Accountability(parentUnit, this, accountabilityType);    }