Sequence A
Field 20
Letter options: null
Field 23
Letter options: null
Field 51
Letter options: A
Field 50
Letter options: A,F,K
Field 52
Letter options: A,B,C
Field 26
Letter options: T
Field 77
Letter options: B
Field 71
Letter options: A
Field 36
Letter options: null
Sequence B
Field 21
Letter options: null
Field 32
Letter options: B
Field 50
Letter options: A,F,K
Field 52
Letter options: A,B,C
Field 57
Letter options: A,C
Field 59
Letter options: A,F,NONE
Field 70
Letter options: null
Field 26
Letter options: T
Field 77
Letter options: B
Field 33
Letter options: B
Field 71
Letter options: A
Field 71
Letter options: F
Field 71
Letter options: G
Field 36
Letter options: null
Sequence C
This source code is specific to release SRU 2016Field 32
Letter options: A
Field 19
Letter options: null
Field 71
Letter options: G
Field 13
Letter options: C
Field 53
Letter options: A,C
Field 54
Letter options: A
Field 72
Letter options: null
- Author:
- www.prowidesoftware.com
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
MT102.SequenceA
Class for Sequence "A" of MT 102static class
MT102.SequenceB
Class for Sequence "B" of MT 102static class
MT102.SequenceC
Class for Sequence "C" of MT 102
-
Field Summary
Fields Modifier and Type Field and Description static String
BEN
Deprecated.use instead com.prowidesoftware.swift.SchemeConstantsB.BENstatic String
NAME
Constant for MT name, this is part of the classname, afterMT
static String
OUR
Deprecated.use instead com.prowidesoftware.swift.SchemeConstantsO.OURstatic String
SHA
Deprecated.use instead com.prowidesoftware.swift.SchemeConstantsS.SHAstatic 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 and Description MT102()
Creates and initializes a new MT102 input message setting TEST BICS as sender and receiver.
All mandatory header attributes are completed with default values.MT102(File file)
Creates a new MT102 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.MT102(InputStream stream)
Creates a new MT102 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.MT102(int messageType, String sender, String receiver)
Deprecated.MT102(MtSwiftMessage m)
Creates an MT102 initialized with the parameter MtSwiftMessage.MT102(String fin)
Creates a new MT102 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.MT102(String sender, String receiver)
Creates and initializes a new MT102 input message from sender to receiver.
All mandatory header attributes are completed with default values.MT102(SwiftMessage m)
Creates an MT102 initialized with the parameter SwiftMessage
-
Method Summary
Methods Modifier and Type Method and Description MT102
append(Field... fields)
Add all the fields to the end of the block4.MT102
append(SwiftTagListBlock block)
Add all tags from block to the end of the block4.MT102
append(Tag... tags)
Add all tags to the end of the block4.List<Field13C>
getField13C()
Iterates through block4 fields and return all occurrences of fields whose names matches 13C, orCollections.emptyList()
if none is found.
Multiple occurrences of field 13C at MT102 are expected at one sequence or across several sequences.Field19
getField19()
Iterates through block4 fields and return the first one whose name matches 19, ornull
if none is found.
The first occurrence of field 19 at MT102 is expected to be the only one.Field20
getField20()
Iterates through block4 fields and return the first one whose name matches 20, ornull
if none is found.
The first occurrence of field 20 at MT102 is expected to be the only one.List<Field21>
getField21()
Iterates through block4 fields and return all occurrences of fields whose names matches 21, orCollections.emptyList()
if none is found.
Multiple occurrences of field 21 at MT102 are expected at one sequence or across several sequences.Field23
getField23()
Iterates through block4 fields and return the first one whose name matches 23, ornull
if none is found.
The first occurrence of field 23 at MT102 is expected to be the only one.List<Field26T>
getField26T()
Iterates through block4 fields and return all occurrences of fields whose names matches 26T, orCollections.emptyList()
if none is found.
Multiple occurrences of field 26T at MT102 are expected at one sequence or across several sequences.Field32A
getField32A()
Iterates through block4 fields and return the first one whose name matches 32A, ornull
if none is found.
The first occurrence of field 32A at MT102 is expected to be the only one.List<Field32B>
getField32B()
Iterates through block4 fields and return all occurrences of fields whose names matches 32B, orCollections.emptyList()
if none is found.
Multiple occurrences of field 32B at MT102 are expected at one sequence or across several sequences.List<Field33B>
getField33B()
Iterates through block4 fields and return all occurrences of fields whose names matches 33B, orCollections.emptyList()
if none is found.
Multiple occurrences of field 33B at MT102 are expected at one sequence or across several sequences.List<Field36>
getField36()
Iterates through block4 fields and return all occurrences of fields whose names matches 36, orCollections.emptyList()
if none is found.
Multiple occurrences of field 36 at MT102 are expected at one sequence or across several sequences.List<Field50A>
getField50A()
Iterates through block4 fields and return all occurrences of fields whose names matches 50A, orCollections.emptyList()
if none is found.
Multiple occurrences of field 50A at MT102 are expected at one sequence or across several sequences.List<Field50F>
getField50F()
Iterates through block4 fields and return all occurrences of fields whose names matches 50F, orCollections.emptyList()
if none is found.
Multiple occurrences of field 50F at MT102 are expected at one sequence or across several sequences.List<Field50K>
getField50K()
Iterates through block4 fields and return all occurrences of fields whose names matches 50K, orCollections.emptyList()
if none is found.
Multiple occurrences of field 50K at MT102 are expected at one sequence or across several sequences.Field51A
getField51A()
Iterates through block4 fields and return the first one whose name matches 51A, ornull
if none is found.
The first occurrence of field 51A at MT102 is expected to be the only one.List<Field52A>
getField52A()
Iterates through block4 fields and return all occurrences of fields whose names matches 52A, orCollections.emptyList()
if none is found.
Multiple occurrences of field 52A at MT102 are expected at one sequence or across several sequences.List<Field52B>
getField52B()
Iterates through block4 fields and return all occurrences of fields whose names matches 52B, orCollections.emptyList()
if none is found.
Multiple occurrences of field 52B at MT102 are expected at one sequence or across several sequences.List<Field52C>
getField52C()
Iterates through block4 fields and return all occurrences of fields whose names matches 52C, orCollections.emptyList()
if none is found.
Multiple occurrences of field 52C at MT102 are expected at one sequence or across several sequences.Field53A
getField53A()
Iterates through block4 fields and return the first one whose name matches 53A, ornull
if none is found.
The first occurrence of field 53A at MT102 is expected to be the only one.Field53C
getField53C()
Iterates through block4 fields and return the first one whose name matches 53C, ornull
if none is found.
The first occurrence of field 53C at MT102 is expected to be the only one.Field54A
getField54A()
Iterates through block4 fields and return the first one whose name matches 54A, ornull
if none is found.
The first occurrence of field 54A at MT102 is expected to be the only one.List<Field57A>
getField57A()
Iterates through block4 fields and return all occurrences of fields whose names matches 57A, orCollections.emptyList()
if none is found.
Multiple occurrences of field 57A at MT102 are expected at one sequence or across several sequences.List<Field57C>
getField57C()
Iterates through block4 fields and return all occurrences of fields whose names matches 57C, orCollections.emptyList()
if none is found.
Multiple occurrences of field 57C at MT102 are expected at one sequence or across several sequences.List<Field59>
getField59()
Iterates through block4 fields and return all occurrences of fields whose names matches 59, orCollections.emptyList()
if none is found.
Multiple occurrences of field 59 at MT102 are expected at one sequence or across several sequences.List<Field59A>
getField59A()
Iterates through block4 fields and return all occurrences of fields whose names matches 59A, orCollections.emptyList()
if none is found.
Multiple occurrences of field 59A at MT102 are expected at one sequence or across several sequences.List<Field59F>
getField59F()
Iterates through block4 fields and return all occurrences of fields whose names matches 59F, orCollections.emptyList()
if none is found.
Multiple occurrences of field 59F at MT102 are expected at one sequence or across several sequences.List<Field70>
getField70()
Iterates through block4 fields and return all occurrences of fields whose names matches 70, orCollections.emptyList()
if none is found.
Multiple occurrences of field 70 at MT102 are expected at one sequence or across several sequences.List<Field71A>
getField71A()
Iterates through block4 fields and return all occurrences of fields whose names matches 71A, orCollections.emptyList()
if none is found.
Multiple occurrences of field 71A at MT102 are expected at one sequence or across several sequences.List<Field71F>
getField71F()
Iterates through block4 fields and return all occurrences of fields whose names matches 71F, orCollections.emptyList()
if none is found.
Multiple occurrences of field 71F at MT102 are expected at one sequence or across several sequences.List<Field71G>
getField71G()
Iterates through block4 fields and return all occurrences of fields whose names matches 71G, orCollections.emptyList()
if none is found.
Multiple occurrences of field 71G at MT102 are expected at one sequence or across several sequences.Field72
getField72()
Iterates through block4 fields and return the first one whose name matches 72, ornull
if none is found.
The first occurrence of field 72 at MT102 is expected to be the only one.List<Field77B>
getField77B()
Iterates through block4 fields and return all occurrences of fields whose names matches 77B, orCollections.emptyList()
if none is found.
Multiple occurrences of field 77B at MT102 are expected at one sequence or across several sequences.String
getMessageType()
Returns this MT numberMT102.SequenceA
getSequenceA()
Get the single occurrence of SequenceA delimited by leading tag and end, with an optional tail.MT102.SequenceA
getSequenceA(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceA delimited by leading tag and end, with an optional tail.List<MT102.SequenceB>
getSequenceBList()
Get the list of SequenceB delimited by leading tag and end, with an optional tail.static List<MT102.SequenceB>
getSequenceBList(SwiftTagListBlock parentSequence)
Get the list of SequenceB delimited by leading tag and end, with an optional tail.MT102.SequenceC
getSequenceC()
Get the single occurrence of SequenceC slicing head or tail of the tags with delimiter ${s.getTagNames().get(0)} The presence of this methods indicates that this sequence can occur only once according to the Standard.MT102.SequenceC
getSequenceC(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceC slicing head or tail of the tags with delimiter ${s.getTagNames().get(0)} The presence of this methods indicates that this sequence can occur only once according to the Standard.static MT102
parse(File file)
Creates a new MT102 by parsing a file with the message content in its swift FIN format.
If the file contains multiple messages, only the first one will be parsed.static MT102
parse(InputStream stream)
Creates a new MT102 by parsing a input stream with the message content in its swift FIN format, using "UTF-8" as encoding.
If the stream contains multiple messages, only the first one will be parsed.static MT102
parse(MtSwiftMessage m)
Creates an MT102 initialized with the parameter MtSwiftMessage.static MT102
parse(String fin)
Creates a new MT102 by parsing a String with the message content in its swift FIN format.
If the fin parameter cannot be parsed, the returned MT102 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.-
Methods inherited from class com.prowidesoftware.swift.model.mt.AbstractMT
addField, containsSequence, containsSequenceList, create, create, FIN, getApplicationId, getLogicalTerminal, getMessagePriority, getMtId, getReceiver, getSender, getSequence, getSequence, getSequence, getSequenceList, getSequenceList, getSequenceNumber, getServiceId, getSessionNumber, getSwiftMessage, getSwiftMessageNotNullOrException, getVariant, isIncoming, isInput, isOutgoing, isOutput, isType, json, message, nameFromClass, read, setReceiver, setReceiver, setSender, setSender, setSwiftMessage, 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 String NAME
Constant for MT name, this is part of the classname, afterMT
- See Also:
- Constant Field Values
-
BEN
@Deprecated @ProwideDeprecated(phase2=_2017) public static final String BEN
Deprecated. use instead com.prowidesoftware.swift.SchemeConstantsB.BENConstant for qualifier with value BEN- See Also:
SchemeConstantsB.BEN
, Constant Field Values
-
OUR
@Deprecated @ProwideDeprecated(phase2=_2017) public static final String OUR
Deprecated. use instead com.prowidesoftware.swift.SchemeConstantsO.OURConstant for qualifier with value OUR- See Also:
SchemeConstantsO.OUR
, Constant Field Values
-
SHA
@Deprecated @ProwideDeprecated(phase2=_2017) public static final String SHA
Deprecated. use instead com.prowidesoftware.swift.SchemeConstantsS.SHAConstant for qualifier with value SHA- See Also:
SchemeConstantsS.SHA
, Constant Field Values
-
-
Constructor Detail
-
MT102
public MT102(SwiftMessage m)
Creates an MT102 initialized with the parameter SwiftMessage- Parameters:
m
- swift message with the MT102 content
-
MT102
public MT102(MtSwiftMessage m)
Creates an MT102 initialized with the parameter MtSwiftMessage.- Parameters:
m
- swift message with the MT102 content, the parameter can not benull
- See Also:
MT102(String)
-
MT102
public MT102()
Creates and initializes a new MT102 input message setting TEST BICS as sender and receiver.
All mandatory header attributes are completed with default values.- Since:
- 7.6
-
MT102
public MT102(String sender, String receiver)
Creates and initializes a new MT102 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
-
MT102
@Deprecated public MT102(int messageType, String sender, String receiver)
Deprecated.DO NOT USE THIS METHOD It is kept for compatibility but will be removed very soon, since themessageType
parameter is actually ignored. Use insteadnew MT102(sender, receiver)
- See Also:
MT102(String, String)
-
MT102
public MT102(String fin)
Creates a new MT102 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
-
MT102
public MT102(InputStream stream) throws IOException
Creates a new MT102 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:
IOException
- Since:
- 7.7
-
MT102
public MT102(File file) throws IOException
Creates a new MT102 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:
IOException
- Since:
- 7.7
-
-
Method Detail
-
parse
public static MT102 parse(MtSwiftMessage m)
Creates an MT102 initialized with the parameter MtSwiftMessage.- Parameters:
m
- swift message with the MT102 content- Returns:
- the created object or
null
if the parameter isnull
- Since:
- 7.7
- See Also:
MT102(String)
-
parse
public static MT102 parse(String fin)
Creates a new MT102 by parsing a String with the message content in its swift FIN format.
If the fin parameter cannot be parsed, the returned MT102 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 benull
in which case this method returns null- Returns:
- a new instance of MT102 or null if fin is null
- Since:
- 7.7
-
parse
public static MT102 parse(InputStream stream) throws IOException
Creates a new MT102 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 MT102 or null if stream is null or the message cannot be parsed
- Throws:
IOException
- Since:
- 7.7
-
parse
public static MT102 parse(File file) throws IOException
Creates a new MT102 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 MT102 or null if; file is null, does not exist, can't be read, is not a file or the message cannot be parsed
- Throws:
IOException
- Since:
- 7.7
-
getMessageType
public String getMessageType()
Returns this MT number- Specified by:
getMessageType
in classAbstractMT
- Returns:
- the message type number of this MT
- Since:
- 6.4
-
append
public MT102 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 MT102 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 MT102 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
-
getField20
public Field20 getField20()
Iterates through block4 fields and return the first one whose name matches 20, ornull
if none is found.
The first occurrence of field 20 at MT102 is expected to be the only one.- Returns:
- a Field20 object or
null
if the field is not found - Throws:
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, ornull
if none is found.
The first occurrence of field 23 at MT102 is expected to be the only one.- Returns:
- a Field23 object or
null
if the field is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField51A
public Field51A getField51A()
Iterates through block4 fields and return the first one whose name matches 51A, ornull
if none is found.
The first occurrence of field 51A at MT102 is expected to be the only one.- Returns:
- a Field51A object or
null
if the field is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField32A
public Field32A getField32A()
Iterates through block4 fields and return the first one whose name matches 32A, ornull
if none is found.
The first occurrence of field 32A at MT102 is expected to be the only one.- Returns:
- a Field32A object or
null
if the field is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField19
public Field19 getField19()
Iterates through block4 fields and return the first one whose name matches 19, ornull
if none is found.
The first occurrence of field 19 at MT102 is expected to be the only one.- Returns:
- a Field19 object or
null
if the field is not found - Throws:
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, ornull
if none is found.
The first occurrence of field 53A at MT102 is expected to be the only one.- Returns:
- a Field53A object or
null
if the field is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField53C
public Field53C getField53C()
Iterates through block4 fields and return the first one whose name matches 53C, ornull
if none is found.
The first occurrence of field 53C at MT102 is expected to be the only one.- Returns:
- a Field53C object or
null
if the field is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField54A
public Field54A getField54A()
Iterates through block4 fields and return the first one whose name matches 54A, ornull
if none is found.
The first occurrence of field 54A at MT102 is expected to be the only one.- Returns:
- a Field54A object or
null
if the field is not found - Throws:
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, ornull
if none is found.
The first occurrence of field 72 at MT102 is expected to be the only one.- Returns:
- a Field72 object or
null
if the field is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagByName(String)
-
getField21
public List<Field21> getField21()
Iterates through block4 fields and return all occurrences of fields whose names matches 21, orCollections.emptyList()
if none is found.
Multiple occurrences of field 21 at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field21 objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField32B
public List<Field32B> getField32B()
Iterates through block4 fields and return all occurrences of fields whose names matches 32B, orCollections.emptyList()
if none is found.
Multiple occurrences of field 32B at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field32B objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField50A
public List<Field50A> getField50A()
Iterates through block4 fields and return all occurrences of fields whose names matches 50A, orCollections.emptyList()
if none is found.
Multiple occurrences of field 50A at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field50A objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField50F
public List<Field50F> getField50F()
Iterates through block4 fields and return all occurrences of fields whose names matches 50F, orCollections.emptyList()
if none is found.
Multiple occurrences of field 50F at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field50F objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField50K
public List<Field50K> getField50K()
Iterates through block4 fields and return all occurrences of fields whose names matches 50K, orCollections.emptyList()
if none is found.
Multiple occurrences of field 50K at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field50K objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField52A
public List<Field52A> getField52A()
Iterates through block4 fields and return all occurrences of fields whose names matches 52A, orCollections.emptyList()
if none is found.
Multiple occurrences of field 52A at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field52A objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField52B
public List<Field52B> getField52B()
Iterates through block4 fields and return all occurrences of fields whose names matches 52B, orCollections.emptyList()
if none is found.
Multiple occurrences of field 52B at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field52B objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField52C
public List<Field52C> getField52C()
Iterates through block4 fields and return all occurrences of fields whose names matches 52C, orCollections.emptyList()
if none is found.
Multiple occurrences of field 52C at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field52C objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField57A
public List<Field57A> getField57A()
Iterates through block4 fields and return all occurrences of fields whose names matches 57A, orCollections.emptyList()
if none is found.
Multiple occurrences of field 57A at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field57A objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField57C
public List<Field57C> getField57C()
Iterates through block4 fields and return all occurrences of fields whose names matches 57C, orCollections.emptyList()
if none is found.
Multiple occurrences of field 57C at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field57C objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField59A
public List<Field59A> getField59A()
Iterates through block4 fields and return all occurrences of fields whose names matches 59A, orCollections.emptyList()
if none is found.
Multiple occurrences of field 59A at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field59A objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField59F
public List<Field59F> getField59F()
Iterates through block4 fields and return all occurrences of fields whose names matches 59F, orCollections.emptyList()
if none is found.
Multiple occurrences of field 59F at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field59F objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField59
public List<Field59> getField59()
Iterates through block4 fields and return all occurrences of fields whose names matches 59, orCollections.emptyList()
if none is found.
Multiple occurrences of field 59 at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field59 objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField70
public List<Field70> getField70()
Iterates through block4 fields and return all occurrences of fields whose names matches 70, orCollections.emptyList()
if none is found.
Multiple occurrences of field 70 at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field70 objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField26T
public List<Field26T> getField26T()
Iterates through block4 fields and return all occurrences of fields whose names matches 26T, orCollections.emptyList()
if none is found.
Multiple occurrences of field 26T at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field26T objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField77B
public List<Field77B> getField77B()
Iterates through block4 fields and return all occurrences of fields whose names matches 77B, orCollections.emptyList()
if none is found.
Multiple occurrences of field 77B at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field77B objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField33B
public List<Field33B> getField33B()
Iterates through block4 fields and return all occurrences of fields whose names matches 33B, orCollections.emptyList()
if none is found.
Multiple occurrences of field 33B at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field33B objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField71A
public List<Field71A> getField71A()
Iterates through block4 fields and return all occurrences of fields whose names matches 71A, orCollections.emptyList()
if none is found.
Multiple occurrences of field 71A at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field71A objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField71F
public List<Field71F> getField71F()
Iterates through block4 fields and return all occurrences of fields whose names matches 71F, orCollections.emptyList()
if none is found.
Multiple occurrences of field 71F at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field71F objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField71G
public List<Field71G> getField71G()
Iterates through block4 fields and return all occurrences of fields whose names matches 71G, orCollections.emptyList()
if none is found.
Multiple occurrences of field 71G at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field71G objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField36
public List<Field36> getField36()
Iterates through block4 fields and return all occurrences of fields whose names matches 36, orCollections.emptyList()
if none is found.
Multiple occurrences of field 36 at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field36 objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getField13C
public List<Field13C> getField13C()
Iterates through block4 fields and return all occurrences of fields whose names matches 13C, orCollections.emptyList()
if none is found.
Multiple occurrences of field 13C at MT102 are expected at one sequence or across several sequences.- Returns:
- a List of Field13C objects or
Collections.emptyList()
if none is not found - Throws:
IllegalStateException
- if SwiftMessage object is not initialized- See Also:
SwiftTagListBlock.getTagsByName(String)
-
getSequenceA
@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public MT102.SequenceA getSequenceA()
Get the single occurrence of SequenceA delimited by leading tag and end, with an optional tail. The presence of this methods indicates that this sequence can occur only once according to the Standard. If block 4 is empty this method returnsnull
.
-
getSequenceA
@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public MT102.SequenceA getSequenceA(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceA delimited by leading tag and end, with an optional tail. The presence of this methods indicates that this sequence can occur only once according to the Standard. If block 4 is empty this method returnsnull
.- Parameters:
parentSequence
- an optional parent sequence ornull
to find SequenceA within the complete message- Since:
- 7.7
- See Also:
SwiftTagListBlock.getSubBlockDelimitedWithOptionalTail(String[], String[], String[])
-
getSequenceBList
@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public List<MT102.SequenceB> getSequenceBList()
Get the list of SequenceB delimited by leading tag and end, with an optional tail. The presence of this methods indicates that this sequence can occur more than once according to the Standard. If message is empty or nor sequences are found an empty list is returned.
-
getSequenceBList
@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public static List<MT102.SequenceB> getSequenceBList(SwiftTagListBlock parentSequence)
Get the list of SequenceB delimited by leading tag and end, with an optional tail. The presence of this methods indicates that this sequence can occur more than once according to the Standard. If message is empty or nor sequences are found an empty list is returned.- Parameters:
parentSequence
- an optional parent sequence ornull
to find SequenceB within the complete message- Since:
- 7.7
- See Also:
SwiftTagListBlock.getSubBlocksDelimitedWithOptionalTail(String[], String[], String[])
-
getSequenceC
@SequenceStyle(value=GENERATED_SLICE) public MT102.SequenceC getSequenceC()
Get the single occurrence of SequenceC slicing head or tail of the tags with delimiter ${s.getTagNames().get(0)} The presence of this methods indicates that this sequence can occur only once according to the Standard. NOTE: if the tag delimiter is not found this method returnsnull
.
-
getSequenceC
@SequenceStyle(value=GENERATED_SLICE) public MT102.SequenceC getSequenceC(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceC slicing head or tail of the tags with delimiter ${s.getTagNames().get(0)} The presence of this methods indicates that this sequence can occur only once according to the Standard. NOTE: if the tag delimiter is not found this method returnsnull
.- Parameters:
parentSequence
- an optional parent sequence ornull
to find SequenceC within the complete message- Since:
- 7.7
-
-