public RoomSearchResult(SearchResult<Room> copy) {
this.objectName = copy.getObjectName();
this.records = copy.getRecords();
this.result = new ArrayList<RoomDTO>(copy.getResult().size());
for (Room r : copy.getResult()) {
result.add(new RoomDTO(r));
}
this.errorId = copy.getErrorId();
}