getUnitRelationsAccountabilityTypes().put(accountability.getIdInternal(), bundle.getString(accountability.getAccountabilityType().getType().getName()));
Integer subUnitIdInternal = accountability.getChildParty().getIdInternal(); if (getUnitRelationsAccountabilityTypes().containsKey(subUnitIdInternal)) { getUnitRelationsAccountabilityTypes().put( subUnitIdInternal, getUnitRelationsAccountabilityTypes().get(subUnitIdInternal).concat( ", " + bundle.getString(accountability.getAccountabilityType() .getType().getName()))); } else { getUnitRelationsAccountabilityTypes() .put( subUnitIdInternal, bundle.getString(accountability.getAccountabilityType().getType() .getName())); }
    private void getSubUnitsRelationTypes() {	ResourceBundle bundle = getResourceBundle("resources/EnumerationResources");	getUnitRelationsAccountabilityTypes().clear();	for (Accountability accountability : unit.getChildsSet()) {	    if (accountability.getChildParty() instanceof Unit) {		getUnitRelationsAccountabilityTypes().put(accountability.getIdInternal(),			bundle.getString(accountability.getAccountabilityType().getType().getName()));	    }	}    }