public class MT971 extends AbstractMT implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MT971.Sequence_0 |
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 |
---|
MT971(MtSwiftMessage m)
Creates an MT971 initialized with the parameter MtSwiftMessage
|
MT971(SwiftMessage m)
Creates an MT971 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 MT971 is expected to be the only one. |
java.util.List<Field25> |
getField25()
Iterates through block4 fields and return all occurrences of fields whose names matches 25,
or
Collections.emptyList() if none is found.Multiple occurrences of field 25 at MT971 are expected at one sequence or across several sequences. |
java.util.List<Field62F> |
getField62F()
Iterates through block4 fields and return all occurrences of fields whose names matches 62F,
or
Collections.emptyList() if none is found.Multiple occurrences of field 62F at MT971 are expected at one sequence or across several sequences. |
java.lang.String |
getMessageType()
Returns this MT number
|
java.util.List<MT971.Sequence_0> |
getSequence_0List()
Get the list of Sequence_0 delimited by and
The presence of this methods indicates that this sequence can occur more than once according to the Standard.
|
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 MT971(MtSwiftMessage m)
m
- swift message with the MT971 contentpublic MT971(SwiftMessage m)
m
- swift message with the MT971 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 java.util.List<Field25> getField25()
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.util.List<Field62F> getField62F()
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
public java.util.List<MT971.Sequence_0> getSequence_0List()