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