response.setObjects(new ArrayList<HObject>(objects.values()));
return response;
}
public GetEventsResponse process(GetEventsRequest request) throws ServiceException {
GetEventsResponse response = new GetEventsResponse();
response.setFrom(new TimeStamp("700", "yyyy"));
response.setTo(new TimeStamp("1350", "yyyy"));
response.setEvents(new ArrayList<Event>(events.values()));
response.setPeriods(new ArrayList<Period>(periods.values()));
return response;
}