public Map<String, Double> getPrices() {
        prices = new HashMap<String, Double>();
        if(this.getManagerBean()!= null)
        {
            for(Spolka company : this.getManagerBean().getSpolki())
            {
                Double value = prices.get(company.getSector());
                if(value == null)
                {
                    value = 0.0;
                }
                prices.put(company.getSector(), value + company.getOstatnie().getPrice());
            }
        }
        return prices;
    }