public class MT499 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 |
---|
MT499(MtSwiftMessage m)
Creates an MT499 initialized with the parameter MtSwiftMessage
|
MT499(SwiftMessage m)
Creates an MT499 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 MT499 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 MT499 is expected to be the only one. |
java.util.List<Field79> |
getField79()
Iterates through block4 fields and return all occurrences of fields whose names matches 79,
or
Collections.emptyList() if none is found.Multiple occurrences of field 79 at MT499 are expected at one sequence or across several sequences. |
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 MT499(MtSwiftMessage m)
m
- swift message with the MT499 contentpublic MT499(SwiftMessage m)
m
- swift message with the MT499 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 java.util.List<Field79> getField79()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public java.lang.String getMessageType()
getMessageType
in class AbstractMT