public class MT370 extends AbstractMT implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MT370.SequenceA |
static class |
MT370.SequenceA1 |
static class |
MT370.SequenceB |
static class |
MT370.SequenceB1 |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCW
Constant for qualifier with value ACCW
|
static java.lang.String |
ADTX
Constant for qualifier with value ADTX
|
static java.lang.String |
BENM
Constant for qualifier with value BENM
|
static java.lang.String |
CASH
Constant for qualifier with value CASH
|
static java.lang.String |
CSHPRTY
Constant for qualifier with value CSHPRTY
|
static java.lang.String |
GENL
Constant for qualifier with value GENL
|
static java.lang.String |
INT1
Constant for qualifier with value INT1
|
static java.lang.String |
INT2
Constant for qualifier with value INT2
|
static java.lang.String |
LINK
Constant for qualifier with value LINK
|
static java.lang.String |
NAME
Constant for MT name, this is part of the classname, after
MT |
static java.lang.String |
NETPOS
Constant for qualifier with value NETPOS
|
static java.lang.String |
NETT
Constant for qualifier with value NETT
|
static java.lang.String |
PREP
Constant for qualifier with value PREP
|
static java.lang.String |
PREV
Constant for qualifier with value PREV
|
static java.lang.String |
PTYA
Constant for qualifier with value PTYA
|
static java.lang.String |
PTYB
Constant for qualifier with value PTYB
|
static java.lang.String |
RECP
Constant for qualifier with value RECP
|
static java.lang.String |
RELA
Constant for qualifier with value RELA
|
static java.lang.String |
SEME
Constant for qualifier with value SEME
|
static java.lang.String |
TRAD
Constant for qualifier with value TRAD
|
static java.lang.String |
TRAN
Constant for qualifier with value TRAN
|
static java.lang.String |
VALU
Constant for qualifier with value VALU
|
Constructor and Description |
---|
MT370(MtSwiftMessage m)
Creates an MT370 initialized with the parameter MtSwiftMessage
|
MT370(SwiftMessage m)
Creates an MT370 initialized with the parameter SwiftMessage
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Field16R> |
getField16R()
Iterates through block4 fields and return all occurrences of fields whose names matches 16R,
or
Collections.emptyList() if none is found.Multiple occurrences of field 16R at MT370 are expected at one sequence or across several sequences. |
java.util.List<Field16S> |
getField16S()
Iterates through block4 fields and return all occurrences of fields whose names matches 16S,
or
Collections.emptyList() if none is found.Multiple occurrences of field 16S at MT370 are expected at one sequence or across several sequences. |
Field19A |
getField19A()
Iterates through block4 fields and return the first one whose name matches 19A,
or
null if none is found.The first occurrence of field 19A at MT370 is expected to be the only one. |
java.util.List<Field20C> |
getField20C()
Iterates through block4 fields and return all occurrences of fields whose names matches 20C,
or
Collections.emptyList() if none is found.Multiple occurrences of field 20C at MT370 are expected at one sequence or across several sequences. |
java.util.List<Field22F> |
getField22F()
Iterates through block4 fields and return all occurrences of fields whose names matches 22F,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22F at MT370 are expected at one sequence or across several sequences. |
Field22H |
getField22H()
Iterates through block4 fields and return the first one whose name matches 22H,
or
null if none is found.The first occurrence of field 22H at MT370 is expected to be the only one. |
Field23G |
getField23G()
Iterates through block4 fields and return the first one whose name matches 23G,
or
null if none is found.The first occurrence of field 23G at MT370 is expected to be the only one. |
java.util.List<Field70E> |
getField70E()
Iterates through block4 fields and return all occurrences of fields whose names matches 70E,
or
Collections.emptyList() if none is found.Multiple occurrences of field 70E at MT370 are expected at one sequence or across several sequences. |
java.util.List<Field95P> |
getField95P()
Iterates through block4 fields and return all occurrences of fields whose names matches 95P,
or
Collections.emptyList() if none is found.Multiple occurrences of field 95P at MT370 are expected at one sequence or across several sequences. |
java.util.List<Field95Q> |
getField95Q()
Iterates through block4 fields and return all occurrences of fields whose names matches 95Q,
or
Collections.emptyList() if none is found.Multiple occurrences of field 95Q at MT370 are expected at one sequence or across several sequences. |
java.util.List<Field95R> |
getField95R()
Iterates through block4 fields and return all occurrences of fields whose names matches 95R,
or
Collections.emptyList() if none is found.Multiple occurrences of field 95R at MT370 are expected at one sequence or across several sequences. |
java.util.List<Field97A> |
getField97A()
Iterates through block4 fields and return all occurrences of fields whose names matches 97A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 97A at MT370 are expected at one sequence or across several sequences. |
java.util.List<Field98A> |
getField98A()
Iterates through block4 fields and return all occurrences of fields whose names matches 98A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 98A at MT370 are expected at one sequence or across several sequences. |
java.util.List<Field98C> |
getField98C()
Iterates through block4 fields and return all occurrences of fields whose names matches 98C,
or
Collections.emptyList() if none is found.Multiple occurrences of field 98C at MT370 are expected at one sequence or across several sequences. |
Field98E |
getField98E()
Iterates through block4 fields and return the first one whose name matches 98E,
or
null if none is found.The first occurrence of field 98E at MT370 is expected to be the only one. |
Field99A |
getField99A()
Iterates through block4 fields and return the first one whose name matches 99A,
or
null if none is found.The first occurrence of field 99A at MT370 is expected to be the only one. |
Field99C |
getField99C()
Iterates through block4 fields and return the first one whose name matches 99C,
or
null if none is found.The first occurrence of field 99C at MT370 is expected to be the only one. |
java.lang.String |
getMessageType()
Returns this MT number
|
MT370.SequenceA |
getSequenceA()
Get the single occurrence of SequenceA delimited by 16R/16S .
|
java.util.List<MT370.SequenceA1> |
getSequenceA1List()
Get the list of SequenceA1 delimited by 16R/16S
The presence of this methods indicates that this sequence can occur more than once according to the Standard.
|
MT370.SequenceB |
getSequenceB()
Get the single occurrence of SequenceB delimited by 16R/16S .
|
java.util.List<MT370.SequenceB1> |
getSequenceB1List()
Get the list of SequenceB1 delimited by 16R/16S
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 ACCW
public static final java.lang.String ADTX
public static final java.lang.String BENM
public static final java.lang.String CASH
public static final java.lang.String CSHPRTY
public static final java.lang.String GENL
public static final java.lang.String INT1
public static final java.lang.String INT2
public static final java.lang.String LINK
public static final java.lang.String NAME
MT
public static final java.lang.String NETPOS
public static final java.lang.String NETT
public static final java.lang.String PREP
public static final java.lang.String PREV
public static final java.lang.String PTYA
public static final java.lang.String PTYB
public static final java.lang.String RECP
public static final java.lang.String RELA
public static final java.lang.String SEME
public static final java.lang.String TRAD
public static final java.lang.String TRAN
public static final java.lang.String VALU
public MT370(MtSwiftMessage m)
m
- swift message with the MT370 contentpublic MT370(SwiftMessage m)
m
- swift message with the MT370 contentpublic java.util.List<Field16R> getField16R()
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<Field16S> getField16S()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public Field19A getField19A()
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<Field20C> getField20C()
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<Field22F> getField22F()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public Field22H getField22H()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field23G getField23G()
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<Field70E> getField70E()
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<Field95P> getField95P()
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<Field95Q> getField95Q()
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<Field95R> getField95R()
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<Field97A> getField97A()
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<Field98A> getField98A()
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<Field98C> getField98C()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public Field98E getField98E()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field99A getField99A()
null
if none is found.null
if the field is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field99C getField99C()
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
public MT370.SequenceA getSequenceA()
null
. If the sequence is not found an empty instance
of SequenceA
is returnedpublic java.util.List<MT370.SequenceA1> getSequenceA1List()
public MT370.SequenceB getSequenceB()
null
. If the sequence is not found an empty instance
of SequenceB
is returnedpublic java.util.List<MT370.SequenceB1> getSequenceB1List()