// elementId);
// for (VarintervalBean intervalBean : col) {
// intervalBean.remove(con);
// }
int orderNr = 0;
ContainerintervalBean containerIntervalBean = null;
for (Node node : intervalList) {
containerIntervalBean = new ContainerintervalBean();
containerIntervalBean.setAutoid(autoId);
containerIntervalBean.setId(elementId);
String start = node.valueOf("@start");
if (start != null && !start.equals("")) {
containerIntervalBean.setValidfrom(Converter
.stringToSqlDate(start));
}
String stop = node.valueOf("@stop");
if (stop != null && !stop.equals("")) {
containerIntervalBean.setValidto(Converter
.stringToSqlDate(stop));
}
containerIntervalBean.setOrdernumber(new Integer(orderNr));
containerIntervalBean.create(con);
orderNr++;
}
}