Client client = reception.getClient();
Address address = null;
if (client.getAddressID() != null) {
address = getDao().getById(Address.class, client.getAddressID());
}
ReceptionGroup group = map.get(client.getId());
if (group == null) {
group = new ReceptionGroup();
lines.add(group);
map.put(client.getId(), group);
group.client = client;
group.addressClient = address != null ? address.getAsStringShort() : "";
group.receptionLines = new ArrayList<ReceptionLine>();