| Constructor and Description |
|---|
HL7Batch() |
HL7Batch(BHS objBHS,
BTS objBTS,
ISingleCollection<Message> objHL7BatchCollection)
Constructor for HL7batch used to initialize member
|
HL7Batch(ISingleCollection<Message> objHL7BatchCollection)
Constructor for HL7batch.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBatchControlID()
Gets the BatchControlID.
|
BHS |
getBatchHeader()
Gets the batch header.
|
BTS |
getBatchTrailer()
Gets the batch trailer.
|
ISingleCollection<Message> |
getMessageCollection()
Gets the message collection.
|
java.lang.String |
getQueryIdentifier()
Retrieve String of Query Identifier
|
QPD |
getQueryParameterDefinitionSegment()
Retrieve object of Query Parameter Definition Segment
|
RCP |
getResponseControlParameterSegment()
Retrieve object of Response Control Parameter Segment
|
boolean |
isDeferred()
Checks whether Query Priority is Deferred or Immediate
|
boolean |
isResponseBatch()
Checks if is response batch.
|
void |
setBatchHeader(BHS objBatchHeader)
Sets the batch header.
|
void |
setBatchTrailer(BTS objBatchTrailer)
Sets the batch trailer.
|
void |
setMessageCollection(ISingleCollection<Message> objMessageCollection)
Sets the message collection.
|
void |
setQuerySegments(QPD objQPD,
RCP objRCP)
Sets query segments required to form Enhanced mode Query Batch.
|
boolean |
validate()
Validates HL7 Batch objects.
|
public HL7Batch()
public HL7Batch(ISingleCollection<Message> objHL7BatchCollection)
objHL7BatchCollection - - object of HL7BatchCollectionpublic HL7Batch(BHS objBHS, BTS objBTS, ISingleCollection<Message> objHL7BatchCollection)
objBHS- - object of BHSobjBTS - - object of BTSobjHL7BatchCollection - - object of HL7BatchCollectionpublic QPD getQueryParameterDefinitionSegment()
getQueryParameterDefinitionSegment in interface IHL7Batchpublic RCP getResponseControlParameterSegment()
getResponseControlParameterSegment in interface IHL7Batchpublic java.lang.String getQueryIdentifier()
getQueryIdentifier in interface IHL7Batchpublic boolean isDeferred()
isDeferred in interface IHL7Batchpublic void setQuerySegments(QPD objQPD, RCP objRCP)
setQuerySegments in interface IHL7BatchobjQPD - Specified Query Parameter definition Segment.objRCP - Specified Response control parameter segment.public java.lang.String getBatchControlID()
getBatchControlID in interface IHL7Batchpublic BHS getBatchHeader()
getBatchHeader in interface IHL7Batchpublic void setBatchHeader(BHS objBatchHeader)
setBatchHeader in interface IHL7BatchobjBatchHeader - the new batch headerpublic BTS getBatchTrailer()
getBatchTrailer in interface IHL7Batchpublic void setBatchTrailer(BTS objBatchTrailer)
setBatchTrailer in interface IHL7BatchobjBatchTrailer - the new batch trailerpublic ISingleCollection<Message> getMessageCollection()
getMessageCollection in interface IHL7Batchpublic void setMessageCollection(ISingleCollection<Message> objMessageCollection)
setMessageCollection in interface IHL7BatchobjMessageCollection - the new message collectionpublic boolean isResponseBatch()
isResponseBatch in interface IHL7Batchpublic boolean validate()
throws BatchException
validate in interface IHL7BatchInvalidBatchException - the invalid message exceptionBatchException - Thrown when Batch validation fails.