public class MT942 extends AbstractMT implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MT942.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 |
---|
MT942(MtSwiftMessage m)
Creates an MT942 initialized with the parameter MtSwiftMessage
|
MT942(SwiftMessage m)
Creates an MT942 initialized with the parameter SwiftMessage
|
Modifier and Type | Method and Description |
---|---|
Field13D |
getField13D()
Iterates through block4 fields and return the first one whose name matches 13D,
or
null if none is found.The first occurrence of field 13D at MT942 is expected to be the only one. |
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 MT942 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 MT942 is expected to be the only one. |
Field25 |
getField25()
Iterates through block4 fields and return the first one whose name matches 25,
or
null if none is found.The first occurrence of field 25 at MT942 is expected to be the only one. |
Field28C |
getField28C()
Iterates through block4 fields and return the first one whose name matches 28C,
or
null if none is found.The first occurrence of field 28C at MT942 is expected to be the only one. |
java.util.List<Field34F> |
getField34F()
Iterates through block4 fields and return all occurrences of fields whose names matches 34F,
or
Collections.emptyList() if none is found.Multiple occurrences of field 34F at MT942 are expected at one sequence or across several sequences. |
java.util.List<Field61> |
getField61()
Iterates through block4 fields and return all occurrences of fields whose names matches 61,
or
Collections.emptyList() if none is found.Multiple occurrences of field 61 at MT942 are expected at one sequence or across several sequences. |
java.util.List<Field86> |
getField86()
Iterates through block4 fields and return all occurrences of fields whose names matches 86,
or
Collections.emptyList() if none is found.Multiple occurrences of field 86 at MT942 are expected at one sequence or across several sequences. |
Field90C |
getField90C()
Iterates through block4 fields and return the first one whose name matches 90C,
or
null if none is found.The first occurrence of field 90C at MT942 is expected to be the only one. |
Field90D |
getField90D()
Iterates through block4 fields and return the first one whose name matches 90D,
or
null if none is found.The first occurrence of field 90D at MT942 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 MT942(MtSwiftMessage m)
m
- swift message with the MT942 contentpublic MT942(SwiftMessage m)
m
- swift message with the MT942 contentpublic Field13D getField13D()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public 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 Field25 getField25()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field28C getField28C()
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<Field34F> getField34F()
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<Field61> getField61()
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<Field86> getField86()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public Field90C getField90C()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field90D getField90D()
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