public class MT204 extends AbstractMT implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MT204.SequenceA |
static class |
MT204.SequenceB |
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 |
---|
MT204(MtSwiftMessage m)
Creates an MT204 initialized with the parameter MtSwiftMessage
|
MT204(SwiftMessage m)
Creates an MT204 initialized with the parameter SwiftMessage
|
Modifier and Type | Method and Description |
---|---|
Field19 |
getField19()
Iterates through block4 fields and return the first one whose name matches 19,
or
null if none is found.The first occurrence of field 19 at MT204 is expected to be the only one. |
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 MT204 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 MT204 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 MT204 is expected to be the only one. |
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 MT204 are expected at one sequence or across several sequences. |
java.util.List<Field53A> |
getField53A()
Iterates through block4 fields and return all occurrences of fields whose names matches 53A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 53A at MT204 are expected at one sequence or across several sequences. |
java.util.List<Field53B> |
getField53B()
Iterates through block4 fields and return all occurrences of fields whose names matches 53B,
or
Collections.emptyList() if none is found.Multiple occurrences of field 53B at MT204 are expected at one sequence or across several sequences. |
java.util.List<Field53D> |
getField53D()
Iterates through block4 fields and return all occurrences of fields whose names matches 53D,
or
Collections.emptyList() if none is found.Multiple occurrences of field 53D at MT204 are expected at one sequence or across several sequences. |
Field57A |
getField57A()
Iterates through block4 fields and return the first one whose name matches 57A,
or
null if none is found.The first occurrence of field 57A at MT204 is expected to be the only one. |
Field57B |
getField57B()
Iterates through block4 fields and return the first one whose name matches 57B,
or
null if none is found.The first occurrence of field 57B at MT204 is expected to be the only one. |
Field57D |
getField57D()
Iterates through block4 fields and return the first one whose name matches 57D,
or
null if none is found.The first occurrence of field 57D at MT204 is expected to be the only one. |
Field58A |
getField58A()
Iterates through block4 fields and return the first one whose name matches 58A,
or
null if none is found.The first occurrence of field 58A at MT204 is expected to be the only one. |
Field58D |
getField58D()
Iterates through block4 fields and return the first one whose name matches 58D,
or
null if none is found.The first occurrence of field 58D at MT204 is expected to be the only one. |
java.util.List<Field72> |
getField72()
Iterates through block4 fields and return all occurrences of fields whose names matches 72,
or
Collections.emptyList() if none is found.Multiple occurrences of field 72 at MT204 are expected at one sequence or across several sequences. |
java.lang.String |
getMessageType()
Returns this MT number
|
MT204.SequenceA |
getSequenceA()
Get the single occurrence of SequenceA delimited by and .
|
java.util.List<MT204.SequenceB> |
getSequenceBList()
Get the list of SequenceB 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 MT204(MtSwiftMessage m)
m
- swift message with the MT204 contentpublic MT204(SwiftMessage m)
m
- swift message with the MT204 contentpublic Field19 getField19()
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<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<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<Field53A> getField53A()
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<Field53B> getField53B()
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<Field53D> getField53D()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public Field57A getField57A()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field57B getField57B()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field57D getField57D()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field58A getField58A()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field58D getField58D()
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<Field72> getField72()
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 MT204.SequenceA getSequenceA()
null
.public java.util.List<MT204.SequenceB> getSequenceBList()