org.apache.olingo.odata2.api.batch

## Interface BatchRequestPart

- All Superinterfaces:
    BatchParserResult

      public interface BatchRequestPart
      extends BatchParserResult

  A BatchPart

  BatchPart represents a distinct MIME part of a Batch Request body. It can be ChangeSet or Query Operation

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<ODataRequest>` | `getRequests()` Get requests.
    `boolean` | `isChangeSet()` Get the info if a BatchPart is a ChangeSet

- - ### Method Detail

    - #### isChangeSet

          boolean isChangeSet()

      Get the info if a BatchPart is a ChangeSet
      Returns:
        true or false

    - #### getRequests

          List<ODataRequest> getRequests()

      Get requests. If a BatchPart is a Query Operation, the list contains one request.
      Returns:
        a list of `ODataRequest`

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