001package ca.uhn.hl7v2.hoh.api;
002
003import java.util.Map;
004
005public interface IReceivable<T> {
006
007        /**
008         * Returns the message itself
009         */
010        T getMessage();
011        
012        /**
013         * Returns a map containing other metadata about the message.
014         */
015        Map<String, Object> getMetadata();
016        
017}