Search in sources :

Example 1 with BatchChangeSet

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);
}
Also used : BatchChangeSet(org.apache.olingo.odata2.api.client.batch.BatchChangeSet) BatchChangeSetPart(org.apache.olingo.odata2.api.client.batch.BatchChangeSetPart)

Aggregations

BatchChangeSet (org.apache.olingo.odata2.api.client.batch.BatchChangeSet)1 BatchChangeSetPart (org.apache.olingo.odata2.api.client.batch.BatchChangeSetPart)1