Class MessageInfo


  • public class MessageInfo
    extends Object
    Contains information needed to identify a message: who the sender and the receiver is, the original journalpost and the transaction (conversation). To be used with logging and receipts to reduce parameters in methods and dependency to the standard business document.
    • Constructor Detail

      • MessageInfo

        public MessageInfo​(String messageType,
                           String receiverOrgNumber,
                           String senderOrgNumber,
                           String conversationId,
                           String messageId)
    • Method Detail

      • getMessageType

        public String getMessageType()
      • getReceiverOrgNumber

        public String getReceiverOrgNumber()
      • getSenderOrgNumber

        public String getSenderOrgNumber()
      • getConversationId

        public String getConversationId()
      • getMessageId

        public String getMessageId()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object