public class MT028 extends AbstractMT implements java.io.Serializable
Constructor and Description |
---|
MT028()
Creates an MT028 initialized with a new SwiftMessage
|
MT028(SwiftMessage m)
Creates an MT028 initialized with the parameter SwiftMessage
|
Modifier and Type | Method and Description |
---|---|
Field103 |
getField103()
Iterates through block4 fields and return the first one whose name matches 103,
or
null if none is found.The first occurrence of field 103 at MT028 is expected to be the only one. |
java.util.List<Field177> |
getField177()
Iterates through block4 fields and return all occurrences of fields whose names matches 177,
or
Collections.emptyList() if none is found.Multiple occurrences of field 177 at MT028 are expected at one sequence or across several sequences. |
Field243 |
getField243()
Iterates through block4 fields and return the first one whose name matches 243,
or
null if none is found.The first occurrence of field 243 at MT028 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 MT028()
public MT028(SwiftMessage m)
m
- swift message with the MT028 contentpublic Field103 getField103()
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<Field177> getField177()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public Field243 getField243()
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