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 a collection of ODataResponses.
|
boolean |
isChangeSet()
Returns true if the current instance represents a change set.
|
public ODataResponsePart(List<ODataResponse> responses, boolean isChangeSet)
responses
- A list of ODataResponse
isChangeSet
- whether this ODataResponsePart represents a change setpublic ODataResponsePart(ODataResponse response, boolean isChangeSet)
response
- A single ODataResponse
isChangeSet
- whether this ODataResponsePart represents a change setpublic List<ODataResponse> getResponses()
ODataResponse
.
If this instance represents a change set, there may be many ODataResponses.ODataResponse
public boolean isChangeSet()
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.