Class MT305
- java.lang.Object
-
- com.prowidesoftware.swift.model.AbstractMessage
-
- com.prowidesoftware.swift.model.mt.AbstractMT
-
- com.prowidesoftware.swift.model.mt.mt3xx.MT305
-
- All Implemented Interfaces:
JsonSerializable
,java.io.Serializable
@Generated public class MT305 extends AbstractMT implements java.io.Serializable
MT 305 - Foreign Currency Option Confirmation.SWIFT MT305 (ISO 15022) message structure:
-
Sequence A (M)
- Field 15 A (M)
- Field 20 (M)
- Field 21 (M)
- Field 22 (M)
- Field 23 (M)
- Field 94 A (O)
- Field 82 A,J (M)
- Field 87 A,J (M)
- Field 83 A,J (O)
- Field 30 (M)
- Field 31 C (O)
- Field 31 G (M)
- Field 31 E (M)
- Field 26 F (M)
- Field 39 M (O)
- Field 17 F (O)
- Field 14 S (O) (repetitive)
- Field 32 E (O)
- Field 35 C (O)
- Field 26 K (O)
- Field 32 B (M)
- Field 36 (M)
- Field 33 B (M)
- Field 37 K (M)
- Field 34 P,R (M)
- Field 53 A,J (O)
- Field 56 A,J (O)
- Field 57 A,J (M)
- Field 77 H (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 81 A,D,J (O)
- Field 89 A,D,J (O)
- 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 77 A (O)
This source code is specific to release SRU 2024
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
MT305.SequenceA
Class to model Sequence "A" in MT 305.static class
MT305.SequenceB
Class to model Sequence "B" in MT 305.static class
MT305.SequenceB1
Class to model Sequence "B1" in MT 305.static class
MT305.SequenceB1a
Class to model Sequence "B1a" in MT 305.static class
MT305.SequenceB1a1
Class to model Sequence "B1a1" in MT 305.
-
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 MT305()
Creates and initializes a new MT305 input message setting TEST BICS as sender and receiver.MT305(MtSwiftMessage m)
Creates an MT305 initialized with the parameter MtSwiftMessage.MT305(SwiftMessage m)
Creates an MT305 initialized with the parameter SwiftMessage.MT305(java.io.File file)
Creates a new MT305 by parsing a file with the message content in its swift FIN format.MT305(java.io.InputStream stream)
Creates a new MT305 by parsing a input stream with the message content in its swift FIN format, using "UTF-8" as encoding.MT305(java.lang.String fin)
Creates a new MT305 by parsing a String with the message content in its swift FIN format.MT305(java.lang.String sender, java.lang.String receiver)
Creates and initializes a new MT305 input message from sender to receiver.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MT305
append(Field... fields)
Add all the fields to the end of the block4.MT305
append(SwiftTagListBlock block)
Add all tags from block to the end of the block4.MT305
append(Tag... tags)
Add all tags to the end of the block4.static MT305
fromJson(java.lang.String json)
Creates an MT305 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.java.util.List<Field14S>
getField14S()
Iterates through block4 fields and return all occurrences of fields whose names matches 14S, orCollections.emptyList()
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.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.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.Field26F
getField26F()
Iterates through block4 fields and return the first one whose name matches 26F, or null if none is found.Field26K
getField26K()
Iterates through block4 fields and return the first one whose name matches 26K, 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.Field32E
getField32E()
Iterates through block4 fields and return the first one whose name matches 32E, 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.Field35C
getField35C()
Iterates through block4 fields and return the first one whose name matches 35C, or null if none is found.Field36
getField36()
Iterates through block4 fields and return the first one whose name matches 36, or null if none is found.Field37K
getField37K()
Iterates through block4 fields and return the first one whose name matches 37K, 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.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.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.Field81A
getField81A()
Iterates through block4 fields and return the first one whose name matches 81A, or null if none is found.Field81D
getField81D()
Iterates through block4 fields and return the first one whose name matches 81D, or null if none is found.Field81J
getField81J()
Iterates through block4 fields and return the first one whose name matches 81J, 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.Field89A
getField89A()
Iterates through block4 fields and return the first one whose name matches 89A, or null if none is found.Field89D
getField89D()
Iterates through block4 fields and return the first one whose name matches 89D, or null if none is found.Field89J
getField89J()
Iterates through block4 fields and return the first one whose name matches 89J, 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.MT305.SequenceA
getSequenceA()
Get the single occurrence of SequenceA using field field 15 as sequence boundary.MT305.SequenceA
getSequenceA(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceA using field field 15 as sequence boundary.MT305.SequenceB
getSequenceB()
Get the single occurrence of SequenceB using field field 15 as sequence boundary.MT305.SequenceB
getSequenceB(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB using field field 15 as sequence boundary.java.util.List<MT305.SequenceB1a1>
getSequenceB1a1List()
Get the list of SequenceB1a1 delimited by leading tag and end, with an optional tail.static java.util.List<MT305.SequenceB1a1>
getSequenceB1a1List(SwiftTagListBlock parentSequence)
Get the list of SequenceB1a1 delimited by leading tag and end, with an optional tail.java.util.List<MT305.SequenceB1a>
getSequenceB1aList()
Get the list of SequenceB1a delimited by leading tag and end, with an optional tail.static java.util.List<MT305.SequenceB1a>
getSequenceB1aList(SwiftTagListBlock parentSequence)
Get the list of SequenceB1a delimited by leading tag and end, with an optional tail.static MT305
parse(MtSwiftMessage m)
Creates an MT305 initialized with the parameter MtSwiftMessage.static MT305
parse(java.io.File file)
Creates a new MT305 by parsing a file with the message content in its swift FIN format.static MT305
parse(java.io.InputStream stream)
Creates a new MT305 by parsing a input stream with the message content in its swift FIN format, using "UTF-8" as encoding.static MT305
parse(java.lang.String fin)
Creates a new MT305 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
-
MT305
public MT305(SwiftMessage m)
Creates an MT305 initialized with the parameter SwiftMessage.- Parameters:
m
- swift message with the MT305 content
-
MT305
public MT305(MtSwiftMessage m)
Creates an MT305 initialized with the parameter MtSwiftMessage.- Parameters:
m
- swift message with the MT305 content, the parameter can not be null- See Also:
MT305(String)
-
MT305
public MT305()
Creates and initializes a new MT305 input message setting TEST BICS as sender and receiver. All mandatory header attributes are completed with default values.- Since:
- 7.6
-
MT305
public MT305(java.lang.String sender, java.lang.String receiver)
Creates and initializes a new MT305 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
-
MT305
public MT305(java.lang.String fin)
Creates a new MT305 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
-
MT305
public MT305(java.io.InputStream stream) throws java.io.IOException
Creates a new MT305 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
-
MT305
public MT305(java.io.File file) throws java.io.IOException
Creates a new MT305 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 MT305 parse(MtSwiftMessage m)
Creates an MT305 initialized with the parameter MtSwiftMessage.- Parameters:
m
- swift message with the MT305 content- Returns:
- the created object or null if the parameter is null
- Since:
- 7.7
- See Also:
MT305(String)
-
parse
public static MT305 parse(java.lang.String fin)
Creates a new MT305 by parsing a String with the message content in its swift FIN format. If the fin parameter cannot be parsed, the returned MT305 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 MT305 or null if fin is null
- Since:
- 7.7
-
parse
public static MT305 parse(java.io.InputStream stream) throws java.io.IOException
Creates a new MT305 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 MT305 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 MT305 parse(java.io.File file) throws java.io.IOException
Creates a new MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 fromJson(java.lang.String json)
Creates an MT305 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 MT305 message- Returns:
- a new instance of MT305
- 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 MT305 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 MT305 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 MT305 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 MT305 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)
-
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 MT305 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)
-
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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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)
-
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 MT305 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)
-
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 MT305 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 MT305 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 MT305 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 MT305 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)
-
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 MT305 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)
-
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 MT305 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)
-
getField32E
public Field32E getField32E()
Iterates through block4 fields and return the first one whose name matches 32E, or null if none is found. The first occurrence of field 32E at MT305 is expected to be the only one.- Returns:
- a Field32E object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField35C
public Field35C getField35C()
Iterates through block4 fields and return the first one whose name matches 35C, or null if none is found. The first occurrence of field 35C at MT305 is expected to be the only one.- Returns:
- a Field35C object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField26K
public Field26K getField26K()
Iterates through block4 fields and return the first one whose name matches 26K, or null if none is found. The first occurrence of field 26K at MT305 is expected to be the only one.- Returns:
- a Field26K 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 MT305 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)
-
getField36
public Field36 getField36()
Iterates through block4 fields and return the first one whose name matches 36, or null if none is found. The first occurrence of field 36 at MT305 is expected to be the only one.- Returns:
- a Field36 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 MT305 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)
-
getField37K
public Field37K getField37K()
Iterates through block4 fields and return the first one whose name matches 37K, or null if none is found. The first occurrence of field 37K at MT305 is expected to be the only one.- Returns:
- a Field37K 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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)
-
getField81A
public Field81A getField81A()
Iterates through block4 fields and return the first one whose name matches 81A, or null if none is found. The first occurrence of field 81A at MT305 is expected to be the only one.- Returns:
- a Field81A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField81D
public Field81D getField81D()
Iterates through block4 fields and return the first one whose name matches 81D, or null if none is found. The first occurrence of field 81D at MT305 is expected to be the only one.- Returns:
- a Field81D object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField81J
public Field81J getField81J()
Iterates through block4 fields and return the first one whose name matches 81J, or null if none is found. The first occurrence of field 81J at MT305 is expected to be the only one.- Returns:
- a Field81J object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField89A
public Field89A getField89A()
Iterates through block4 fields and return the first one whose name matches 89A, or null if none is found. The first occurrence of field 89A at MT305 is expected to be the only one.- Returns:
- a Field89A object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField89D
public Field89D getField89D()
Iterates through block4 fields and return the first one whose name matches 89D, or null if none is found. The first occurrence of field 89D at MT305 is expected to be the only one.- Returns:
- a Field89D object or null if the field is not found
- Throws:
java.lang.IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField89J
public Field89J getField89J()
Iterates through block4 fields and return the first one whose name matches 89J, or null if none is found. The first occurrence of field 89J at MT305 is expected to be the only one.- Returns:
- a Field89J 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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)
-
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 MT305 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)
-
getField14S
public java.util.List<Field14S> getField14S()
Iterates through block4 fields and return all occurrences of fields whose names matches 14S, orCollections.emptyList()
if none is found. Multiple occurrences of field 14S at MT305 are expected at one sequence or across several sequences.- Returns:
- a List of Field14S 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305 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 MT305.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 MT305.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 MT305.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 MT305.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<MT305.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<MT305.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<MT305.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<MT305.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[])
-
-