Iterator i = ts.iterator();
while (i.hasNext()) {
SbiThresholdValue tls = (SbiThresholdValue) i.next();
IThresholdValueDAO thDao=(IThresholdValueDAO)DAOFactory.getThresholdValueDAO();
ThresholdValue tr = thDao.toThresholdValue(tls);
thresholdValues.add(tr);
}
}
// TODO for the moment get actual values of weight/target etc check if it is correct