public class ODataResponsePart extends Object
Constructor and Description |
---|
ODataResponsePart(List<ODataResponse> responses,
boolean isChangeSet)
Creates a new ODataResponsePart.
|
ODataResponsePart(ODataResponse response,
boolean isChangeSet)
Creates a new ODataResponsePart.
|
Modifier and Type | Method and Description |
---|---|
List<ODataResponse> |
getResponses()
Returns true if the current instance represents a change set.
|
boolean |
isChangeSet()
Returns a collection of ODataResponses.
|
public ODataResponsePart(List<ODataResponse> responses, boolean isChangeSet)
responses
- A list of ODataResponse
isChangeSet
- True this ODataResponsePart represents a change set, otherwise falsepublic ODataResponsePart(ODataResponse response, boolean isChangeSet)
response
- A single ODataResponse
isChangeSet
- True this ODataResponsePart represents a change set, otherwise falsepublic List<ODataResponse> getResponses()
public boolean isChangeSet()
ODataResponse
.
If this instance represents a change set, there are may many ODataResponsesODataResponse
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.