public final class ORL_O22 extends AbstractQuery
Represents a ORL_O22 message structure (see chapter 4.7.2 ) This structure contains the following elements:
0: MSH (Message Header Segment) SINGLE_COMPULSARYFollowing is the step to create message
Before that, respective Message Source and Message Recipient to be set on Message Factory.
ORL_O22 objO22 = (ORL_O22)MessageFactory.createInstance().createSendSupportedMessage("ORL", "O22");
| Modifier and Type | Method and Description |
|---|---|
void |
addErrorSegment(ERR objERR)
Adds Error Segment(ERR) to this message.
|
void |
addErrorSegments(ISingleCollection<ERR> objERRSegmentCollection)
Adds collection of Error Segment(ERR) to this message.
|
void |
addNotesAndCommentsSegment(ISingleCollection<NTE> objNTESegmentCollection)
Adds collection of Notes and Comments Segment(NTE) to this message.
|
void |
addNotesAndCommentsSegment(NTE objNTE)
Adds Notes and Comments Segment(NTE) to this message.
|
void |
addSoftwareSegment(ISingleCollection<SFT> objSFTSegmentCollection)
Adds collection of Software Segment(SFT) to this message.
|
void |
addSoftwareSegment(SFT objSFT)
Adds Software Segment(SFT) to this message.
|
ISingleCollection<ERR> |
getErrorSegments()
Retrieves Collection of Error Segments(ERR) present in this message.
|
MSA |
getMessageAcknowledgmentSegment()
Retrieves Message Acknowledgment(MSA) segment present in this message
|
ISingleCollection<NTE> |
getNotesAndCommentsSegments()
Retrieves Collection of Notes and Comments Segments(NTE) present in this message.
|
IGroup |
getResponseGroup()
Retrieves RESPONSE Group present in this message.
|
ISingleCollection<SFT> |
getSoftwareSegments()
Retrieves Collection of Software Segments(SFT) present in this message.
|
UAC |
getUserAuthenticationCredentialSegment()
Retrieves User Authentication Credential(UAC) segment present in this message
|
boolean |
isResponse()
Veifies whether message is Response.
|
void |
setMessageAcknowledgmentSegment(MSA objMSA)
Sets value of Message Acknowledgment segment for this message,overwrites if already present.
|
void |
setResponseGroup(IGroup objGroup)
Sets value of RESPONSE Group for this message,overwrites if already present.
|
void |
setUserAuthenticationCredentialSegment(UAC objUAC)
Sets value of User Authentication Credential segment for this message,overwrites if already present.
|
getQueryIdentifier, getQuerySegments, isBatchRSPExpected, isCanceledQuery, isCanceledResponse, isDeferred, isInteractiveQuery, isInteractiveResponse, setIsCanceledQuery, setIsCanceledResponse, setIsInteractiveQuery, setIsInteractiveResponsecontains, dumpMessage, dumpMessage, getACKMode, getGroup, getGroupMap, getHeader, getMessageCode, getMessageControlID, getMessageStructure, getQueryUserParameters, getSegment, getSegmentSet, getSubscriptionType, getTriggerEvent, isQuery, populate, removeGroup, removeSegment, removeSegment, removeSegmentAttribute, removeSegmentAttribute, removeSegmentAttribute, removeSegments, setHeader, setSubscriptionType, updateSegmentAttribute, updateSegmentAttribute, validate, writeToXML, writeToXMLpublic boolean isResponse()
isResponse in class Messagepublic MSA getMessageAcknowledgmentSegment()
public void setMessageAcknowledgmentSegment(MSA objMSA)
objMSA - Specified Message Acknowledgment Segmentpublic ISingleCollection<ERR> getErrorSegments()
public void addErrorSegment(ERR objERR)
objERR - Specified Error Segment(ERR)to this message.public void addErrorSegments(ISingleCollection<ERR> objERRSegmentCollection)
objERRSegmentCollection - Collection of Software Segments to add in this messagepublic ISingleCollection<SFT> getSoftwareSegments()
public void addSoftwareSegment(SFT objSFT)
objSFT - Specified Software Segment(SFT) to be added in this messageto this message.public void addSoftwareSegment(ISingleCollection<SFT> objSFTSegmentCollection)
objSFTSegmentCollection - Collection of Software Segments to add in this messagepublic UAC getUserAuthenticationCredentialSegment()
public void setUserAuthenticationCredentialSegment(UAC objUAC)
objUAC - Specified UAC Segmentpublic ISingleCollection<NTE> getNotesAndCommentsSegments()
public void addNotesAndCommentsSegment(NTE objNTE)
objNTE - Specified Notes and Comments Segment(NTE)to add in this message.public void addNotesAndCommentsSegment(ISingleCollection<NTE> objNTESegmentCollection)
objNTESegmentCollection - Collection of Notes and Comments Segments to add in this messagepublic IGroup getResponseGroup()
public void setResponseGroup(IGroup objGroup)
objGroup - Specified RESPONSE Group