Class MT601
- java.lang.Object
-
- com.prowidesoftware.swift.model.AbstractMessage
-
- com.prowidesoftware.swift.model.mt.AbstractMT
-
- com.prowidesoftware.swift.model.mt.mt6xx.MT601
-
- All Implemented Interfaces:
JsonSerializable
,java.io.Serializable
@Generated public class MT601 extends AbstractMT implements java.io.Serializable
MT 601 - Commodity Option Confirmation.SWIFT MT601 (ISO 15022) message structure:
-
Sequence A (M)
- Field 15 A (M)
- Field 20 (M)
- Field 21 (M)
- Field 22 (M)
- Field 94 A (O)
- Field 82 A,J (M)
- Field 87 A,J (M)
- Field 83 A,J (O)
- Field 23 (M)
- Field 30 (M)
- Field 26 C (M)
- Field 31 C (O)
- Field 31 G (M)
- Field 31 E (M)
- Field 26 F (M)
- Field 32 F (M)
- Field 32 B (M)
- Field 33 B (M)
- Field 34 P,R (M)
- Field 53 A,J (O)
- Field 56 A,J (O)
- Field 57 A,J (M)
- Field 77 H (M)
- Field 77 D (O)
- Field 14 C (O)
- Field 72 (O)
-
Sequence B (O)
- Field 15 B (M)
-
Sequence B1 (O) (repetitive)
- Field 22 L (M)
- Field 91 A,D,J (O)
-
Sequence B1a (O) (repetitive)
- Field 22 M (M)
- Field 22 N (M)
-
Sequence B1a1 (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) (repetitive)
- Field 17 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
MT601.SequenceA
Class to model Sequence "A" in MT 601.static class
MT601.SequenceB
Class to model Sequence "B" in MT 601.static class
MT601.SequenceB1
Class to model Sequence "B1" in MT 601.static class
MT601.SequenceB1a
Class to model Sequence "B1a" in MT 601.static class
MT601.SequenceB1a1
Class to model Sequence "B1a1" in MT 601.
-
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 MT601()
Creates and initializes a new MT601 input message setting TEST BICS as sender and receiver.MT601(MtSwiftMessage m)
Creates an MT601 initialized with the parameter MtSwiftMessage.MT601(SwiftMessage m)
Creates an MT601 initialized with the parameter SwiftMessage.MT601(java.io.File file)
Creates a new MT601 by parsing a file with the message content in its swift FIN format.MT601(java.io.InputStream stream)
Creates a new MT601 by parsing a input stream with the message content in its swift FIN format, using "UTF-8" as encoding.MT601(java.lang.String fin)
Creates a new MT601 by parsing a String with the message content in its swift FIN format.MT601(java.lang.String sender, java.lang.String receiver)
Creates and initializes a new MT601 input message from sender to receiver.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MT601
append(Field... fields)
Add all the fields to the end of the block4.MT601
append(SwiftTagListBlock block)
Add all tags from block to the end of the block4.MT601
append(Tag... tags)
Add all tags to the end of the block4.static MT601
fromJson(java.lang.String json)
Creates an MT601 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.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.Field17A
getField17A()
Iterates through block4 fields and return the first one whose name matches 17A, 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.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.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.Field22
getField22()
Iterates through block4 fields and return the first one whose name matches 22, 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.Field23
getField23()
Iterates through block4 fields and return the first one whose name matches 23, or null if none is found.Field26C
getField26C()
Iterates through block4 fields and return the first one whose name matches 26C, or null if none is found.Field26F
getField26F()
Iterates through block4 fields and return the first one whose name matches 26F, or null if none is found.Field30
getField30()
Iterates through block4 fields and return the first one whose name matches 30, or null if none is found.Field31C
getField31C()
Iterates through block4 fields and return the first one whose name matches 31C, or null if none is found.Field31E
getField31E()
Iterates through block4 fields and return the first one whose name matches 31E, or null if none is found.Field31G
getField31G()
Iterates through block4 fields and return the first one whose name matches 31G, 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.Field32F
getField32F()
Iterates through block4 fields and return the first one whose name matches 32F, or null if none is found.Field33B
getField33B()
Iterates through block4 fields and return the first one whose name matches 33B, or null if none is found.java.util.List<Field34C>
getField34C()
Iterates through block4 fields and return all occurrences of fields whose names matches 34C, orCollections.emptyList()
if none is found.Field34P
getField34P()
Iterates through block4 fields and return the first one whose name matches 34P, or null if none is found.Field34R
getField34R()
Iterates through block4 fields and return the first one whose name matches 34R, 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.Field53A
getField53A()
Iterates through block4 fields and return the first one whose name matches 53A, or null if none is found.Field53J
getField53J()
Iterates through block4 fields and return the first one whose name matches 53J, or null if none is found.Field56A
getField56A()
Iterates through block4 fields and return the first one whose name matches 56A, or null if none is found.Field56J
getField56J()
Iterates through block4 fields and return the first one whose name matches 56J, or null if none is found.Field57A
getField57A()
Iterates through block4 fields and return the first one whose name matches 57A, or null if none is found.Field57J
getField57J()
Iterates through block4 fields and return the first one whose name matches 57J, 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.Field77D
getField77D()
Iterates through block4 fields and return the first one whose name matches 77D, 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.Field82J
getField82J()
Iterates through block4 fields and return the first one whose name matches 82J, or null if none is found.Field83A
getField83A()
Iterates through block4 fields and return the first one whose name matches 83A, or null if none is found.Field83J
getField83J()
Iterates through block4 fields and return the first one whose name matches 83J, or null 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.Field87J
getField87J()
Iterates through block4 fields and return the first one whose name matches 87J, 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.MT601.SequenceA
getSequenceA()
Get the single occurrence of SequenceA using field field 15 as sequence boundary.MT601.SequenceA
getSequenceA(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceA using field field 15 as sequence boundary.MT601.SequenceB
getSequenceB()
Get the single occurrence of SequenceB using field field 15 as sequence boundary.MT601.SequenceB
getSequenceB(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB using field field 15 as sequence boundary.java.util.List<MT601.SequenceB1a1>
getSequenceB1a1List()
Get the list of SequenceB1a1 delimited by leading tag and end, with an optional tail.static java.util.List<MT601.SequenceB1a1>
getSequenceB1a1List(SwiftTagListBlock parentSequence)
Get the list of SequenceB1a1 delimited by leading tag and end, with an optional tail.java.util.List<MT601.SequenceB1a>
getSequenceB1aList()
Get the list of SequenceB1a delimited by leading tag and end, with an optional tail.static java.util.List<MT601.SequenceB1a>
getSequenceB1aList(SwiftTagListBlock parentSequence)
Get the list of SequenceB1a delimited by leading tag and end, with an optional tail.static MT601
parse(MtSwiftMessage m)
Creates an MT601 initialized with the parameter MtSwiftMessage.static MT601
parse(java.io.File file)
Creates a new MT601 by parsing a file with the message content in its swift FIN format.static MT601
parse(java.io.InputStream stream)
Creates a new MT601 by parsing a input stream with the message content in its swift FIN format, using "UTF-8" as encoding.static MT601
parse(java.lang.String fin)
Creates a new MT601 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
-
MT601
public MT601(SwiftMessage m)
Creates an MT601 initialized with the parameter SwiftMessage.- Parameters:
m
- swift message with the MT601 content
-
MT601
public MT601(MtSwiftMessage m)
Creates an MT601 initialized with the parameter MtSwiftMessage.- Parameters:
m
- swift message with the MT601 content, the parameter can not be null- See Also:
MT601(String)
-
MT601
public MT601()
Creates and initializes a new MT601 input message setting TEST BICS as sender and receiver. All mandatory header attributes are completed with default values.- Since:
- 7.6
-
MT601
public MT601(java.lang.String sender, java.lang.String receiver)
Creates and initializes a new MT601 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
-
MT601
public MT601(java.lang.String fin)
Creates a new MT601 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
-
MT601
public MT601(java.io.InputStream stream) throws java.io.IOException
Creates a new MT601 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
-
MT601
public MT601(java.io.File file) throws java.io.IOException
Creates a new MT601 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 MT601 parse(MtSwiftMessage m)
Creates an MT601 initialized with the parameter MtSwiftMessage.- Parameters:
m
- swift message with the MT601 content- Returns:
- the created object or null if the parameter is null
- Since:
- 7.7
- See Also:
MT601(String)
-
parse
public static MT601 parse(java.lang.String fin)
Creates a new MT601 by parsing a String with the message content in its swift FIN format. If the fin parameter cannot be parsed, the returned MT601 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 MT601 or null if fin is null
- Since:
- 7.7
-
parse
public static MT601 parse(java.io.InputStream stream) throws java.io.IOException
Creates a new MT601 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 MT601 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 MT601 parse(java.io.File file) throws java.io.IOException
Creates a new MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 fromJson(java.lang.String json)
Creates an MT601 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 MT601 message- Returns:
- a new instance of MT601
- 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 MT601 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 MT601 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 MT601 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)
-
getField22
public Field22 getField22()
Iterates through block4 fields and return the first one whose name matches 22, or null if none is found. The first occurrence of field 22 at MT601 is expected to be the only one.- Returns:
- a Field22 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 MT601 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)
-
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 MT601 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)
-
getField82J
public Field82J getField82J()
Iterates through block4 fields and return the first one whose name matches 82J, or null if none is found. The first occurrence of field 82J at MT601 is expected to be the only one.- Returns:
- a Field82J 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 MT601 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)
-
getField87J
public Field87J getField87J()
Iterates through block4 fields and return the first one whose name matches 87J, or null if none is found. The first occurrence of field 87J at MT601 is expected to be the only one.- Returns:
- a Field87J object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField83A
public Field83A getField83A()
Iterates through block4 fields and return the first one whose name matches 83A, or null if none is found. The first occurrence of field 83A at MT601 is expected to be the only one.- Returns:
- a Field83A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField83J
public Field83J getField83J()
Iterates through block4 fields and return the first one whose name matches 83J, or null if none is found. The first occurrence of field 83J at MT601 is expected to be the only one.- Returns:
- a Field83J object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField23
public Field23 getField23()
Iterates through block4 fields and return the first one whose name matches 23, or null if none is found. The first occurrence of field 23 at MT601 is expected to be the only one.- Returns:
- a Field23 object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField30
public Field30 getField30()
Iterates through block4 fields and return the first one whose name matches 30, or null if none is found. The first occurrence of field 30 at MT601 is expected to be the only one.- Returns:
- a Field30 object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField26C
public Field26C getField26C()
Iterates through block4 fields and return the first one whose name matches 26C, or null if none is found. The first occurrence of field 26C at MT601 is expected to be the only one.- Returns:
- a Field26C object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField31C
public Field31C getField31C()
Iterates through block4 fields and return the first one whose name matches 31C, or null if none is found. The first occurrence of field 31C at MT601 is expected to be the only one.- Returns:
- a Field31C object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField31G
public Field31G getField31G()
Iterates through block4 fields and return the first one whose name matches 31G, or null if none is found. The first occurrence of field 31G at MT601 is expected to be the only one.- Returns:
- a Field31G object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField31E
public Field31E getField31E()
Iterates through block4 fields and return the first one whose name matches 31E, or null if none is found. The first occurrence of field 31E at MT601 is expected to be the only one.- Returns:
- a Field31E object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField26F
public Field26F getField26F()
Iterates through block4 fields and return the first one whose name matches 26F, or null if none is found. The first occurrence of field 26F at MT601 is expected to be the only one.- Returns:
- a Field26F object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField32F
public Field32F getField32F()
Iterates through block4 fields and return the first one whose name matches 32F, or null if none is found. The first occurrence of field 32F at MT601 is expected to be the only one.- Returns:
- a Field32F 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 MT601 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)
-
getField33B
public Field33B getField33B()
Iterates through block4 fields and return the first one whose name matches 33B, or null if none is found. The first occurrence of field 33B at MT601 is expected to be the only one.- Returns:
- a Field33B object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField34P
public Field34P getField34P()
Iterates through block4 fields and return the first one whose name matches 34P, or null if none is found. The first occurrence of field 34P at MT601 is expected to be the only one.- Returns:
- a Field34P object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField34R
public Field34R getField34R()
Iterates through block4 fields and return the first one whose name matches 34R, or null if none is found. The first occurrence of field 34R at MT601 is expected to be the only one.- Returns:
- a Field34R object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField53A
public Field53A getField53A()
Iterates through block4 fields and return the first one whose name matches 53A, or null if none is found. The first occurrence of field 53A at MT601 is expected to be the only one.- Returns:
- a Field53A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField53J
public Field53J getField53J()
Iterates through block4 fields and return the first one whose name matches 53J, or null if none is found. The first occurrence of field 53J at MT601 is expected to be the only one.- Returns:
- a Field53J object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField56A
public Field56A getField56A()
Iterates through block4 fields and return the first one whose name matches 56A, or null if none is found. The first occurrence of field 56A at MT601 is expected to be the only one.- Returns:
- a Field56A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField56J
public Field56J getField56J()
Iterates through block4 fields and return the first one whose name matches 56J, or null if none is found. The first occurrence of field 56J at MT601 is expected to be the only one.- Returns:
- a Field56J object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField57A
public Field57A getField57A()
Iterates through block4 fields and return the first one whose name matches 57A, or null if none is found. The first occurrence of field 57A at MT601 is expected to be the only one.- Returns:
- a Field57A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField57J
public Field57J getField57J()
Iterates through block4 fields and return the first one whose name matches 57J, or null if none is found. The first occurrence of field 57J at MT601 is expected to be the only one.- Returns:
- a Field57J 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 MT601 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)
-
getField77D
public Field77D getField77D()
Iterates through block4 fields and return the first one whose name matches 77D, or null if none is found. The first occurrence of field 77D at MT601 is expected to be the only one.- Returns:
- a Field77D 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 MT601 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)
-
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 MT601 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)
-
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 MT601 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)
-
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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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)
-
getField17A
public Field17A getField17A()
Iterates through block4 fields and return the first one whose name matches 17A, or null if none is found. The first occurrence of field 17A at MT601 is expected to be the only one.- Returns:
- a Field17A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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 MT601 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)
-
getField34C
public java.util.List<Field34C> getField34C()
Iterates through block4 fields and return all occurrences of fields whose names matches 34C, orCollections.emptyList()
if none is found. Multiple occurrences of field 34C at MT601 are expected at one sequence or across several sequences.- Returns:
- a List of Field34C 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 MT601.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 MT601.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 MT601.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 MT601.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
-
getSequenceB1aList
@SequenceStyle(GENERATED_FIXED_WITH_OPTIONAL_TAIL) public java.util.List<MT601.SequenceB1a> getSequenceB1aList()
Get the list of SequenceB1a 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[])
-
getSequenceB1aList
@SequenceStyle(GENERATED_FIXED_WITH_OPTIONAL_TAIL) public static java.util.List<MT601.SequenceB1a> getSequenceB1aList(SwiftTagListBlock parentSequence)
Get the list of SequenceB1a 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 SequenceB1a 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[])
-
getSequenceB1a1List
@SequenceStyle(GENERATED_FIXED_WITH_OPTIONAL_TAIL) public java.util.List<MT601.SequenceB1a1> getSequenceB1a1List()
Get the list of SequenceB1a1 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[])
-
getSequenceB1a1List
@SequenceStyle(GENERATED_FIXED_WITH_OPTIONAL_TAIL) public static java.util.List<MT601.SequenceB1a1> getSequenceB1a1List(SwiftTagListBlock parentSequence)
Get the list of SequenceB1a1 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 SequenceB1a1 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[])
-
-