public class MT935 extends AbstractMT implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MT935.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 |
---|
MT935(MtSwiftMessage m)
Creates an MT935 initialized with the parameter MtSwiftMessage
|
MT935(SwiftMessage m)
Creates an MT935 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 MT935 is expected to be the only one. |
java.util.List<Field23> |
getField23()
Iterates through block4 fields and return all occurrences of fields whose names matches 23,
or
Collections.emptyList() if none is found.Multiple occurrences of field 23 at MT935 are expected at one sequence or across several sequences. |
java.util.List<Field25> |
getField25()
Iterates through block4 fields and return all occurrences of fields whose names matches 25,
or
Collections.emptyList() if none is found.Multiple occurrences of field 25 at MT935 are expected at one sequence or across several sequences. |
java.util.List<Field30> |
getField30()
Iterates through block4 fields and return all occurrences of fields whose names matches 30,
or
Collections.emptyList() if none is found.Multiple occurrences of field 30 at MT935 are expected at one sequence or across several sequences. |
java.util.List<Field37H> |
getField37H()
Iterates through block4 fields and return all occurrences of fields whose names matches 37H,
or
Collections.emptyList() if none is found.Multiple occurrences of field 37H at MT935 are expected at one sequence or across several sequences. |
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 MT935 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 MT935(MtSwiftMessage m)
m
- swift message with the MT935 contentpublic MT935(SwiftMessage m)
m
- swift message with the MT935 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 java.util.List<Field23> getField23()
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<Field25> getField25()
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<Field30> getField30()
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<Field37H> getField37H()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(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