Class MT340
- java.lang.Object
-
- com.prowidesoftware.swift.model.AbstractMessage
-
- com.prowidesoftware.swift.model.mt.AbstractMT
-
- com.prowidesoftware.swift.model.mt.mt3xx.MT340
-
- All Implemented Interfaces:
JsonSerializable
,java.io.Serializable
@Generated public class MT340 extends AbstractMT implements java.io.Serializable
MT 340 - Forward Rate Agreement Confirmation.SWIFT MT340 (ISO 15022) message structure:
-
Sequence A (M)
- Field 15 A (M)
- Field 20 (M)
- Field 21 (O)
- Field 22 A (M)
- Field 94 A (O)
- Field 22 C (M)
- Field 23 D (M)
- Field 21 N (O)
- Field 21 B (O)
- Field 82 A,D (M)
- Field 87 A,D (M)
- Field 77 H (M)
- Field 14 C (O)
-
Sequence B (M)
- Field 15 B (M)
- Field 30 T (M)
- Field 32 B (M)
- Field 30 F (M)
- Field 30 P (M)
- Field 37 M (M)
- Field 14 F (M)
-
Sequence B1 (O)
- Field 30 V (M)
- Field 38 D (M)
-
Sequence B2 (M)
- Field 38 G (M)
- Field 14 D (M)
- Field 17 F (M)
- Field 18 A (M)
- Field 22 B (M) (repetitive)
- Field 39 M (O)
-
Sequence C (M)
- Field 15 C (M)
- Field 53 A,D,J (O)
- Field 86 A,D,J (O)
- Field 56 A,D,J (O)
- Field 57 A,D,J (M)
- Field 58 A,D,J (O)
-
Sequence D (M)
- Field 15 D (M)
- Field 53 A,D,J (O)
- Field 86 A,D,J (O)
- Field 56 A,D,J (O)
- Field 57 A,D,J (M)
- Field 58 A,D,J (O)
-
Sequence E (O)
- Field 15 E (M)
- Field 29 A (O)
- Field 24 D (O)
- Field 88 A,D (O)
- Field 71 F (O)
- Field 21 G (O)
- Field 72 (O)
-
Sequence F (O)
- Field 15 F (M)
- Field 18 A (M)
-
Sequence _F1 (M) (repetitive)
- Field 30 F (M)
- Field 32 H (M)
- Field 53 A,D,J (O)
- Field 86 A,D,J (O)
- Field 56 A,D,J (O)
- Field 57 A,D,J (M)
-
Sequence G (O)
- Field 15 G (M)
-
Sequence G1 (O) (repetitive)
- Field 22 L (M)
- Field 91 A,D,J (O)
-
Sequence G1a (O) (repetitive)
- Field 22 M (M)
- Field 22 N (M)
-
Sequence G1a1 (O) (repetitive)
- Field 22 P (M)
- Field 22 R (M)
- Field 96 A,D,J (O)
- Field 22 S (O) (repetitive)
- Field 22 T (O)
- Field 17 E (O)
- Field 22 U (O)
- Field 35 B (O)
- Field 17 H (O)
- Field 17 P (O)
- Field 22 V (O)
- Field 98 D (O)
- Field 17 W (O)
- Field 17 Y (O)
- Field 17 Z (O)
- Field 22 Q (O)
- Field 17 L (O)
- Field 17 M (O)
- Field 17 Q (O)
- Field 17 S (O)
- Field 17 X (O)
- Field 34 C (O)
- Field 77 A (O)
This source code is specific to release SRU 2023
For additional resources check https://www.prowidesoftware.com/resources
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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.
-
Field Summary
Fields Modifier and Type Field 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.-
Fields inherited from class com.prowidesoftware.swift.model.mt.AbstractMT
m
-
-
Constructor Summary
Constructors Constructor Description MT340()
Creates and initializes a new MT340 input message setting TEST BICS as sender and receiver.MT340(MtSwiftMessage m)
Creates an MT340 initialized with the parameter MtSwiftMessage.MT340(SwiftMessage m)
Creates an MT340 initialized with the parameter SwiftMessage.MT340(java.io.File file)
Creates a new MT340 by parsing a file with the message content in its swift FIN format.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.MT340(java.lang.String fin)
Creates a new MT340 by parsing a String with the message content in its swift FIN format.MT340(java.lang.String sender, java.lang.String receiver)
Creates and initializes a new MT340 input message from sender to receiver.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.Field14D
getField14D()
Iterates through block4 fields and return the first one whose name matches 14D, or null if none is found.Field14F
getField14F()
Iterates through block4 fields and return the first one whose name matches 14F, or null if none is found.Field15A
getField15A()
Iterates through block4 fields and return the first one whose name matches 15A, or null if none is found.Field15B
getField15B()
Iterates through block4 fields and return the first one whose name matches 15B, or null if none is found.Field15C
getField15C()
Iterates through block4 fields and return the first one whose name matches 15C, or null if none is found.Field15D
getField15D()
Iterates through block4 fields and return the first one whose name matches 15D, or null if none is found.Field15E
getField15E()
Iterates through block4 fields and return the first one whose name matches 15E, or null if none is found.Field15F
getField15F()
Iterates through block4 fields and return the first one whose name matches 15F, or null if none is found.Field15G
getField15G()
Iterates through block4 fields and return the first one whose name matches 15G, or null if none is found.Field17E
getField17E()
Iterates through block4 fields and return the first one whose name matches 17E, or null if none is found.Field17F
getField17F()
Iterates through block4 fields and return the first one whose name matches 17F, or null if none is found.Field17H
getField17H()
Iterates through block4 fields and return the first one whose name matches 17H, or null if none is found.Field17L
getField17L()
Iterates through block4 fields and return the first one whose name matches 17L, or null if none is found.Field17M
getField17M()
Iterates through block4 fields and return the first one whose name matches 17M, or null if none is found.Field17P
getField17P()
Iterates through block4 fields and return the first one whose name matches 17P, or null if none is found.Field17Q
getField17Q()
Iterates through block4 fields and return the first one whose name matches 17Q, or null if none is found.Field17S
getField17S()
Iterates through block4 fields and return the first one whose name matches 17S, or null if none is found.Field17W
getField17W()
Iterates through block4 fields and return the first one whose name matches 17W, or null if none is found.Field17X
getField17X()
Iterates through block4 fields and return the first one whose name matches 17X, or null if none is found.Field17Y
getField17Y()
Iterates through block4 fields and return the first one whose name matches 17Y, or null if none is found.Field17Z
getField17Z()
Iterates through block4 fields and return the first one whose name matches 17Z, or null if none is found.java.util.List<Field18A>
getField18A()
Iterates through block4 fields and return all occurrences of fields whose names matches 18A, orCollections.emptyList()
if none is found.Field20
getField20()
Iterates through block4 fields and return the first one whose name matches 20, or null if none is found.Field21
getField21()
Iterates through block4 fields and return the first one whose name matches 21, or null if none is found.Field21B
getField21B()
Iterates through block4 fields and return the first one whose name matches 21B, or null if none is found.Field21G
getField21G()
Iterates through block4 fields and return the first one whose name matches 21G, or null if none is found.Field21N
getField21N()
Iterates through block4 fields and return the first one whose name matches 21N, or null if none is found.Field22A
getField22A()
Iterates through block4 fields and return the first one whose name matches 22A, or null if none is found.java.util.List<Field22B>
getField22B()
Iterates through block4 fields and return all occurrences of fields whose names matches 22B, orCollections.emptyList()
if none is found.Field22C
getField22C()
Iterates through block4 fields and return the first one whose name matches 22C, or null if none is found.java.util.List<Field22L>
getField22L()
Iterates through block4 fields and return all occurrences of fields whose names matches 22L, orCollections.emptyList()
if none is found.java.util.List<Field22M>
getField22M()
Iterates through block4 fields and return all occurrences of fields whose names matches 22M, orCollections.emptyList()
if none is found.java.util.List<Field22N>
getField22N()
Iterates through block4 fields and return all occurrences of fields whose names matches 22N, orCollections.emptyList()
if none is found.java.util.List<Field22P>
getField22P()
Iterates through block4 fields and return all occurrences of fields whose names matches 22P, orCollections.emptyList()
if none is found.Field22Q
getField22Q()
Iterates through block4 fields and return the first one whose name matches 22Q, or null if none is found.java.util.List<Field22R>
getField22R()
Iterates through block4 fields and return all occurrences of fields whose names matches 22R, orCollections.emptyList()
if none is found.java.util.List<Field22S>
getField22S()
Iterates through block4 fields and return all occurrences of fields whose names matches 22S, orCollections.emptyList()
if none is found.Field22T
getField22T()
Iterates through block4 fields and return the first one whose name matches 22T, or null if none is found.Field22U
getField22U()
Iterates through block4 fields and return the first one whose name matches 22U, or null if none is found.Field22V
getField22V()
Iterates through block4 fields and return the first one whose name matches 22V, or null if none is found.Field23D
getField23D()
Iterates through block4 fields and return the first one whose name matches 23D, or null if none is found.Field24D
getField24D()
Iterates through block4 fields and return the first one whose name matches 24D, or null if none is found.Field29A
getField29A()
Iterates through block4 fields and return the first one whose name matches 29A, or null if none is found.java.util.List<Field30F>
getField30F()
Iterates through block4 fields and return all occurrences of fields whose names matches 30F, orCollections.emptyList()
if none is found.Field30P
getField30P()
Iterates through block4 fields and return the first one whose name matches 30P, or null if none is found.Field30T
getField30T()
Iterates through block4 fields and return the first one whose name matches 30T, or null if none is found.Field30V
getField30V()
Iterates through block4 fields and return the first one whose name matches 30V, or null if none is found.Field32B
getField32B()
Iterates through block4 fields and return the first one whose name matches 32B, or null if none is found.java.util.List<Field32H>
getField32H()
Iterates through block4 fields and return all occurrences of fields whose names matches 32H, orCollections.emptyList()
if none is found.Field34C
getField34C()
Iterates through block4 fields and return the first one whose name matches 34C, or null if none is found.Field35B
getField35B()
Iterates through block4 fields and return the first one whose name matches 35B, or null if none is found.Field37M
getField37M()
Iterates through block4 fields and return the first one whose name matches 37M, or null if none is found.Field38D
getField38D()
Iterates through block4 fields and return the first one whose name matches 38D, or null if none is found.Field38G
getField38G()
Iterates through block4 fields and return the first one whose name matches 38G, or null if none is found.Field39M
getField39M()
Iterates through block4 fields and return the first one whose name matches 39M, or null if none is found.java.util.List<Field53A>
getField53A()
Iterates through block4 fields and return all occurrences of fields whose names matches 53A, orCollections.emptyList()
if none is found.java.util.List<Field53D>
getField53D()
Iterates through block4 fields and return all occurrences of fields whose names matches 53D, orCollections.emptyList()
if none is found.java.util.List<Field53J>
getField53J()
Iterates through block4 fields and return all occurrences of fields whose names matches 53J, orCollections.emptyList()
if none is found.java.util.List<Field56A>
getField56A()
Iterates through block4 fields and return all occurrences of fields whose names matches 56A, orCollections.emptyList()
if none is found.java.util.List<Field56D>
getField56D()
Iterates through block4 fields and return all occurrences of fields whose names matches 56D, orCollections.emptyList()
if none is found.java.util.List<Field56J>
getField56J()
Iterates through block4 fields and return all occurrences of fields whose names matches 56J, orCollections.emptyList()
if none is found.java.util.List<Field57A>
getField57A()
Iterates through block4 fields and return all occurrences of fields whose names matches 57A, orCollections.emptyList()
if none is found.java.util.List<Field57D>
getField57D()
Iterates through block4 fields and return all occurrences of fields whose names matches 57D, orCollections.emptyList()
if none is found.java.util.List<Field57J>
getField57J()
Iterates through block4 fields and return all occurrences of fields whose names matches 57J, orCollections.emptyList()
if none is found.java.util.List<Field58A>
getField58A()
Iterates through block4 fields and return all occurrences of fields whose names matches 58A, orCollections.emptyList()
if none is found.java.util.List<Field58D>
getField58D()
Iterates through block4 fields and return all occurrences of fields whose names matches 58D, orCollections.emptyList()
if none is found.java.util.List<Field58J>
getField58J()
Iterates through block4 fields and return all occurrences of fields whose names matches 58J, orCollections.emptyList()
if none is found.Field71F
getField71F()
Iterates through block4 fields and return the first one whose name matches 71F, or null if none is found.Field72
getField72()
Iterates through block4 fields and return the first one whose name matches 72, or null if none is found.Field77A
getField77A()
Iterates through block4 fields and return the first one whose name matches 77A, or null if none is found.Field77H
getField77H()
Iterates through block4 fields and return the first one whose name matches 77H, or null if none is found.Field82A
getField82A()
Iterates through block4 fields and return the first one whose name matches 82A, or null if none is found.Field82D
getField82D()
Iterates through block4 fields and return the first one whose name matches 82D, or null if none is found.java.util.List<Field86A>
getField86A()
Iterates through block4 fields and return all occurrences of fields whose names matches 86A, orCollections.emptyList()
if none is found.java.util.List<Field86D>
getField86D()
Iterates through block4 fields and return all occurrences of fields whose names matches 86D, orCollections.emptyList()
if none is found.java.util.List<Field86J>
getField86J()
Iterates through block4 fields and return all occurrences of fields whose names matches 86J, orCollections.emptyList()
if none is found.Field87A
getField87A()
Iterates through block4 fields and return the first one whose name matches 87A, or null if none is found.Field87D
getField87D()
Iterates through block4 fields and return the first one whose name matches 87D, or null if none is found.Field88A
getField88A()
Iterates through block4 fields and return the first one whose name matches 88A, or null if none is found.Field88D
getField88D()
Iterates through block4 fields and return the first one whose name matches 88D, or null if none is found.java.util.List<Field91A>
getField91A()
Iterates through block4 fields and return all occurrences of fields whose names matches 91A, orCollections.emptyList()
if none is found.java.util.List<Field91D>
getField91D()
Iterates through block4 fields and return all occurrences of fields whose names matches 91D, orCollections.emptyList()
if none is found.java.util.List<Field91J>
getField91J()
Iterates through block4 fields and return all occurrences of fields whose names matches 91J, orCollections.emptyList()
if none is found.Field94A
getField94A()
Iterates through block4 fields and return the first one whose name matches 94A, or null if none is found.Field96A
getField96A()
Iterates through block4 fields and return the first one whose name matches 96A, or null if none is found.Field96D
getField96D()
Iterates through block4 fields and return the first one whose name matches 96D, or null if none is found.Field96J
getField96J()
Iterates through block4 fields and return the first one whose name matches 96J, or null if none is found.Field98D
getField98D()
Iterates through block4 fields and return the first one whose name matches 98D, or null if none is found.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(MtSwiftMessage m)
Creates an MT340 initialized with the parameter MtSwiftMessage.static MT340
parse(java.io.File file)
Creates a new MT340 by parsing a file with the message content in its swift FIN format.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.static MT340
parse(java.lang.String fin)
Creates a new MT340 by parsing a String with the message content in its swift FIN format.-
Methods inherited from class com.prowidesoftware.swift.model.mt.AbstractMT
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, message, nameFromClass, read, setReceiver, setReceiver, setSender, setSender, setSignature, setSwiftMessage, tag, tags, toJson, toString, write, write, xml
-
Methods inherited from class com.prowidesoftware.swift.model.AbstractMessage
getMessageStandardType, isMT, isMX
-
-
-
-
Field Detail
-
SRU
public static final int SRU
Constant identifying the SRU to which this class belongs to.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Constant for MT name, this is part of the classname, after MT.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MT340
public MT340(SwiftMessage m)
Creates an MT340 initialized with the parameter SwiftMessage.- Parameters:
m
- swift message with the MT340 content
-
MT340
public MT340(MtSwiftMessage m)
Creates an MT340 initialized with the parameter MtSwiftMessage.- Parameters:
m
- swift message with the MT340 content, the parameter can not be null- See Also:
MT340(String)
-
MT340
public 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.- Since:
- 7.6
-
MT340
public 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. In particular the sender and receiver addresses will be filled with proper default LT identifier and branch codes if not provided,- Parameters:
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 characters- Since:
- 7.7
-
MT340
public 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.- Parameters:
fin
- a string with the MT message in its FIN swift format- Since:
- 7.7
-
MT340
public MT340(java.io.InputStream stream) throws java.io.IOException
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.- Parameters:
stream
- an input stream in UTF-8 encoding with the MT message in its FIN swift format.- Throws:
java.io.IOException
- if the stream data cannot be read- Since:
- 7.7
-
MT340
public MT340(java.io.File file) throws java.io.IOException
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.- Parameters:
file
- a file with the MT message in its FIN swift format.- Throws:
java.io.IOException
- if the file content cannot be read- Since:
- 7.7
-
-
Method Detail
-
parse
public static MT340 parse(MtSwiftMessage m)
Creates an MT340 initialized with the parameter MtSwiftMessage.- Parameters:
m
- swift message with the MT340 content- Returns:
- the created object or null if the parameter is null
- Since:
- 7.7
- See Also:
MT340(String)
-
parse
public 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.- Parameters:
fin
- a string with the MT message in its FIN swift format. fin may be null in which case this method returns null- Returns:
- a new instance of MT340 or null if fin is null
- Since:
- 7.7
-
parse
public static MT340 parse(java.io.InputStream stream) throws java.io.IOException
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.- Parameters:
stream
- an input stream in UTF-8 encoding with the MT message in its FIN swift format.- Returns:
- a new instance of MT340 or null if stream is null or the message cannot be parsed
- Throws:
java.io.IOException
- if the stream data cannot be read- Since:
- 7.7
-
parse
public static MT340 parse(java.io.File file) throws java.io.IOException
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.- Parameters:
file
- a file with the MT message in its FIN swift format.- Returns:
- a new instance of MT340 or null if; file is null, does not exist, can't be read, is not a file or the message cannot be parsed
- Throws:
java.io.IOException
- if the file content cannot be read- Since:
- 7.7
-
getMessageType
public java.lang.String getMessageType()
Returns this MT number.- Specified by:
getMessageType
in classAbstractMT
- Returns:
- the message type number of this MT
- Since:
- 6.4
-
append
public MT340 append(SwiftTagListBlock block)
Add all tags from block to the end of the block4.- Overrides:
append
in classAbstractMT
- Parameters:
block
- to append- Returns:
- this object to allow method chaining
- Since:
- 7.6
-
append
public MT340 append(Tag... tags)
Add all tags to the end of the block4.- Overrides:
append
in classAbstractMT
- Parameters:
tags
- to append- Returns:
- this object to allow method chaining
- Since:
- 7.6
-
append
public MT340 append(Field... fields)
Add all the fields to the end of the block4.- Overrides:
append
in classAbstractMT
- Parameters:
fields
- to append- Returns:
- this object to allow method chaining
- Since:
- 7.6
-
fromJson
public static MT340 fromJson(java.lang.String json)
Creates an MT340 messages from its JSON representation.For generic conversion of JSON into the corresponding MT instance see
AbstractMT.fromJson(String)
- Parameters:
json
- a JSON representation of an MT340 message- Returns:
- a new instance of MT340
- Since:
- 7.10.3
-
getField15A
public 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.- Returns:
- a Field15A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField20
public 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.- Returns:
- a Field20 object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField21
public 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.- Returns:
- a Field21 object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField22A
public 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.- Returns:
- a Field22A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField94A
public 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.- Returns:
- a Field94A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField22C
public 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.- Returns:
- a Field22C object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField23D
public 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.- Returns:
- a Field23D object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField21N
public 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.- Returns:
- a Field21N object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField21B
public 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.- Returns:
- a Field21B object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField82A
public 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.- Returns:
- a Field82A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField82D
public 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.- Returns:
- a Field82D object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField87A
public 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.- Returns:
- a Field87A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField87D
public 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.- Returns:
- a Field87D object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField77H
public 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.- Returns:
- a Field77H object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField14C
public 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.- Returns:
- a Field14C object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField15B
public 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.- Returns:
- a Field15B object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField30T
public 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.- Returns:
- a Field30T object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField32B
public 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.- Returns:
- a Field32B object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField30P
public 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.- Returns:
- a Field30P object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField37M
public 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.- Returns:
- a Field37M object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField14F
public 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.- Returns:
- a Field14F object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField30V
public 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.- Returns:
- a Field30V object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField38D
public 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.- Returns:
- a Field38D object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField38G
public 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.- Returns:
- a Field38G object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField14D
public 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.- Returns:
- a Field14D object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField17F
public 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.- Returns:
- a Field17F object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField39M
public 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.- Returns:
- a Field39M object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField15C
public 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.- Returns:
- a Field15C object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField15D
public 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.- Returns:
- a Field15D object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField15E
public 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.- Returns:
- a Field15E object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField29A
public 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.- Returns:
- a Field29A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField24D
public 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.- Returns:
- a Field24D object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField88A
public 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.- Returns:
- a Field88A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField88D
public 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.- Returns:
- a Field88D object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField71F
public 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.- Returns:
- a Field71F object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField21G
public 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.- Returns:
- a Field21G object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField72
public 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.- Returns:
- a Field72 object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField15F
public 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.- Returns:
- a Field15F object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField15G
public 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.- Returns:
- a Field15G object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField96A
public 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.- Returns:
- a Field96A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField96D
public 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.- Returns:
- a Field96D object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField96J
public 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.- Returns:
- a Field96J object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField22T
public 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.- Returns:
- a Field22T object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField17E
public 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.- Returns:
- a Field17E object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField22U
public 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.- Returns:
- a Field22U object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField35B
public 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.- Returns:
- a Field35B object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField17H
public 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.- Returns:
- a Field17H object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField17P
public 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.- Returns:
- a Field17P object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField22V
public 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.- Returns:
- a Field22V object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField98D
public 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.- Returns:
- a Field98D object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField17W
public 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.- Returns:
- a Field17W object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField17Y
public 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.- Returns:
- a Field17Y object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField17Z
public 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.- Returns:
- a Field17Z object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField22Q
public 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.- Returns:
- a Field22Q object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField17L
public 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.- Returns:
- a Field17L object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField17M
public 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.- Returns:
- a Field17M object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField17Q
public 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.- Returns:
- a Field17Q object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField17S
public 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.- Returns:
- a Field17S object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField17X
public 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.- Returns:
- a Field17X object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField34C
public 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.- Returns:
- a Field34C object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField77A
public 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.- Returns:
- a Field77A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField22B
public java.util.List<Field22B> getField22B()
Iterates through block4 fields and return all occurrences of fields whose names matches 22B, orCollections.emptyList()
if none is found. Multiple occurrences of field 22B at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field22B objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField53A
public java.util.List<Field53A> getField53A()
Iterates through block4 fields and return all occurrences of fields whose names matches 53A, orCollections.emptyList()
if none is found. Multiple occurrences of field 53A at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field53A objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField53D
public java.util.List<Field53D> getField53D()
Iterates through block4 fields and return all occurrences of fields whose names matches 53D, orCollections.emptyList()
if none is found. Multiple occurrences of field 53D at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field53D objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField53J
public java.util.List<Field53J> getField53J()
Iterates through block4 fields and return all occurrences of fields whose names matches 53J, orCollections.emptyList()
if none is found. Multiple occurrences of field 53J at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field53J objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField86A
public java.util.List<Field86A> getField86A()
Iterates through block4 fields and return all occurrences of fields whose names matches 86A, orCollections.emptyList()
if none is found. Multiple occurrences of field 86A at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field86A objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField86D
public java.util.List<Field86D> getField86D()
Iterates through block4 fields and return all occurrences of fields whose names matches 86D, orCollections.emptyList()
if none is found. Multiple occurrences of field 86D at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field86D objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField86J
public java.util.List<Field86J> getField86J()
Iterates through block4 fields and return all occurrences of fields whose names matches 86J, orCollections.emptyList()
if none is found. Multiple occurrences of field 86J at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field86J objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField56A
public java.util.List<Field56A> getField56A()
Iterates through block4 fields and return all occurrences of fields whose names matches 56A, orCollections.emptyList()
if none is found. Multiple occurrences of field 56A at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field56A objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField56D
public java.util.List<Field56D> getField56D()
Iterates through block4 fields and return all occurrences of fields whose names matches 56D, orCollections.emptyList()
if none is found. Multiple occurrences of field 56D at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field56D objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField56J
public java.util.List<Field56J> getField56J()
Iterates through block4 fields and return all occurrences of fields whose names matches 56J, orCollections.emptyList()
if none is found. Multiple occurrences of field 56J at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field56J objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField57A
public java.util.List<Field57A> getField57A()
Iterates through block4 fields and return all occurrences of fields whose names matches 57A, orCollections.emptyList()
if none is found. Multiple occurrences of field 57A at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field57A objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField57D
public java.util.List<Field57D> getField57D()
Iterates through block4 fields and return all occurrences of fields whose names matches 57D, orCollections.emptyList()
if none is found. Multiple occurrences of field 57D at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field57D objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField57J
public java.util.List<Field57J> getField57J()
Iterates through block4 fields and return all occurrences of fields whose names matches 57J, orCollections.emptyList()
if none is found. Multiple occurrences of field 57J at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field57J objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField58A
public java.util.List<Field58A> getField58A()
Iterates through block4 fields and return all occurrences of fields whose names matches 58A, orCollections.emptyList()
if none is found. Multiple occurrences of field 58A at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field58A objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField58D
public java.util.List<Field58D> getField58D()
Iterates through block4 fields and return all occurrences of fields whose names matches 58D, orCollections.emptyList()
if none is found. Multiple occurrences of field 58D at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field58D objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField58J
public java.util.List<Field58J> getField58J()
Iterates through block4 fields and return all occurrences of fields whose names matches 58J, orCollections.emptyList()
if none is found. Multiple occurrences of field 58J at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field58J objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField18A
public java.util.List<Field18A> getField18A()
Iterates through block4 fields and return all occurrences of fields whose names matches 18A, orCollections.emptyList()
if none is found. Multiple occurrences of field 18A at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field18A objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField30F
public java.util.List<Field30F> getField30F()
Iterates through block4 fields and return all occurrences of fields whose names matches 30F, orCollections.emptyList()
if none is found. Multiple occurrences of field 30F at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field30F objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField32H
public java.util.List<Field32H> getField32H()
Iterates through block4 fields and return all occurrences of fields whose names matches 32H, orCollections.emptyList()
if none is found. Multiple occurrences of field 32H at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field32H objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField22L
public java.util.List<Field22L> getField22L()
Iterates through block4 fields and return all occurrences of fields whose names matches 22L, orCollections.emptyList()
if none is found. Multiple occurrences of field 22L at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field22L objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField91A
public java.util.List<Field91A> getField91A()
Iterates through block4 fields and return all occurrences of fields whose names matches 91A, orCollections.emptyList()
if none is found. Multiple occurrences of field 91A at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field91A objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField91D
public java.util.List<Field91D> getField91D()
Iterates through block4 fields and return all occurrences of fields whose names matches 91D, orCollections.emptyList()
if none is found. Multiple occurrences of field 91D at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field91D objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField91J
public java.util.List<Field91J> getField91J()
Iterates through block4 fields and return all occurrences of fields whose names matches 91J, orCollections.emptyList()
if none is found. Multiple occurrences of field 91J at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field91J objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField22M
public java.util.List<Field22M> getField22M()
Iterates through block4 fields and return all occurrences of fields whose names matches 22M, orCollections.emptyList()
if none is found. Multiple occurrences of field 22M at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field22M objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField22N
public java.util.List<Field22N> getField22N()
Iterates through block4 fields and return all occurrences of fields whose names matches 22N, orCollections.emptyList()
if none is found. Multiple occurrences of field 22N at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field22N objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField22P
public java.util.List<Field22P> getField22P()
Iterates through block4 fields and return all occurrences of fields whose names matches 22P, orCollections.emptyList()
if none is found. Multiple occurrences of field 22P at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field22P objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField22R
public java.util.List<Field22R> getField22R()
Iterates through block4 fields and return all occurrences of fields whose names matches 22R, orCollections.emptyList()
if none is found. Multiple occurrences of field 22R at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field22R objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField22S
public java.util.List<Field22S> getField22S()
Iterates through block4 fields and return all occurrences of fields whose names matches 22S, orCollections.emptyList()
if none is found. Multiple occurrences of field 22S at MT340 are expected at one sequence or across several sequences.- Returns:
- a List of Field22S objects or
Collections.emptyList()
if none is not found - Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getSequenceA
@SequenceStyle(SPLIT_BY_15) public MT340.SequenceA getSequenceA()
Get the single occurrence of SequenceA using field field 15 as sequence boundary. The presence of this method indicates that this sequence can occur only once according to the Standard.- Returns:
- a new sequence that may be empty, never returns null
- Since:
- 7.7
-
getSequenceA
@SequenceStyle(SPLIT_BY_15) public MT340.SequenceA getSequenceA(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceA using field field 15 as sequence boundary. The presence of this method indicates that this sequence can occur only once according to the Standard.- Parameters:
parentSequence
- a not null parent sequence to find SequenceA within it- Returns:
- the found sequence or an empty sequence if none is found, never returns null
- Since:
- 7.7
-
getSequenceB
@SequenceStyle(SPLIT_BY_15) public MT340.SequenceB getSequenceB()
Get the single occurrence of SequenceB using field field 15 as sequence boundary. The presence of this method indicates that this sequence can occur only once according to the Standard.- Returns:
- a new sequence that may be empty, never returns null
- Since:
- 7.7
-
getSequenceB
@SequenceStyle(SPLIT_BY_15) public MT340.SequenceB getSequenceB(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB using field field 15 as sequence boundary. The presence of this method indicates that this sequence can occur only once according to the Standard.- Parameters:
parentSequence
- a not null parent sequence to find SequenceB within it- Returns:
- the found sequence or an empty sequence if none is found, never returns null
- Since:
- 7.7
-
getSequenceB1
@SequenceStyle(GENERATED_FIXED_WITH_OPTIONAL_TAIL) public MT340.SequenceB1 getSequenceB1()
Get the single occurrence of SequenceB1 delimited by leading tag and end, with an optional tail. The presence of this method indicates that this sequence can occur only once according to the Standard. If block 4 is empty this method returns null.- Returns:
- the found sequence or an empty sequence if none is found
- See Also:
SwiftTagListBlock.getSubBlockDelimitedWithOptionalTail(String[], String[], String[])
-
getSequenceB1
@SequenceStyle(GENERATED_FIXED_WITH_OPTIONAL_TAIL) public MT340.SequenceB1 getSequenceB1(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB1 delimited by leading tag and end, with an optional tail. The presence of this method indicates that this sequence can occur only once according to the Standard. If block 4 is empty this method returns null.- Parameters:
parentSequence
- a not null parent sequence to find SequenceB1 within it- Returns:
- the found sequence or an empty sequence if none is found, or null if the parent sequence is null or empty
- Since:
- 7.7
- See Also:
SwiftTagListBlock.getSubBlockDelimitedWithOptionalTail(String[], String[], String[])
-
getSequenceB2
@SequenceStyle(GENERATED_FIXED_WITH_OPTIONAL_TAIL) public MT340.SequenceB2 getSequenceB2()
Get the single occurrence of SequenceB2 delimited by leading tag and end, with an optional tail. The presence of this method indicates that this sequence can occur only once according to the Standard. If block 4 is empty this method returns null.- Returns:
- the found sequence or an empty sequence if none is found
- See Also:
SwiftTagListBlock.getSubBlockDelimitedWithOptionalTail(String[], String[], String[])
-
getSequenceB2
@SequenceStyle(GENERATED_FIXED_WITH_OPTIONAL_TAIL) public MT340.SequenceB2 getSequenceB2(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB2 delimited by leading tag and end, with an optional tail. The presence of this method indicates that this sequence can occur only once according to the Standard. If block 4 is empty this method returns null.- Parameters:
parentSequence
- a not null parent sequence to find SequenceB2 within it- Returns:
- the found sequence or an empty sequence if none is found, or null if the parent sequence is null or empty
- Since:
- 7.7
- See Also:
SwiftTagListBlock.getSubBlockDelimitedWithOptionalTail(String[], String[], String[])
-
getSequenceC
@SequenceStyle(SPLIT_BY_15) public MT340.SequenceC getSequenceC()
Get the single occurrence of SequenceC using field field 15 as sequence boundary. The presence of this method indicates that this sequence can occur only once according to the Standard.- Returns:
- a new sequence that may be empty, never returns null
- Since:
- 7.7
-
getSequenceC
@SequenceStyle(SPLIT_BY_15) public MT340.SequenceC getSequenceC(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceC using field field 15 as sequence boundary. The presence of this method indicates that this sequence can occur only once according to the Standard.- Parameters:
parentSequence
- a not null parent sequence to find SequenceC within it- Returns:
- the found sequence or an empty sequence if none is found, never returns null
- Since:
- 7.7
-
getSequenceD
@SequenceStyle(SPLIT_BY_15) public MT340.SequenceD getSequenceD()
Get the single occurrence of SequenceD using field field 15 as sequence boundary. The presence of this method indicates that this sequence can occur only once according to the Standard.- Returns:
- a new sequence that may be empty, never returns null
- Since:
- 7.7
-
getSequenceD
@SequenceStyle(SPLIT_BY_15) public MT340.SequenceD getSequenceD(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceD using field field 15 as sequence boundary. The presence of this method indicates that this sequence can occur only once according to the Standard.- Parameters:
parentSequence
- a not null parent sequence to find SequenceD within it- Returns:
- the found sequence or an empty sequence if none is found, never returns null
- Since:
- 7.7
-
getSequenceE
@SequenceStyle(SPLIT_BY_15) public MT340.SequenceE getSequenceE()
Get the single occurrence of SequenceE using field field 15 as sequence boundary. The presence of this method indicates that this sequence can occur only once according to the Standard.- Returns:
- a new sequence that may be empty, never returns null
- Since:
- 7.7
-
getSequenceE
@SequenceStyle(SPLIT_BY_15) public MT340.SequenceE getSequenceE(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceE using field field 15 as sequence boundary. The presence of this method indicates that this sequence can occur only once according to the Standard.- Parameters:
parentSequence
- a not null parent sequence to find SequenceE within it- Returns:
- the found sequence or an empty sequence if none is found, never returns null
- Since:
- 7.7
-
getSequenceF
@SequenceStyle(SPLIT_BY_15) public MT340.SequenceF getSequenceF()
Get the single occurrence of SequenceF using field field 15 as sequence boundary. The presence of this method indicates that this sequence can occur only once according to the Standard.- Returns:
- a new sequence that may be empty, never returns null
- Since:
- 7.7
-
getSequenceF
@SequenceStyle(SPLIT_BY_15) public MT340.SequenceF getSequenceF(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceF using field field 15 as sequence boundary. The presence of this method indicates that this sequence can occur only once according to the Standard.- Parameters:
parentSequence
- a not null parent sequence to find SequenceF within it- Returns:
- the found sequence or an empty sequence if none is found, never returns null
- Since:
- 7.7
-
getSequenceG
@SequenceStyle(SPLIT_BY_15) public MT340.SequenceG getSequenceG()
Get the single occurrence of SequenceG using field field 15 as sequence boundary. The presence of this method indicates that this sequence can occur only once according to the Standard.- Returns:
- a new sequence that may be empty, never returns null
- Since:
- 7.7
-
getSequenceG
@SequenceStyle(SPLIT_BY_15) public MT340.SequenceG getSequenceG(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceG using field field 15 as sequence boundary. The presence of this method indicates that this sequence can occur only once according to the Standard.- Parameters:
parentSequence
- a not null parent sequence to find SequenceG within it- Returns:
- the found sequence or an empty sequence if none is found, never returns null
- Since:
- 7.7
-
getSequenceG1aList
@SequenceStyle(GENERATED_FIXED_WITH_OPTIONAL_TAIL) public java.util.List<MT340.SequenceG1a> getSequenceG1aList()
Get the list of SequenceG1a delimited by leading tag and end, with an optional tail. The presence of this method indicates that this sequence can occur more than once according to the Standard. If message is empty or no sequences are found an empty list is returned.- Returns:
- the found sequences or an empty list if none is found
- See Also:
SwiftTagListBlock.getSubBlocksDelimitedWithOptionalTail(String[], String[], String[])
-
getSequenceG1aList
@SequenceStyle(GENERATED_FIXED_WITH_OPTIONAL_TAIL) public static java.util.List<MT340.SequenceG1a> getSequenceG1aList(SwiftTagListBlock parentSequence)
Get the list of SequenceG1a delimited by leading tag and end, with an optional tail. The presence of this method indicates that this sequence can occur more than once according to the Standard. If message is empty or no sequences are found an empty list is returned.- Parameters:
parentSequence
- a not null parent sequence to find SequenceG1a within it- Returns:
- the found sequences or an empty list if none is found or parent sequence is null
- Since:
- 7.7
- See Also:
SwiftTagListBlock.getSubBlocksDelimitedWithOptionalTail(String[], String[], String[])
-
getSequenceG1a1List
@SequenceStyle(GENERATED_FIXED_WITH_OPTIONAL_TAIL) public java.util.List<MT340.SequenceG1a1> getSequenceG1a1List()
Get the list of SequenceG1a1 delimited by leading tag and end, with an optional tail. The presence of this method indicates that this sequence can occur more than once according to the Standard. If message is empty or no sequences are found an empty list is returned.- Returns:
- the found sequences or an empty list if none is found
- See Also:
SwiftTagListBlock.getSubBlocksDelimitedWithOptionalTail(String[], String[], String[])
-
getSequenceG1a1List
@SequenceStyle(GENERATED_FIXED_WITH_OPTIONAL_TAIL) public static java.util.List<MT340.SequenceG1a1> getSequenceG1a1List(SwiftTagListBlock parentSequence)
Get the list of SequenceG1a1 delimited by leading tag and end, with an optional tail. The presence of this method indicates that this sequence can occur more than once according to the Standard. If message is empty or no sequences are found an empty list is returned.- Parameters:
parentSequence
- a not null parent sequence to find SequenceG1a1 within it- Returns:
- the found sequences or an empty list if none is found or parent sequence is null
- Since:
- 7.7
- See Also:
SwiftTagListBlock.getSubBlocksDelimitedWithOptionalTail(String[], String[], String[])
-
-