IlpAbstractDataSource datasource = ... ... datasource.startBatch(); // add/remove objects // update attribute values, change containment, change link extremities ... datasource.endBatch();
endBatch
.
endBatch()
.
datasource.startBatch(); datasource.startBatch(); // first batch ... datasource.endBatch(); datasource.startBatch(); // second batch ... datasource.endBatch(); datasource.endBatch();
<batch>
as illustrated in the following sample:
<cplData> <batch> <addObject> <!-- ... --> </addObject> <updateObject> <!-- ... --> </updateObject> <removeObject> <!-- ... --> </removeObject> </batch> </cplData>
<batch>
elements. In this case, changes are delayed until the most
enclosing
</batch>
.