Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
IReceivable |
|
| 1.0;1 |
1 | package ca.uhn.hl7v2.hoh.api; | |
2 | ||
3 | import java.util.Map; | |
4 | ||
5 | public interface IReceivable<T> { | |
6 | ||
7 | /** | |
8 | * Returns the message itself | |
9 | */ | |
10 | T getMessage(); | |
11 | ||
12 | /** | |
13 | * Returns a map containing other metadata about the message. | |
14 | */ | |
15 | Map<String, Object> getMetadata(); | |
16 | ||
17 | } |