Class RequestBatchEntity


  • public class RequestBatchEntity
    extends java.lang.Object
    Information about a batch present in the request body.
    • Constructor Detail

      • RequestBatchEntity

        @Deprecated(since="1905",
                    forRemoval=true)
        protected RequestBatchEntity​(java.lang.String msgId,
                                     java.io.InputStream payload,
                                     java.lang.String objType,
                                     int cnt)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Instantiates this RequestBatchEntity
        Parameters:
        msgId - message ID of the inbound request. It's common for all batches.
        payload - the batch content from the request body
        objType - integration object type. This is common for all batches.
        cnt - number of change sets in this batch
      • RequestBatchEntity

        protected RequestBatchEntity​(java.lang.String msgId,
                                     java.io.InputStream payload,
                                     java.lang.String objType,
                                     int cnt,
                                     java.lang.String key)
        Instantiates this RequestBatchEntity
        Parameters:
        msgId - message ID of the inbound request. It's common for all batches.
        payload - the batch content from the request body
        objType - integration object type. This is common for all batches.
        cnt - number of change sets in this batch
        key - integration key of the request
    • Method Detail

      • getContent

        public java.io.InputStream getContent()
      • getMessageId

        public java.lang.String getMessageId()
      • getIntegrationObjectType

        public java.lang.String getIntegrationObjectType()
      • getIntegrationKey

        public java.lang.String getIntegrationKey()
      • getNumberOfChangeSets

        public int getNumberOfChangeSets()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object