MeasurementDataPK pk = new MeasurementDataPK(data.getTimestamp(), data.getScheduleId());
MeasurementOOBComposite comp = map.get(pk);
comp.setDataMin(data.getMin());
comp.setDataMax(data.getMax());
comp.calculateOutlier();
}
}
// return the result
long totalCount = (Long) countQuery.getSingleResult();
PageList<MeasurementOOBComposite> result = new PageList<MeasurementOOBComposite>(results, (int) totalCount, pc);