public class BatchAgent extends java.lang.Object implements IBatchProcessor
| Constructor and Description |
|---|
BatchAgent() |
| Modifier and Type | Method and Description |
|---|---|
IHL7BatchFile |
createBatchFile(MessageFactory objMessageFactory,
ISegmentSet objSegmentSet)
Creates HL7BatchFile and populate it through provided SegmentSet.
|
ISegmentSet |
getSegmentSet(IHL7Batch objBatch)
Populates SegemntSet through provided HL7Batch.
|
ISegmentSet |
getSegmentSet(IHL7BatchFile objHL7BatchFile)
Populates SegemntSet through provided HL7BatchFile.
|
IHL7BatchFile |
populateBatchFile(MessageFactory objMessageFactory,
ISegmentSet objSegmentSet)
Populates HL7BatchFile through provided SegmentSet.
|
IHL7BatchFile |
processReceive(MessageFactory objMessageFactory,
ISegmentSet objISegmentSet)
Retrieves populated HL7BatchFile through given SegmentSet.
|
ISegmentSet |
processSend(IHL7BatchFile objHL7BatchFile)
Retrieves SegmentSet generated through provided HL7BatchFile.
|
public IHL7BatchFile processReceive(MessageFactory objMessageFactory, ISegmentSet objISegmentSet)
processReceive in interface IBatchProcessorobjMessageFactory - instance of MessageFactoryobjSegmentSet - instance of SegmentSetjava.io.IOException - Signals that an I/O exception has occurred.public ISegmentSet processSend(IHL7BatchFile objHL7BatchFile)
processSend in interface IBatchProcessorobjHL7BatchFile - instance of HL7BatchFilepublic IHL7BatchFile createBatchFile(MessageFactory objMessageFactory, ISegmentSet objSegmentSet)
createBatchFile in interface IBatchProcessorobjMessageFactory - instance of Message factoryobjSegmentSet - instance of SegmentSetpublic IHL7BatchFile populateBatchFile(MessageFactory objMessageFactory, ISegmentSet objSegmentSet)
populateBatchFile in interface IBatchProcessorobjMessageFactory - instance of Message factoryobjSegmentSet - instance of SegmentSetpublic ISegmentSet getSegmentSet(IHL7BatchFile objHL7BatchFile)
getSegmentSet in interface IBatchProcessorobjHL7BatchFile - instance of HL7BatchFilepublic ISegmentSet getSegmentSet(IHL7Batch objBatch)
getSegmentSet in interface IBatchProcessorobjHL7Batch - instance of HL7Batch