View Javadoc

1   package ca.uhn.hl7v2.hoh.hapi.api;
2   
3   import ca.uhn.hl7v2.hoh.api.AbstractReceivable;
4   import ca.uhn.hl7v2.hoh.api.IReceivable;
5   import ca.uhn.hl7v2.model.Message;
6   
7   public class MessageReceivable extends AbstractReceivable<Message> implements IReceivable<Message> {
8   
9   	private final Message myMessage;
10  
11  	public MessageReceivable(Message theMessage) {
12  		myMessage = theMessage;
13  	}
14  	
15  	/**
16  	 * {@inheritDoc}
17  	 */
18  	public Message getMessage() {
19  		return myMessage;
20  	}
21  
22  }