public class BatchRequestPart extends Object
Constructor and Description |
---|
BatchRequestPart(boolean isChangeSet,
List<ODataRequest> requests)
Creates a new instance of BachRequestPart.
|
BatchRequestPart(boolean isChangeSet,
ODataRequest request)
Creates a new instance of BachRequestPart.
|
Modifier and Type | Method and Description |
---|---|
List<ODataRequest> |
getRequests()
Gets all requests of this part.
|
boolean |
isChangeSet()
Gets the info if a BatchPart is a ChangeSet.
|
public BatchRequestPart(boolean isChangeSet, List<ODataRequest> requests)
isChangeSet
- True, if this instance represents a change setrequests
- A list of ODataRequest
public BatchRequestPart(boolean isChangeSet, ODataRequest request)
isChangeSet
- True, if this instance represents a change setrequest
- A single ODataRequest
public boolean isChangeSet()
public List<ODataRequest> getRequests()
ODataRequest
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.