public class MT420 extends AbstractMT implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MT420.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 |
---|
MT420(MtSwiftMessage m)
Creates an MT420 initialized with the parameter MtSwiftMessage
|
MT420(SwiftMessage m)
Creates an MT420 initialized with the parameter SwiftMessage
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Field20> |
getField20()
Iterates through block4 fields and return all occurrences of fields whose names matches 20,
or
Collections.emptyList() if none is found.Multiple occurrences of field 20 at MT420 are expected at one sequence or across several sequences. |
java.util.List<Field21> |
getField21()
Iterates through block4 fields and return all occurrences of fields whose names matches 21,
or
Collections.emptyList() if none is found.Multiple occurrences of field 21 at MT420 are expected at one sequence or across several sequences. |
Field30 |
getField30()
Iterates through block4 fields and return the first one whose name matches 30,
or
null if none is found.The first occurrence of field 30 at MT420 is expected to be the only one. |
java.util.List<Field32A> |
getField32A()
Iterates through block4 fields and return all occurrences of fields whose names matches 32A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 32A at MT420 are expected at one sequence or across several sequences. |
java.util.List<Field32B> |
getField32B()
Iterates through block4 fields and return all occurrences of fields whose names matches 32B,
or
Collections.emptyList() if none is found.Multiple occurrences of field 32B at MT420 are expected at one sequence or across several sequences. |
java.util.List<Field32K> |
getField32K()
Iterates through block4 fields and return all occurrences of fields whose names matches 32K,
or
Collections.emptyList() if none is found.Multiple occurrences of field 32K at MT420 are expected at one sequence or across several sequences. |
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 MT420 is expected to be the only one. |
Field72 |
getField72()
Iterates through block4 fields and return the first one whose name matches 72,
or
null if none is found.The first occurrence of field 72 at MT420 is expected to be the only one. |
java.lang.String |
getMessageType()
Returns this MT number
|
java.util.List<MT420.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 MT420(MtSwiftMessage m)
m
- swift message with the MT420 contentpublic MT420(SwiftMessage m)
m
- swift message with the MT420 contentpublic java.util.List<Field20> getField20()
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<Field21> getField21()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public Field30 getField30()
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<Field32A> getField32A()
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<Field32B> getField32B()
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<Field32K> getField32K()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(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 Field72 getField72()
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
public java.util.List<MT420.Sequence_0> getSequence_0List()