@Generated public class MT340 extends AbstractMT implements java.io.Serializable
SWIFT MT340 (ISO 15022) message structure:
This source code is specific to release SRU 2020
For additional resources check https://www.prowidesoftware.com/resources
Modifier and Type | Class and Description |
---|---|
static class |
MT340.SequenceA
Class to model Sequence "A" in MT 340
|
static class |
MT340.SequenceB
Class to model Sequence "B" in MT 340
|
static class |
MT340.SequenceB1
Class to model Sequence "B1" in MT 340
|
static class |
MT340.SequenceB2
Class to model Sequence "B2" in MT 340
|
static class |
MT340.SequenceC
Class to model Sequence "C" in MT 340
|
static class |
MT340.SequenceD
Class to model Sequence "D" in MT 340
|
static class |
MT340.SequenceE
Class to model Sequence "E" in MT 340
|
static class |
MT340.SequenceF
Class to model Sequence "F" in MT 340
|
static class |
MT340.SequenceG
Class to model Sequence "G" in MT 340
|
static class |
MT340.SequenceG1
Class to model Sequence "G1" in MT 340
|
static class |
MT340.SequenceG1a
Class to model Sequence "G1a" in MT 340
|
static class |
MT340.SequenceG1a1
Class to model Sequence "G1a1" in MT 340
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Constant for MT name, this is part of the classname, after
MT |
static int |
SRU
Constant identifying the SRU to which this class belongs to.
|
m
Constructor and Description |
---|
MT340()
Creates and initializes a new MT340 input message setting TEST BICS as sender and receiver.
All mandatory header attributes are completed with default values. |
MT340(java.io.File file)
Creates a new MT340 by parsing a file with the message content in its swift FIN format.
If the file content is null or cannot be parsed as a message, the internal message object will be initialized (blocks will be created) but empty. If the file contains multiple messages, only the first one will be parsed. |
MT340(java.io.InputStream stream)
Creates a new MT340 by parsing a input stream with the message content in its swift FIN format, using "UTF-8" as encoding.
If the message content is null or cannot be parsed, the internal message object will be initialized (blocks will be created) but empty. If the stream contains multiple messages, only the first one will be parsed. |
MT340(MtSwiftMessage m)
Creates an MT340 initialized with the parameter MtSwiftMessage.
|
MT340(java.lang.String fin)
Creates a new MT340 by parsing a String with the message content in its swift FIN format.
If the fin parameter is null or the message cannot be parsed, the internal message object will be initialized (blocks will be created) but empty. If the string contains multiple messages, only the first one will be parsed. |
MT340(java.lang.String sender,
java.lang.String receiver)
Creates and initializes a new MT340 input message from sender to receiver.
All mandatory header attributes are completed with default values. |
MT340(SwiftMessage m)
Creates an MT340 initialized with the parameter SwiftMessage
|
Modifier and Type | Method and Description |
---|---|
MT340 |
append(Field... fields)
Add all the fields to the end of the block4.
|
MT340 |
append(SwiftTagListBlock block)
Add all tags from block to the end of the block4.
|
MT340 |
append(Tag... tags)
Add all tags to the end of the block4.
|
static MT340 |
fromJson(java.lang.String json)
Creates an MT340 messages from its JSON representation.
|
Field14C |
getField14C()
Iterates through block4 fields and return the first one whose name matches 14C,
or null if none is found.
The first occurrence of field 14C at MT340 is expected to be the only one. |
Field14D |
getField14D()
Iterates through block4 fields and return the first one whose name matches 14D,
or null if none is found.
The first occurrence of field 14D at MT340 is expected to be the only one. |
Field14F |
getField14F()
Iterates through block4 fields and return the first one whose name matches 14F,
or null if none is found.
The first occurrence of field 14F at MT340 is expected to be the only one. |
Field15A |
getField15A()
Iterates through block4 fields and return the first one whose name matches 15A,
or null if none is found.
The first occurrence of field 15A at MT340 is expected to be the only one. |
Field15B |
getField15B()
Iterates through block4 fields and return the first one whose name matches 15B,
or null if none is found.
The first occurrence of field 15B at MT340 is expected to be the only one. |
Field15C |
getField15C()
Iterates through block4 fields and return the first one whose name matches 15C,
or null if none is found.
The first occurrence of field 15C at MT340 is expected to be the only one. |
Field15D |
getField15D()
Iterates through block4 fields and return the first one whose name matches 15D,
or null if none is found.
The first occurrence of field 15D at MT340 is expected to be the only one. |
Field15E |
getField15E()
Iterates through block4 fields and return the first one whose name matches 15E,
or null if none is found.
The first occurrence of field 15E at MT340 is expected to be the only one. |
Field15F |
getField15F()
Iterates through block4 fields and return the first one whose name matches 15F,
or null if none is found.
The first occurrence of field 15F at MT340 is expected to be the only one. |
Field15G |
getField15G()
Iterates through block4 fields and return the first one whose name matches 15G,
or null if none is found.
The first occurrence of field 15G at MT340 is expected to be the only one. |
Field17E |
getField17E()
Iterates through block4 fields and return the first one whose name matches 17E,
or null if none is found.
The first occurrence of field 17E at MT340 is expected to be the only one. |
Field17F |
getField17F()
Iterates through block4 fields and return the first one whose name matches 17F,
or null if none is found.
The first occurrence of field 17F at MT340 is expected to be the only one. |
Field17H |
getField17H()
Iterates through block4 fields and return the first one whose name matches 17H,
or null if none is found.
The first occurrence of field 17H at MT340 is expected to be the only one. |
Field17L |
getField17L()
Iterates through block4 fields and return the first one whose name matches 17L,
or null if none is found.
The first occurrence of field 17L at MT340 is expected to be the only one. |
Field17M |
getField17M()
Iterates through block4 fields and return the first one whose name matches 17M,
or null if none is found.
The first occurrence of field 17M at MT340 is expected to be the only one. |
Field17P |
getField17P()
Iterates through block4 fields and return the first one whose name matches 17P,
or null if none is found.
The first occurrence of field 17P at MT340 is expected to be the only one. |
Field17Q |
getField17Q()
Iterates through block4 fields and return the first one whose name matches 17Q,
or null if none is found.
The first occurrence of field 17Q at MT340 is expected to be the only one. |
Field17S |
getField17S()
Iterates through block4 fields and return the first one whose name matches 17S,
or null if none is found.
The first occurrence of field 17S at MT340 is expected to be the only one. |
Field17W |
getField17W()
Iterates through block4 fields and return the first one whose name matches 17W,
or null if none is found.
The first occurrence of field 17W at MT340 is expected to be the only one. |
Field17X |
getField17X()
Iterates through block4 fields and return the first one whose name matches 17X,
or null if none is found.
The first occurrence of field 17X at MT340 is expected to be the only one. |
Field17Y |
getField17Y()
Iterates through block4 fields and return the first one whose name matches 17Y,
or null if none is found.
The first occurrence of field 17Y at MT340 is expected to be the only one. |
Field17Z |
getField17Z()
Iterates through block4 fields and return the first one whose name matches 17Z,
or null if none is found.
The first occurrence of field 17Z at MT340 is expected to be the only one. |
java.util.List<Field18A> |
getField18A()
Iterates through block4 fields and return all occurrences of fields whose names matches 18A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 18A at MT340 are expected at one sequence or across several sequences. |
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 MT340 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 MT340 is expected to be the only one. |
Field21B |
getField21B()
Iterates through block4 fields and return the first one whose name matches 21B,
or null if none is found.
The first occurrence of field 21B at MT340 is expected to be the only one. |
Field21G |
getField21G()
Iterates through block4 fields and return the first one whose name matches 21G,
or null if none is found.
The first occurrence of field 21G at MT340 is expected to be the only one. |
Field21N |
getField21N()
Iterates through block4 fields and return the first one whose name matches 21N,
or null if none is found.
The first occurrence of field 21N at MT340 is expected to be the only one. |
Field22A |
getField22A()
Iterates through block4 fields and return the first one whose name matches 22A,
or null if none is found.
The first occurrence of field 22A at MT340 is expected to be the only one. |
java.util.List<Field22B> |
getField22B()
Iterates through block4 fields and return all occurrences of fields whose names matches 22B,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22B at MT340 are expected at one sequence or across several sequences. |
Field22C |
getField22C()
Iterates through block4 fields and return the first one whose name matches 22C,
or null if none is found.
The first occurrence of field 22C at MT340 is expected to be the only one. |
java.util.List<Field22L> |
getField22L()
Iterates through block4 fields and return all occurrences of fields whose names matches 22L,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22L at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field22M> |
getField22M()
Iterates through block4 fields and return all occurrences of fields whose names matches 22M,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22M at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field22N> |
getField22N()
Iterates through block4 fields and return all occurrences of fields whose names matches 22N,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22N at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field22P> |
getField22P()
Iterates through block4 fields and return all occurrences of fields whose names matches 22P,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22P at MT340 are expected at one sequence or across several sequences. |
Field22Q |
getField22Q()
Iterates through block4 fields and return the first one whose name matches 22Q,
or null if none is found.
The first occurrence of field 22Q at MT340 is expected to be the only one. |
java.util.List<Field22R> |
getField22R()
Iterates through block4 fields and return all occurrences of fields whose names matches 22R,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22R at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field22S> |
getField22S()
Iterates through block4 fields and return all occurrences of fields whose names matches 22S,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22S at MT340 are expected at one sequence or across several sequences. |
Field22T |
getField22T()
Iterates through block4 fields and return the first one whose name matches 22T,
or null if none is found.
The first occurrence of field 22T at MT340 is expected to be the only one. |
Field22U |
getField22U()
Iterates through block4 fields and return the first one whose name matches 22U,
or null if none is found.
The first occurrence of field 22U at MT340 is expected to be the only one. |
Field22V |
getField22V()
Iterates through block4 fields and return the first one whose name matches 22V,
or null if none is found.
The first occurrence of field 22V at MT340 is expected to be the only one. |
Field23D |
getField23D()
Iterates through block4 fields and return the first one whose name matches 23D,
or null if none is found.
The first occurrence of field 23D at MT340 is expected to be the only one. |
Field24D |
getField24D()
Iterates through block4 fields and return the first one whose name matches 24D,
or null if none is found.
The first occurrence of field 24D at MT340 is expected to be the only one. |
Field29A |
getField29A()
Iterates through block4 fields and return the first one whose name matches 29A,
or null if none is found.
The first occurrence of field 29A at MT340 is expected to be the only one. |
java.util.List<Field30F> |
getField30F()
Iterates through block4 fields and return all occurrences of fields whose names matches 30F,
or
Collections.emptyList() if none is found.Multiple occurrences of field 30F at MT340 are expected at one sequence or across several sequences. |
Field30P |
getField30P()
Iterates through block4 fields and return the first one whose name matches 30P,
or null if none is found.
The first occurrence of field 30P at MT340 is expected to be the only one. |
Field30T |
getField30T()
Iterates through block4 fields and return the first one whose name matches 30T,
or null if none is found.
The first occurrence of field 30T at MT340 is expected to be the only one. |
Field30V |
getField30V()
Iterates through block4 fields and return the first one whose name matches 30V,
or null if none is found.
The first occurrence of field 30V at MT340 is expected to be the only one. |
Field32B |
getField32B()
Iterates through block4 fields and return the first one whose name matches 32B,
or null if none is found.
The first occurrence of field 32B at MT340 is expected to be the only one. |
java.util.List<Field32H> |
getField32H()
Iterates through block4 fields and return all occurrences of fields whose names matches 32H,
or
Collections.emptyList() if none is found.Multiple occurrences of field 32H at MT340 are expected at one sequence or across several sequences. |
Field34C |
getField34C()
Iterates through block4 fields and return the first one whose name matches 34C,
or null if none is found.
The first occurrence of field 34C at MT340 is expected to be the only one. |
Field35B |
getField35B()
Iterates through block4 fields and return the first one whose name matches 35B,
or null if none is found.
The first occurrence of field 35B at MT340 is expected to be the only one. |
Field37M |
getField37M()
Iterates through block4 fields and return the first one whose name matches 37M,
or null if none is found.
The first occurrence of field 37M at MT340 is expected to be the only one. |
Field38D |
getField38D()
Iterates through block4 fields and return the first one whose name matches 38D,
or null if none is found.
The first occurrence of field 38D at MT340 is expected to be the only one. |
Field38G |
getField38G()
Iterates through block4 fields and return the first one whose name matches 38G,
or null if none is found.
The first occurrence of field 38G at MT340 is expected to be the only one. |
Field39M |
getField39M()
Iterates through block4 fields and return the first one whose name matches 39M,
or null if none is found.
The first occurrence of field 39M at MT340 is expected to be the only one. |
java.util.List<Field53A> |
getField53A()
Iterates through block4 fields and return all occurrences of fields whose names matches 53A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 53A at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field53D> |
getField53D()
Iterates through block4 fields and return all occurrences of fields whose names matches 53D,
or
Collections.emptyList() if none is found.Multiple occurrences of field 53D at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field53J> |
getField53J()
Iterates through block4 fields and return all occurrences of fields whose names matches 53J,
or
Collections.emptyList() if none is found.Multiple occurrences of field 53J at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field56A> |
getField56A()
Iterates through block4 fields and return all occurrences of fields whose names matches 56A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 56A at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field56D> |
getField56D()
Iterates through block4 fields and return all occurrences of fields whose names matches 56D,
or
Collections.emptyList() if none is found.Multiple occurrences of field 56D at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field56J> |
getField56J()
Iterates through block4 fields and return all occurrences of fields whose names matches 56J,
or
Collections.emptyList() if none is found.Multiple occurrences of field 56J at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field57A> |
getField57A()
Iterates through block4 fields and return all occurrences of fields whose names matches 57A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 57A at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field57D> |
getField57D()
Iterates through block4 fields and return all occurrences of fields whose names matches 57D,
or
Collections.emptyList() if none is found.Multiple occurrences of field 57D at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field57J> |
getField57J()
Iterates through block4 fields and return all occurrences of fields whose names matches 57J,
or
Collections.emptyList() if none is found.Multiple occurrences of field 57J at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field58A> |
getField58A()
Iterates through block4 fields and return all occurrences of fields whose names matches 58A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 58A at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field58D> |
getField58D()
Iterates through block4 fields and return all occurrences of fields whose names matches 58D,
or
Collections.emptyList() if none is found.Multiple occurrences of field 58D at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field58J> |
getField58J()
Iterates through block4 fields and return all occurrences of fields whose names matches 58J,
or
Collections.emptyList() if none is found.Multiple occurrences of field 58J at MT340 are expected at one sequence or across several sequences. |
Field71F |
getField71F()
Iterates through block4 fields and return the first one whose name matches 71F,
or null if none is found.
The first occurrence of field 71F at MT340 is expected to be the only one. |
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 MT340 is expected to be the only one. |
Field77A |
getField77A()
Iterates through block4 fields and return the first one whose name matches 77A,
or null if none is found.
The first occurrence of field 77A at MT340 is expected to be the only one. |
Field77H |
getField77H()
Iterates through block4 fields and return the first one whose name matches 77H,
or null if none is found.
The first occurrence of field 77H at MT340 is expected to be the only one. |
Field82A |
getField82A()
Iterates through block4 fields and return the first one whose name matches 82A,
or null if none is found.
The first occurrence of field 82A at MT340 is expected to be the only one. |
Field82D |
getField82D()
Iterates through block4 fields and return the first one whose name matches 82D,
or null if none is found.
The first occurrence of field 82D at MT340 is expected to be the only one. |
java.util.List<Field86A> |
getField86A()
Iterates through block4 fields and return all occurrences of fields whose names matches 86A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 86A at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field86D> |
getField86D()
Iterates through block4 fields and return all occurrences of fields whose names matches 86D,
or
Collections.emptyList() if none is found.Multiple occurrences of field 86D at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field86J> |
getField86J()
Iterates through block4 fields and return all occurrences of fields whose names matches 86J,
or
Collections.emptyList() if none is found.Multiple occurrences of field 86J at MT340 are expected at one sequence or across several sequences. |
Field87A |
getField87A()
Iterates through block4 fields and return the first one whose name matches 87A,
or null if none is found.
The first occurrence of field 87A at MT340 is expected to be the only one. |
Field87D |
getField87D()
Iterates through block4 fields and return the first one whose name matches 87D,
or null if none is found.
The first occurrence of field 87D at MT340 is expected to be the only one. |
Field88A |
getField88A()
Iterates through block4 fields and return the first one whose name matches 88A,
or null if none is found.
The first occurrence of field 88A at MT340 is expected to be the only one. |
Field88D |
getField88D()
Iterates through block4 fields and return the first one whose name matches 88D,
or null if none is found.
The first occurrence of field 88D at MT340 is expected to be the only one. |
java.util.List<Field91A> |
getField91A()
Iterates through block4 fields and return all occurrences of fields whose names matches 91A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 91A at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field91D> |
getField91D()
Iterates through block4 fields and return all occurrences of fields whose names matches 91D,
or
Collections.emptyList() if none is found.Multiple occurrences of field 91D at MT340 are expected at one sequence or across several sequences. |
java.util.List<Field91J> |
getField91J()
Iterates through block4 fields and return all occurrences of fields whose names matches 91J,
or
Collections.emptyList() if none is found.Multiple occurrences of field 91J at MT340 are expected at one sequence or across several sequences. |
Field94A |
getField94A()
Iterates through block4 fields and return the first one whose name matches 94A,
or null if none is found.
The first occurrence of field 94A at MT340 is expected to be the only one. |
Field96A |
getField96A()
Iterates through block4 fields and return the first one whose name matches 96A,
or null if none is found.
The first occurrence of field 96A at MT340 is expected to be the only one. |
Field96D |
getField96D()
Iterates through block4 fields and return the first one whose name matches 96D,
or null if none is found.
The first occurrence of field 96D at MT340 is expected to be the only one. |
Field96J |
getField96J()
Iterates through block4 fields and return the first one whose name matches 96J,
or null if none is found.
The first occurrence of field 96J at MT340 is expected to be the only one. |
Field98D |
getField98D()
Iterates through block4 fields and return the first one whose name matches 98D,
or null if none is found.
The first occurrence of field 98D at MT340 is expected to be the only one. |
java.lang.String |
getMessageType()
Returns this MT number
|
MT340.SequenceA |
getSequenceA()
Get the single occurrence of SequenceA using field field 15 as sequence boundary.
|
MT340.SequenceA |
getSequenceA(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceA using field field 15 as sequence boundary.
|
MT340.SequenceB |
getSequenceB()
Get the single occurrence of SequenceB using field field 15 as sequence boundary.
|
MT340.SequenceB |
getSequenceB(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB using field field 15 as sequence boundary.
|
MT340.SequenceB1 |
getSequenceB1()
Get the single occurrence of SequenceB1 delimited by leading tag and end, with an optional tail.
|
MT340.SequenceB1 |
getSequenceB1(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB1 delimited by leading tag and end, with an optional tail.
|
MT340.SequenceB2 |
getSequenceB2()
Get the single occurrence of SequenceB2 delimited by leading tag and end, with an optional tail.
|
MT340.SequenceB2 |
getSequenceB2(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB2 delimited by leading tag and end, with an optional tail.
|
MT340.SequenceC |
getSequenceC()
Get the single occurrence of SequenceC using field field 15 as sequence boundary.
|
MT340.SequenceC |
getSequenceC(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceC using field field 15 as sequence boundary.
|
MT340.SequenceD |
getSequenceD()
Get the single occurrence of SequenceD using field field 15 as sequence boundary.
|
MT340.SequenceD |
getSequenceD(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceD using field field 15 as sequence boundary.
|
MT340.SequenceE |
getSequenceE()
Get the single occurrence of SequenceE using field field 15 as sequence boundary.
|
MT340.SequenceE |
getSequenceE(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceE using field field 15 as sequence boundary.
|
MT340.SequenceF |
getSequenceF()
Get the single occurrence of SequenceF using field field 15 as sequence boundary.
|
MT340.SequenceF |
getSequenceF(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceF using field field 15 as sequence boundary.
|
MT340.SequenceG |
getSequenceG()
Get the single occurrence of SequenceG using field field 15 as sequence boundary.
|
MT340.SequenceG |
getSequenceG(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceG using field field 15 as sequence boundary.
|
java.util.List<MT340.SequenceG1a1> |
getSequenceG1a1List()
Get the list of SequenceG1a1 delimited by leading tag and end, with an optional tail.
|
static java.util.List<MT340.SequenceG1a1> |
getSequenceG1a1List(SwiftTagListBlock parentSequence)
Get the list of SequenceG1a1 delimited by leading tag and end, with an optional tail.
|
java.util.List<MT340.SequenceG1a> |
getSequenceG1aList()
Get the list of SequenceG1a delimited by leading tag and end, with an optional tail.
|
static java.util.List<MT340.SequenceG1a> |
getSequenceG1aList(SwiftTagListBlock parentSequence)
Get the list of SequenceG1a delimited by leading tag and end, with an optional tail.
|
static MT340 |
parse(java.io.File file)
Creates a new MT340 by parsing a file with the message content in its swift FIN format.
If the file contains multiple messages, only the first one will be parsed. |
static MT340 |
parse(java.io.InputStream stream)
Creates a new MT340 by parsing a input stream with the message content in its swift FIN format, using "UTF-8" as encoding.
If the stream contains multiple messages, only the first one will be parsed. |
static MT340 |
parse(MtSwiftMessage m)
Creates an MT340 initialized with the parameter MtSwiftMessage.
|
static MT340 |
parse(java.lang.String fin)
Creates a new MT340 by parsing a String with the message content in its swift FIN format.
If the fin parameter cannot be parsed, the returned MT340 will have its internal message object initialized (blocks will be created) but empty. If the string contains multiple messages, only the first one will be parsed. |
addField, containsSequence, containsSequenceList, create, create, getApplicationId, getFields, getLogicalTerminal, getMessagePriority, getMtId, getReceiver, getSender, getSequence, getSequence, getSequence, getSequenceList, getSequenceList, getSequenceNumber, getServiceId, getSessionNumber, getSignature, getSwiftMessage, getSwiftMessageNotNullOrException, getVariant, isIncoming, isInput, isOutgoing, isOutput, isType, json, message, nameFromClass, read, setReceiver, setReceiver, setSender, setSender, setSignature, setSwiftMessage, tag, tags, toJson, toString, write, write, xml
getMessageStandardType, isMT, isMX
public static final int SRU
public static final java.lang.String NAME
MT
public MT340(SwiftMessage m)
m
- swift message with the MT340 contentpublic MT340(MtSwiftMessage m)
m
- swift message with the MT340 content, the parameter can not be nullMT340(String)
public MT340()
public MT340(java.lang.String sender, java.lang.String receiver)
sender
- the sender address as a bic8, bic11 or full logical terminal consisting of 12 charactersreceiver
- the receiver address as a bic8, bic11 or full logical terminal consisting of 12 characterspublic MT340(java.lang.String fin)
fin
- a string with the MT message in its FIN swift formatpublic MT340(java.io.InputStream stream) throws java.io.IOException
stream
- an input stream in UTF-8 encoding with the MT message in its FIN swift format.java.io.IOException
- if the stream data cannot be readpublic MT340(java.io.File file) throws java.io.IOException
file
- a file with the MT message in its FIN swift format.java.io.IOException
- if the file content cannot be readpublic static MT340 parse(MtSwiftMessage m)
m
- swift message with the MT340 contentMT340(String)
public static MT340 parse(java.lang.String fin)
fin
- a string with the MT message in its FIN swift format. fin may be null in which case this method returns nullpublic static MT340 parse(java.io.InputStream stream) throws java.io.IOException
stream
- an input stream in UTF-8 encoding with the MT message in its FIN swift format.java.io.IOException
- if the stream data cannot be readpublic static MT340 parse(java.io.File file) throws java.io.IOException
file
- a file with the MT message in its FIN swift format.java.io.IOException
- if the file content cannot be readpublic java.lang.String getMessageType()
getMessageType
in class AbstractMT
public MT340 append(SwiftTagListBlock block)
append
in class AbstractMT
block
- to appendpublic MT340 append(Tag... tags)
append
in class AbstractMT
tags
- to appendpublic MT340 append(Field... fields)
append
in class AbstractMT
fields
- to appendpublic static final MT340 fromJson(java.lang.String json)
For generic conversion of JSON into the corresopnding MT instance
see AbstractMT.fromJson(String)
json
- a JSON representation of an MT340 messagepublic Field15A getField15A()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field20 getField20()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field21 getField21()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field22A getField22A()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field94A getField94A()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field22C getField22C()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field23D getField23D()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field21N getField21N()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field21B getField21B()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field82A getField82A()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field82D getField82D()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field87A getField87A()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field87D getField87D()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field77H getField77H()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field14C getField14C()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field15B getField15B()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field30T getField30T()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field32B getField32B()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field30P getField30P()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field37M getField37M()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field14F getField14F()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field30V getField30V()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field38D getField38D()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field38G getField38G()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field14D getField14D()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field17F getField17F()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field39M getField39M()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field15C getField15C()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field15D getField15D()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field15E getField15E()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field29A getField29A()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field24D getField24D()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field88A getField88A()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field88D getField88D()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field71F getField71F()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field21G getField21G()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field72 getField72()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field15F getField15F()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field15G getField15G()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field96A getField96A()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field96D getField96D()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field96J getField96J()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field22T getField22T()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field17E getField17E()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field22U getField22U()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field35B getField35B()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field17H getField17H()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field17P getField17P()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field22V getField22V()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field98D getField98D()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field17W getField17W()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field17Y getField17Y()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field17Z getField17Z()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field22Q getField22Q()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field17L getField17L()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field17M getField17M()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field17Q getField17Q()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field17S getField17S()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field17X getField17X()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field34C getField34C()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field77A getField77A()
java.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public java.util.List<Field22B> getField22B()
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<Field53A> getField53A()
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<Field53D> getField53D()
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<Field53J> getField53J()
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<Field86A> getField86A()
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<Field86D> getField86D()
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<Field86J> getField86J()
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<Field56A> getField56A()
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<Field56D> getField56D()
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<Field56J> getField56J()
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<Field57A> getField57A()
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<Field57D> getField57D()
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<Field57J> getField57J()
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<Field58A> getField58A()
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<Field58D> getField58D()
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<Field58J> getField58J()
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<Field18A> getField18A()
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<Field30F> getField30F()
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<Field32H> getField32H()
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<Field22L> getField22L()
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<Field91A> getField91A()
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<Field91D> getField91D()
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<Field91J> getField91J()
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<Field22M> getField22M()
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<Field22N> getField22N()
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<Field22P> getField22P()
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<Field22R> getField22R()
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<Field22S> getField22S()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundjava.lang.IllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
@SequenceStyle(value=SPLIT_BY_15) public MT340.SequenceA getSequenceA()
@SequenceStyle(value=SPLIT_BY_15) public MT340.SequenceA getSequenceA(SwiftTagListBlock parentSequence)
parentSequence
- a not null parent sequence to find SequenceA within it@SequenceStyle(value=SPLIT_BY_15) public MT340.SequenceB getSequenceB()
@SequenceStyle(value=SPLIT_BY_15) public MT340.SequenceB getSequenceB(SwiftTagListBlock parentSequence)
parentSequence
- a not null parent sequence to find SequenceB within it@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public MT340.SequenceB1 getSequenceB1()
SwiftTagListBlock.getSubBlockDelimitedWithOptionalTail(String[], String[], String[])
@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public MT340.SequenceB1 getSequenceB1(SwiftTagListBlock parentSequence)
parentSequence
- a not null parent sequence to find SequenceB1 within itSwiftTagListBlock.getSubBlockDelimitedWithOptionalTail(String[], String[], String[])
@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public MT340.SequenceB2 getSequenceB2()
SwiftTagListBlock.getSubBlockDelimitedWithOptionalTail(String[], String[], String[])
@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public MT340.SequenceB2 getSequenceB2(SwiftTagListBlock parentSequence)
parentSequence
- a not null parent sequence to find SequenceB2 within itSwiftTagListBlock.getSubBlockDelimitedWithOptionalTail(String[], String[], String[])
@SequenceStyle(value=SPLIT_BY_15) public MT340.SequenceC getSequenceC()
@SequenceStyle(value=SPLIT_BY_15) public MT340.SequenceC getSequenceC(SwiftTagListBlock parentSequence)
parentSequence
- a not null parent sequence to find SequenceC within it@SequenceStyle(value=SPLIT_BY_15) public MT340.SequenceD getSequenceD()
@SequenceStyle(value=SPLIT_BY_15) public MT340.SequenceD getSequenceD(SwiftTagListBlock parentSequence)
parentSequence
- a not null parent sequence to find SequenceD within it@SequenceStyle(value=SPLIT_BY_15) public MT340.SequenceE getSequenceE()
@SequenceStyle(value=SPLIT_BY_15) public MT340.SequenceE getSequenceE(SwiftTagListBlock parentSequence)
parentSequence
- a not null parent sequence to find SequenceE within it@SequenceStyle(value=SPLIT_BY_15) public MT340.SequenceF getSequenceF()
@SequenceStyle(value=SPLIT_BY_15) public MT340.SequenceF getSequenceF(SwiftTagListBlock parentSequence)
parentSequence
- a not null parent sequence to find SequenceF within it@SequenceStyle(value=SPLIT_BY_15) public MT340.SequenceG getSequenceG()
@SequenceStyle(value=SPLIT_BY_15) public MT340.SequenceG getSequenceG(SwiftTagListBlock parentSequence)
parentSequence
- a not null parent sequence to find SequenceG within it@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public java.util.List<MT340.SequenceG1a> getSequenceG1aList()
SwiftTagListBlock.getSubBlocksDelimitedWithOptionalTail(String[], String[], String[])
@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public static java.util.List<MT340.SequenceG1a> getSequenceG1aList(SwiftTagListBlock parentSequence)
parentSequence
- a not null parent sequence to find SequenceG1a within itSwiftTagListBlock.getSubBlocksDelimitedWithOptionalTail(String[], String[], String[])
@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public java.util.List<MT340.SequenceG1a1> getSequenceG1a1List()
SwiftTagListBlock.getSubBlocksDelimitedWithOptionalTail(String[], String[], String[])
@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public static java.util.List<MT340.SequenceG1a1> getSequenceG1a1List(SwiftTagListBlock parentSequence)
parentSequence
- a not null parent sequence to find SequenceG1a1 within itSwiftTagListBlock.getSubBlocksDelimitedWithOptionalTail(String[], String[], String[])