public class MT986 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 |
---|
MT986(MtSwiftMessage m)
Creates an MT986 initialized with the parameter MtSwiftMessage
|
MT986(SwiftMessage m)
Creates an MT986 initialized with the parameter SwiftMessage
|
Modifier and Type | Method and Description |
---|---|
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 MT986 is expected to be the only one. |
Field21 |
getField21()
Iterates through block4 fields and return the first one whose name matches 21,
or
null if none is found.The first occurrence of field 21 at MT986 is expected to be the only one. |
Field59 |
getField59()
Iterates through block4 fields and return the first one whose name matches 59,
or
null if none is found.The first occurrence of field 59 at MT986 is expected to be the only one. |
Field79 |
getField79()
Iterates through block4 fields and return the first one whose name matches 79,
or
null if none is found.The first occurrence of field 79 at MT986 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 MT986(MtSwiftMessage m)
m
- swift message with the MT986 contentpublic MT986(SwiftMessage m)
m
- swift message with the MT986 contentpublic 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 Field21 getField21()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field59 getField59()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field79 getField79()
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