public class MT972 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 |
---|
MT972(MtSwiftMessage m)
Creates an MT972 initialized with the parameter MtSwiftMessage
|
MT972(SwiftMessage m)
Creates an MT972 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 MT972 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 MT972 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 MT972 is expected to be the only one. |
Field60F |
getField60F()
Iterates through block4 fields and return the first one whose name matches 60F,
or
null if none is found.The first occurrence of field 60F at MT972 is expected to be the only one. |
Field60M |
getField60M()
Iterates through block4 fields and return the first one whose name matches 60M,
or
null if none is found.The first occurrence of field 60M at MT972 is expected to be the only one. |
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 MT972 are expected at one sequence or across several sequences. |
Field62F |
getField62F()
Iterates through block4 fields and return the first one whose name matches 62F,
or
null if none is found.The first occurrence of field 62F at MT972 is expected to be the only one. |
Field62M |
getField62M()
Iterates through block4 fields and return the first one whose name matches 62M,
or
null if none is found.The first occurrence of field 62M at MT972 is expected to be the only one. |
Field64 |
getField64()
Iterates through block4 fields and return the first one whose name matches 64,
or
null if none is found.The first occurrence of field 64 at MT972 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 MT972(MtSwiftMessage m)
m
- swift message with the MT972 contentpublic MT972(SwiftMessage m)
m
- swift message with the MT972 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 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 Field60F getField60F()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field60M getField60M()
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<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 Field62F getField62F()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field62M getField62M()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field64 getField64()
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