org.apache.olingo.odata2.api.client.batch
Class BatchChangeSet

java.lang.Object
  extended by org.apache.olingo.odata2.api.client.batch.BatchChangeSet
All Implemented Interfaces:
BatchPart

public abstract class BatchChangeSet
extends Object
implements BatchPart

A BatchChangeSet

BatchChangeSet represents a Change Set, that consists of change requests


Nested Class Summary
static class BatchChangeSet.BatchChangeSetBuilder
           
 
Constructor Summary
BatchChangeSet()
           
 
Method Summary
abstract  void add(BatchChangeSetPart request)
          Add a new change request to the ChangeSet
abstract  List<BatchChangeSetPart> getChangeSetParts()
          Get change requests
static BatchChangeSet.BatchChangeSetBuilder newBuilder()
          Get new builder instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchChangeSet

public BatchChangeSet()
Method Detail

add

public abstract void add(BatchChangeSetPart request)
Add a new change request to the ChangeSet

Parameters:
request - BatchChangeSetPart

getChangeSetParts

public abstract List<BatchChangeSetPart> getChangeSetParts()
Get change requests

Returns:
a list of BatchChangeSetPart

newBuilder

public static BatchChangeSet.BatchChangeSetBuilder newBuilder()
Get new builder instance

Returns:
BatchChangeSet.BatchChangeSetBuilder


Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.