use of org.apache.olingo.odata2.api.client.batch.BatchChangeSet in project camel by apache.
the class Olingo2AppImpl method addChangeSetParts.
private void addChangeSetParts(ArrayList<BatchPart> parts, ArrayList<BatchChangeSetPart> changeSetParts) {
final BatchChangeSet changeSet = BatchChangeSet.newBuilder().build();
for (BatchChangeSetPart changeSetPart : changeSetParts) {
changeSet.add(changeSetPart);
}
parts.add(changeSet);
}
Aggregations