@Generated public class MT321 extends AbstractMT implements Serializable
This source code is specific to release SRU 2016
For additional resources check http://www.prowidesoftware.com/resources
Modifier and Type | Class and Description |
---|---|
static class |
MT321.SequenceA
Class for Sequence "A" of MT 321
|
static class |
MT321.SequenceA1
Class for Sequence "A1" of MT 321
|
static class |
MT321.SequenceB
Class for Sequence "B" of MT 321
|
static class |
MT321.SequenceB1
Class for Sequence "B1" of MT 321
|
static class |
MT321.SequenceB2
Class for Sequence "B2" of MT 321
|
static class |
MT321.SequenceB3
Class for Sequence "B3" of MT 321
|
static class |
MT321.SequenceC
Class for Sequence "C" of MT 321
|
static class |
MT321.SequenceC1
Class for Sequence "C1" of MT 321
|
Modifier and Type | Field and Description |
---|---|
static String |
ACCW
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsA.ACCW
|
static String |
ALTE
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsA.ALTE
|
static String |
BENM
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsB.BENM
|
static String |
BLOC
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsB.BLOC
|
static String |
CANC
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.CANC
|
static String |
CASH
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.CASH
|
static String |
CDEA
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.CDEA
|
static String |
CINT
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.CINT
|
static String |
CODU
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.CODU
|
static String |
CONU
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.CONU
|
static String |
COPY
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.COPY
|
static String |
DAAC
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsD.DAAC
|
static String |
DPLO
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsD.DPLO
|
static String |
DUPL
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsD.DUPL
|
static String |
EXBO
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsE.EXBO
|
static String |
GENL
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsG.GENL
|
static String |
INT2
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsI.INT2
|
static String |
INTE
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsI.INTE
|
static String |
INTR
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsI.INTR
|
static String |
INVE
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsI.INVE
|
static String |
LDCO
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsL.LDCO
|
static String |
LDCR
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsL.LDCR
|
static String |
LDDET
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsL.LDDET
|
static String |
LDFP
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsL.LDFP
|
static String |
LDPRTY1
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsL.LDPRTY1
|
static String |
LDPRTY2
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsL.LDPRTY2
|
static String |
LINK
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsL.LINK
|
static String |
MATU
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsM.MATU
|
static String |
MEOR
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsM.MEOR
|
static String |
MICO
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsM.MICO
|
static String |
NAME
Constant for MT name, this is part of the classname, after
MT |
static String |
NEWM
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsN.NEWM
|
static String |
NINT
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsN.NINT
|
static String |
OTHRPRTY
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsO.OTHRPRTY
|
static String |
PACO
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsP.PACO
|
static String |
POOL
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsP.POOL
|
static String |
PREV
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsP.PREV
|
static String |
PRIN
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsP.PRIN
|
static String |
PRIT
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsP.PRIT
|
static String |
RELA
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsR.RELA
|
static String |
RODI
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsR.RODI
|
static String |
SAFE
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsS.SAFE
|
static String |
SEME
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsS.SEME
|
static String |
SETDET
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsS.SETDET
|
static String |
SETPRTY
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsS.SETPRTY
|
static String |
SETT
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsS.SETT
|
static int |
SRU
Constant identifying the SRU to which this class belongs to.
|
static String |
TLDE
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsT.TLDE
|
static String |
TOSE
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsT.TOSE
|
static String |
TRAD
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsT.TRAD
|
static String |
VALU
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsV.VALU
|
m
Constructor and Description |
---|
MT321()
Creates and initializes a new MT321 input message setting TEST BICS as sender and receiver.
All mandatory header attributes are completed with default values. |
MT321(File file)
Creates a new MT321 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. |
MT321(InputStream stream)
Creates a new MT321 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. |
MT321(int messageType,
String sender,
String receiver)
Deprecated.
Use instead
new MT321(sender, receiver) instead |
MT321(MtSwiftMessage m)
Creates an MT321 initialized with the parameter MtSwiftMessage.
|
MT321(String fin)
Creates a new MT321 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. |
MT321(String sender,
String receiver)
Creates and initializes a new MT321 input message from sender to receiver.
All mandatory header attributes are completed with default values. |
MT321(SwiftMessage m)
Creates an MT321 initialized with the parameter SwiftMessage
|
Modifier and Type | Method and Description |
---|---|
MT321 |
append(Field... fields)
Add all the fields to the end of the block4.
|
MT321 |
append(SwiftTagListBlock block)
Add all tags from block to the end of the block4.
|
MT321 |
append(Tag... tags)
Add all tags to the end of the block4.
|
List<Field13A> |
getField13A()
Iterates through block4 fields and return all occurrences of fields whose names matches 13A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 13A at MT321 are expected at one sequence or across several sequences. |
List<Field13B> |
getField13B()
Iterates through block4 fields and return all occurrences of fields whose names matches 13B,
or
Collections.emptyList() if none is found.Multiple occurrences of field 13B at MT321 are expected at one sequence or across several sequences. |
List<Field16R> |
getField16R()
Iterates through block4 fields and return all occurrences of fields whose names matches 16R,
or
Collections.emptyList() if none is found.Multiple occurrences of field 16R at MT321 are expected at one sequence or across several sequences. |
List<Field16S> |
getField16S()
Iterates through block4 fields and return all occurrences of fields whose names matches 16S,
or
Collections.emptyList() if none is found.Multiple occurrences of field 16S at MT321 are expected at one sequence or across several sequences. |
List<Field19A> |
getField19A()
Iterates through block4 fields and return all occurrences of fields whose names matches 19A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 19A at MT321 are expected at one sequence or across several sequences. |
List<Field20C> |
getField20C()
Iterates through block4 fields and return all occurrences of fields whose names matches 20C,
or
Collections.emptyList() if none is found.Multiple occurrences of field 20C at MT321 are expected at one sequence or across several sequences. |
List<Field22H> |
getField22H()
Iterates through block4 fields and return all occurrences of fields whose names matches 22H,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22H at MT321 are expected at one sequence or across several sequences. |
Field23G |
getField23G()
Iterates through block4 fields and return the first one whose name matches 23G,
or
null if none is found.The first occurrence of field 23G at MT321 is expected to be the only one. |
List<Field70C> |
getField70C()
Iterates through block4 fields and return all occurrences of fields whose names matches 70C,
or
Collections.emptyList() if none is found.Multiple occurrences of field 70C at MT321 are expected at one sequence or across several sequences. |
Field92A |
getField92A()
Iterates through block4 fields and return the first one whose name matches 92A,
or
null if none is found.The first occurrence of field 92A at MT321 is expected to be the only one. |
List<Field95P> |
getField95P()
Iterates through block4 fields and return all occurrences of fields whose names matches 95P,
or
Collections.emptyList() if none is found.Multiple occurrences of field 95P at MT321 are expected at one sequence or across several sequences. |
List<Field95Q> |
getField95Q()
Iterates through block4 fields and return all occurrences of fields whose names matches 95Q,
or
Collections.emptyList() if none is found.Multiple occurrences of field 95Q at MT321 are expected at one sequence or across several sequences. |
List<Field95R> |
getField95R()
Iterates through block4 fields and return all occurrences of fields whose names matches 95R,
or
Collections.emptyList() if none is found.Multiple occurrences of field 95R at MT321 are expected at one sequence or across several sequences. |
List<Field97A> |
getField97A()
Iterates through block4 fields and return all occurrences of fields whose names matches 97A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 97A at MT321 are expected at one sequence or across several sequences. |
List<Field98A> |
getField98A()
Iterates through block4 fields and return all occurrences of fields whose names matches 98A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 98A at MT321 are expected at one sequence or across several sequences. |
List<Field99B> |
getField99B()
Iterates through block4 fields and return all occurrences of fields whose names matches 99B,
or
Collections.emptyList() if none is found.Multiple occurrences of field 99B at MT321 are expected at one sequence or across several sequences. |
String |
getMessageType()
Returns this MT number
|
MT321.SequenceA |
getSequenceA()
Get the single occurrence of SequenceA delimited by 16R/16S the value of SequenceA#START_END_16RS.
|
static MT321.SequenceA |
getSequenceA(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceA delimited by 16R/16S the value of SequenceA#START_END_16RS.
|
List<MT321.SequenceA1> |
getSequenceA1List()
Get the list of SequenceA1 delimited by 16R/16S with value specified in SequenceA1#START_END_16RS
The presence of this methods indicates that this sequence can occur more than once according to the Standard.
|
static List<MT321.SequenceA1> |
getSequenceA1List(SwiftTagListBlock parentSequence)
Get the list of SequenceA1 delimited by 16R/16S with value specified in SequenceA1#START_END_16RS
The presence of this methods indicates that this sequence can occur more than once according to the Standard.
|
MT321.SequenceB |
getSequenceB()
Get the single occurrence of SequenceB delimited by 16R/16S the value of SequenceB#START_END_16RS.
|
static MT321.SequenceB |
getSequenceB(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB delimited by 16R/16S the value of SequenceB#START_END_16RS.
|
MT321.SequenceB1 |
getSequenceB1()
Get the single occurrence of SequenceB1 delimited by 16R/16S the value of SequenceB1#START_END_16RS.
|
static MT321.SequenceB1 |
getSequenceB1(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB1 delimited by 16R/16S the value of SequenceB1#START_END_16RS.
|
MT321.SequenceB2 |
getSequenceB2()
Get the single occurrence of SequenceB2 delimited by 16R/16S the value of SequenceB2#START_END_16RS.
|
static MT321.SequenceB2 |
getSequenceB2(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB2 delimited by 16R/16S the value of SequenceB2#START_END_16RS.
|
MT321.SequenceB3 |
getSequenceB3()
Get the single occurrence of SequenceB3 delimited by 16R/16S the value of SequenceB3#START_END_16RS.
|
static MT321.SequenceB3 |
getSequenceB3(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB3 delimited by 16R/16S the value of SequenceB3#START_END_16RS.
|
List<MT321.SequenceC1> |
getSequenceC1List()
Get the list of SequenceC1 delimited by 16R/16S with value specified in SequenceC1#START_END_16RS
The presence of this methods indicates that this sequence can occur more than once according to the Standard.
|
static List<MT321.SequenceC1> |
getSequenceC1List(SwiftTagListBlock parentSequence)
Get the list of SequenceC1 delimited by 16R/16S with value specified in SequenceC1#START_END_16RS
The presence of this methods indicates that this sequence can occur more than once according to the Standard.
|
List<MT321.SequenceC> |
getSequenceCList()
Get the list of SequenceC delimited by 16R/16S with value specified in SequenceC#START_END_16RS
The presence of this methods indicates that this sequence can occur more than once according to the Standard.
|
static List<MT321.SequenceC> |
getSequenceCList(SwiftTagListBlock parentSequence)
Get the list of SequenceC delimited by 16R/16S with value specified in SequenceC#START_END_16RS
The presence of this methods indicates that this sequence can occur more than once according to the Standard.
|
static MT321 |
parse(File file)
Creates a new MT321 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 MT321 |
parse(InputStream stream)
Creates a new MT321 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 MT321 |
parse(MtSwiftMessage m)
Creates an MT321 initialized with the parameter MtSwiftMessage.
|
static MT321 |
parse(String fin)
Creates a new MT321 by parsing a String with the message content in its swift FIN format.
If the fin parameter cannot be parsed, the returned MT321 will have its internal message object initialized (blocks will be created) but empty. If the string contains multiple messages, only the first one will be parsed. |
addField, containsSequence, containsSequenceList, create, create, 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, tag, tags, toString, write, write, xml
getMessageStandardType, isMT, isMX
public static final int SRU
public static final String NAME
MT
@Deprecated @ProwideDeprecated(phase3=_2018) public static final String ACCW
SchemeConstantsA.ACCW
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String ALTE
SchemeConstantsA.ALTE
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String BENM
SchemeConstantsB.BENM
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String BLOC
SchemeConstantsB.BLOC
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String CANC
SchemeConstantsC.CANC
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String CASH
SchemeConstantsC.CASH
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String CDEA
SchemeConstantsC.CDEA
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String CINT
SchemeConstantsC.CINT
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String CODU
SchemeConstantsC.CODU
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String CONU
SchemeConstantsC.CONU
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String COPY
SchemeConstantsC.COPY
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String DAAC
SchemeConstantsD.DAAC
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String DPLO
SchemeConstantsD.DPLO
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String DUPL
SchemeConstantsD.DUPL
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String EXBO
SchemeConstantsE.EXBO
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String GENL
SchemeConstantsG.GENL
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String INT2
SchemeConstantsI.INT2
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String INTE
SchemeConstantsI.INTE
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String INTR
SchemeConstantsI.INTR
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String INVE
SchemeConstantsI.INVE
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String LDCO
SchemeConstantsL.LDCO
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String LDCR
SchemeConstantsL.LDCR
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String LDDET
SchemeConstantsL.LDDET
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String LDFP
SchemeConstantsL.LDFP
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String LDPRTY1
@Deprecated @ProwideDeprecated(phase3=_2018) public static final String LDPRTY2
@Deprecated @ProwideDeprecated(phase3=_2018) public static final String LINK
SchemeConstantsL.LINK
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String MATU
SchemeConstantsM.MATU
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String MEOR
SchemeConstantsM.MEOR
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String MICO
SchemeConstantsM.MICO
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String NEWM
SchemeConstantsN.NEWM
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String NINT
SchemeConstantsN.NINT
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String OTHRPRTY
@Deprecated @ProwideDeprecated(phase3=_2018) public static final String PACO
SchemeConstantsP.PACO
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String POOL
SchemeConstantsP.POOL
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String PREV
SchemeConstantsP.PREV
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String PRIN
SchemeConstantsP.PRIN
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String PRIT
SchemeConstantsP.PRIT
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String RELA
SchemeConstantsR.RELA
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String RODI
SchemeConstantsR.RODI
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String SAFE
SchemeConstantsS.SAFE
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String SEME
SchemeConstantsS.SEME
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String SETDET
SchemeConstantsS.SETDET
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String SETPRTY
@Deprecated @ProwideDeprecated(phase3=_2018) public static final String SETT
SchemeConstantsS.SETT
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String TLDE
SchemeConstantsT.TLDE
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String TOSE
SchemeConstantsT.TOSE
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String TRAD
SchemeConstantsT.TRAD
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String VALU
SchemeConstantsV.VALU
,
Constant Field Valuespublic MT321(SwiftMessage m)
m
- swift message with the MT321 contentpublic MT321(MtSwiftMessage m)
m
- swift message with the MT321 content, the parameter can not be null
MT321(String)
public MT321()
public MT321(String sender, String receiver)
sender
- the sender address as a bic8, bic11 or full logical terminal consisting of 12 charactersreceiver
- the receiver address as a bic8, bic11 or full logical terminal consisting of 12 characters@Deprecated @ProwideDeprecated(phase3=_2018) public MT321(int messageType, String sender, String receiver)
new MT321(sender, receiver)
insteadmessageType
parameter is actually ignored.MT321(String, String)
public MT321(String fin)
fin
- a string with the MT message in its FIN swift formatpublic MT321(InputStream stream) throws IOException
stream
- an input stream in UTF-8 encoding with the MT message in its FIN swift format.IOException
public MT321(File file) throws IOException
file
- a file with the MT message in its FIN swift format.IOException
public static MT321 parse(MtSwiftMessage m)
m
- swift message with the MT321 contentnull
if the parameter is null
MT321(String)
public static MT321 parse(String fin)
fin
- a string with the MT message in its FIN swift format. fin may be null
in which case this method returns nullpublic static MT321 parse(InputStream stream) throws IOException
stream
- an input stream in UTF-8 encoding with the MT message in its FIN swift format.IOException
public static MT321 parse(File file) throws IOException
file
- a file with the MT message in its FIN swift format.IOException
public String getMessageType()
getMessageType
in class AbstractMT
public MT321 append(SwiftTagListBlock block)
append
in class AbstractMT
block
- to appendpublic MT321 append(Tag... tags)
append
in class AbstractMT
tags
- to appendpublic MT321 append(Field... fields)
append
in class AbstractMT
fields
- to appendpublic Field23G getField23G()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field92A getField92A()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public List<Field20C> getField20C()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field22H> getField22H()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field99B> getField99B()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field16R> getField16R()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field13A> getField13A()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field13B> getField13B()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field16S> getField16S()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field98A> getField98A()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field19A> getField19A()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field95P> getField95P()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field95Q> getField95Q()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field95R> getField95R()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field97A> getField97A()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field70C> getField70C()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
@SequenceStyle(value=GENERATED_16RS) public MT321.SequenceA getSequenceA()
null
. If the sequence is not found an empty instance
of SequenceA
is returnedMT321.SequenceA.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static MT321.SequenceA getSequenceA(SwiftTagListBlock parentSequence)
null
. If the sequence is not found an empty instance
of SequenceA
is returnedparentSequence
- an optional parent sequence or null
to find SequenceA within the complete messageMT321.SequenceA.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public List<MT321.SequenceA1> getSequenceA1List()
MT321.SequenceA1.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static List<MT321.SequenceA1> getSequenceA1List(SwiftTagListBlock parentSequence)
parentSequence
- an optional parent sequence or null
to find SequenceA1 within the complete messageMT321.SequenceA1.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public MT321.SequenceB getSequenceB()
null
. If the sequence is not found an empty instance
of SequenceB
is returnedMT321.SequenceB.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static MT321.SequenceB getSequenceB(SwiftTagListBlock parentSequence)
null
. If the sequence is not found an empty instance
of SequenceB
is returnedparentSequence
- an optional parent sequence or null
to find SequenceB within the complete messageMT321.SequenceB.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public MT321.SequenceB1 getSequenceB1()
null
. If the sequence is not found an empty instance
of SequenceB1
is returnedMT321.SequenceB1.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static MT321.SequenceB1 getSequenceB1(SwiftTagListBlock parentSequence)
null
. If the sequence is not found an empty instance
of SequenceB1
is returnedparentSequence
- an optional parent sequence or null
to find SequenceB1 within the complete messageMT321.SequenceB1.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public MT321.SequenceB2 getSequenceB2()
null
. If the sequence is not found an empty instance
of SequenceB2
is returnedMT321.SequenceB2.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static MT321.SequenceB2 getSequenceB2(SwiftTagListBlock parentSequence)
null
. If the sequence is not found an empty instance
of SequenceB2
is returnedparentSequence
- an optional parent sequence or null
to find SequenceB2 within the complete messageMT321.SequenceB2.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public MT321.SequenceB3 getSequenceB3()
null
. If the sequence is not found an empty instance
of SequenceB3
is returnedMT321.SequenceB3.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static MT321.SequenceB3 getSequenceB3(SwiftTagListBlock parentSequence)
null
. If the sequence is not found an empty instance
of SequenceB3
is returnedparentSequence
- an optional parent sequence or null
to find SequenceB3 within the complete messageMT321.SequenceB3.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public List<MT321.SequenceC> getSequenceCList()
MT321.SequenceC.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static List<MT321.SequenceC> getSequenceCList(SwiftTagListBlock parentSequence)
parentSequence
- an optional parent sequence or null
to find SequenceC within the complete messageMT321.SequenceC.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public List<MT321.SequenceC1> getSequenceC1List()
MT321.SequenceC1.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static List<MT321.SequenceC1> getSequenceC1List(SwiftTagListBlock parentSequence)
parentSequence
- an optional parent sequence or null
to find SequenceC1 within the complete messageMT321.SequenceC1.START_END_16RS