public class MT398 extends AbstractMT implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Constant for MT name, this is part of the classname, after
MT |
Constructor and Description |
---|
MT398(MtSwiftMessage m)
Creates an MT398 initialized with the parameter MtSwiftMessage
|
MT398(SwiftMessage m)
Creates an MT398 initialized with the parameter SwiftMessage
|
Modifier and Type | Method and Description |
---|---|
Field12 |
getField12()
Iterates through block4 fields and return the first one whose name matches 12,
or
null if none is found.The first occurrence of field 12 at MT398 is expected to be the only one. |
Field20 |
getField20()
Iterates through block4 fields and return the first one whose name matches 20,
or
null if none is found.The first occurrence of field 20 at MT398 is expected to be the only one. |
Field77E |
getField77E()
Iterates through block4 fields and return the first one whose name matches 77E,
or
null if none is found.The first occurrence of field 77E at MT398 is expected to be the only one. |
java.lang.String |
getMessageType()
Returns this MT number
|
addField, FIN, getApplicationId, getLogicalTerminal, getMessagePriority, getReceiver, getSender, getSequenceNumber, getServiceId, getSessionNumber, getSwiftMessage, isInput, isOutput, setReceiver, setReceiver, setSender, setSender, setSwiftMessage
public static final java.lang.String NAME
MT
public MT398(MtSwiftMessage m)
m
- swift message with the MT398 contentpublic MT398(SwiftMessage m)
m
- swift message with the MT398 contentpublic Field12 getField12()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field20 getField20()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field77E getField77E()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public java.lang.String getMessageType()
getMessageType
in class AbstractMT