|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.swift.SwiftMessage
public class SwiftMessage
A wrapper object for SWIFT messages.
Contains various convenience methods for accessing relevant SWIFT message information from the underlying
ComplexDataObject
.
Constructor Summary | |
---|---|
SwiftMessage(ComplexDataObject rootObject)
Constructs a new SwiftMessage wrapper data object from a ComplexDataObject . |
Method Summary | |
---|---|
ComplexDataObject |
getBlock1()
Return the Basic Header Block of this SWIFT message. |
ComplexDataObject |
getBlock2()
Return FIN Application Header Input or Output Block of this SWIFT message. |
ComplexDataObject |
getBlock3()
Return the User Header Block of this SWIFT message. |
ComplexDataObject |
getBlock4()
Return the Text Block of this SWIFT message. |
ComplexDataObject |
getBlock5()
Return the Trailer Block of this SWIFT message. |
ComplexDataObject |
getMessageObject()
Return the underlying ComplexDataObject representing the structure of this SWIFT message. |
int |
getMessageType()
Return the message type for this SWIFT message i.e.: 564, 103, etc. |
int |
getSequenceNumber()
Returns an int value representing the sequence number of this message. |
int |
getSessionNumber()
Returns an int value representing the session number of this message. |
ComplexDataObject |
getSourceLTAddress()
Get the Source LT Address for this SWIFT message. |
ComplexDataObject |
getTargetLTAddress()
Get the target LT address for this SWIFT message. |
boolean |
isAck()
Returns a boolean value indicating whether this SWIFT message is an Acknowledgement message. |
boolean |
isIncoming()
Returns a boolean value indicating whether this SWIFT message is a messsage incoming to SWIFT, i.e. sent by the user. |
boolean |
isNak()
Returns a boolean value indicating whether this SWIFT message is a Not Acknowledged message. |
boolean |
isOutgoing()
Returns a boolean value indicating whether this SWIFT message is messsage outgoing from SWIFT, i.e. sent to the user. |
boolean |
isServiceMessage()
Returns a boolean value indicating whether this SWIFT message is a service message. |
boolean |
isSystemMessage()
Returns a boolean value indicating whether this SWIFT message is a system message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwiftMessage(ComplexDataObject rootObject)
ComplexDataObject
.
rootObject
- The SWIFT messaage to wrap.Method Detail |
---|
public int getMessageType()
public boolean isIncoming()
public boolean isOutgoing()
public boolean isSystemMessage()
public boolean isServiceMessage()
public boolean isAck()
public boolean isNak()
public ComplexDataObject getBlock1()
public ComplexDataObject getBlock2()
public ComplexDataObject getBlock3()
public ComplexDataObject getBlock4()
public ComplexDataObject getBlock5()
public ComplexDataObject getSourceLTAddress()
public ComplexDataObject getTargetLTAddress()
public int getSessionNumber()
public int getSequenceNumber()
public ComplexDataObject getMessageObject()
ComplexDataObject
representing the structure of this SWIFT message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |