public class ACK extends Message
This message structure of ACK is same for all messages. Represents a ACK message structure (see chapter 2.14.1). 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.
ACK objACK = (ACK)MessageFactory.createInstance().createSendSupportedMessage("ACK", "N02");
| Constructor and Description |
|---|
ACK(EnumTriggerEvent enumTriggerEvent,
IMap objMessageMap)
Constructor of class ACK,Creates an object Collection.
|
ACK(java.lang.String strEvent,
IMap objMessageMap)
Constructor of class ACK,Creates an object Collection.
|
| 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 |
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 the Message Acknowledgment(MSA) segment 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
|
void |
setMessageAcknowledgmentSegment(MSA objMSA)
Sets the Message Acknowledgment segment 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.
|
contains, dumpMessage, dumpMessage, getACKMode, getGroup, getGroupMap, getHeader, getMessageCode, getMessageControlID, getMessageStructure, getQueryUserParameters, getSegment, getSegmentSet, getSubscriptionType, getTriggerEvent, isQuery, isResponse, populate, removeGroup, removeSegment, removeSegment, removeSegmentAttribute, removeSegmentAttribute, removeSegmentAttribute, removeSegments, setHeader, setSubscriptionType, updateSegmentAttribute, updateSegmentAttribute, validate, writeToXML, writeToXMLpublic ACK(EnumTriggerEvent enumTriggerEvent, IMap objMessageMap)
enumTriggerEvent - Use as TempTriggerEvent.public ACK(java.lang.String strEvent, IMap objMessageMap)
strEvent - value of TriggerEvent.objMessageMap - Object of IMap.public void addSoftwareSegment(SFT objSFT)
objSFT - Specified Software Segment(SFT)to be added in message.public void addSoftwareSegment(ISingleCollection<SFT> objSFTSegmentCollection)
objSFTSegmentCollection - Collection of Software Segments to add in this messagepublic ISingleCollection<SFT> getSoftwareSegments()
public UAC getUserAuthenticationCredentialSegment()
public void setUserAuthenticationCredentialSegment(UAC objUAC)
objUAC - Specified UAC Segmentpublic 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 be added in this message.public void addErrorSegments(ISingleCollection<ERR> objERRSegmentCollection)
objERRSegmentCollection - Collection of Software Segments to add in this message