Class EDIMessage

java.lang.Object
com.onenetwork.platform.integ.edi.EDIMessage

public class EDIMessage
extends java.lang.Object
A container of both EDI Envelope and its corresponding Message.
  • Constructor Details

  • Method Details

    • getMessage

      public Message getMessage()
      Returns:
      the message This method will return the Message processing the EDI.

      For an inbound EDI, this will be the inbound message and for an outbound EDI, this will be the outbound message sent.

    • setMessage

      public void setMessage​(Message message)
      Parameters:
      message - the message to set Set the Message processing the EDI.
    • getEnvelope

      public com.americancoders.edi.Envelope getEnvelope()
      Returns:
      the envelope Returns the EDI Envelope for the message consisting of interchange header, functional groups and transaction sets.
    • setEnvelope

      public void setEnvelope​(com.americancoders.edi.Envelope envelope)
      Parameters:
      envelope - the envelope to set Set the EDI Envelope for the message.
    • getEdiMsgQueuesForMessage

      public java.util.List<EdiMessageQueue> getEdiMsgQueuesForMessage()
      Returns:
      the ediMsgQueuesForMessage The EDI MessageQueue entries for the transaction sets within the EDI envelope
    • setEdiMsgQueuesForMessage

      public void setEdiMsgQueuesForMessage​(java.util.List<EdiMessageQueue> ediMsgQueuesForMessage)
      Parameters:
      ediMsgQueuesForMessage - - set the EDI MessageQueue entries for the transaction sets within the EDI envelope