@Generated public class MT503 extends AbstractMT implements Serializable
This source code is specific to release SRU 2017
For additional resources check http://www.prowidesoftware.com/resources
Modifier and Type | Class and Description |
---|---|
static class |
MT503.SequenceA
Class for Sequence "A" of MT 503
|
static class |
MT503.SequenceA1
Class for Sequence "A1" of MT 503
|
static class |
MT503.SequenceA2
Class for Sequence "A2" of MT 503
|
static class |
MT503.SequenceB
Class for Sequence "B" of MT 503
|
static class |
MT503.SequenceB1
Class for Sequence "B1" of MT 503
|
static class |
MT503.SequenceC
Class for Sequence "C" of MT 503
|
static class |
MT503.SequenceC1
Class for Sequence "C1" of MT 503
|
static class |
MT503.SequenceC2
Class for Sequence "C2" of MT 503
|
static class |
MT503.SequenceC3
Class for Sequence "C3" of MT 503
|
static class |
MT503.SequenceD
Class for Sequence "D" of MT 503
|
Modifier and Type | Field and Description |
---|---|
static String |
ADDINFO
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsA.ADDINFO
|
static String |
AEXP
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsA.AEXP
|
static String |
AGRE
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsA.AGRE
|
static String |
BCOL
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsB.BCOL
|
static String |
CANC
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.CANC
|
static String |
CCAL
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.CCAL
|
static String |
CCOL
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.CCOL
|
static String |
COAL
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.COAL
|
static String |
CODU
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.CODU
|
static String |
COLA
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.COLA
|
static String |
COLD
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.COLD
|
static String |
COLL
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.COLL
|
static String |
COLR
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.COLR
|
static String |
COPY
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.COPY
|
static String |
CORE
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.CORE
|
static String |
COVA
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.COVA
|
static String |
CRET
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.CRET
|
static String |
DEPO
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsD.DEPO
|
static String |
DUPL
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsD.DUPL
|
static String |
EXPI
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsE.EXPI
|
static String |
EXPP
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsE.EXPP
|
static String |
GENL
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsG.GENL
|
static String |
GUAR
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsG.GUAR
|
static String |
INOU
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsI.INOU
|
static String |
ISSU
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsI.ISSU
|
static String |
LINK
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsL.LINK
|
static String |
LOCR
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsL.LOCR
|
static String |
MEOR
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsM.MEOR
|
static String |
MERE
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsM.MERE
|
static String |
MITR
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsM.MITR
|
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 |
NRAD
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsN.NRAD
|
static String |
OWNF
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsO.OWNF
|
static String |
PACO
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsP.PACO
|
static String |
PREP
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsP.PREP
|
static String |
PREV
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsP.PREV
|
static String |
PRHA
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsP.PRHA
|
static String |
PTYA
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsP.PTYA
|
static String |
PTYB
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsP.PTYB
|
static String |
RADD
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsR.RADD
|
static String |
RCTR
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsR.RCTR
|
static String |
RELA
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsR.RELA
|
static String |
ROUN
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsR.ROUN
|
static String |
RSET
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsR.RSET
|
static String |
SCOL
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsS.SCOL
|
static String |
SCTR
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsS.SCTR
|
static String |
SEME
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsS.SEME
|
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 |
SUMD
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsS.SUMD
|
static String |
SUMM
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsS.SUMM
|
static String |
TCRL
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsT.TCRL
|
static String |
TERM
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsT.TERM
|
static String |
TEXA
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsT.TEXA
|
static String |
THRS
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsT.THRS
|
static String |
THRU
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsT.THRU
|
static String |
TYCO
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsT.TYCO
|
static String |
VALC
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsV.VALC
|
static String |
VALE
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsV.VALE
|
m
Constructor and Description |
---|
MT503()
Creates and initializes a new MT503 input message setting TEST BICS as sender and receiver.
All mandatory header attributes are completed with default values. |
MT503(File file)
Creates a new MT503 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. |
MT503(InputStream stream)
Creates a new MT503 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. |
MT503(int messageType,
String sender,
String receiver)
Deprecated.
Use instead
new MT503(sender, receiver) instead |
MT503(MtSwiftMessage m)
Creates an MT503 initialized with the parameter MtSwiftMessage.
|
MT503(String fin)
Creates a new MT503 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. |
MT503(String sender,
String receiver)
Creates and initializes a new MT503 input message from sender to receiver.
All mandatory header attributes are completed with default values. |
MT503(SwiftMessage m)
Creates an MT503 initialized with the parameter SwiftMessage
|
Modifier and Type | Method and Description |
---|---|
MT503 |
append(Field... fields)
Add all the fields to the end of the block4.
|
MT503 |
append(SwiftTagListBlock block)
Add all tags from block to the end of the block4.
|
MT503 |
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 MT503 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 MT503 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 MT503 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 MT503 are expected at one sequence or across several sequences. |
Field17B |
getField17B()
Iterates through block4 fields and return the first one whose name matches 17B,
or
null if none is found.The first occurrence of field 17B at MT503 is expected to be the only one. |
List<Field19B> |
getField19B()
Iterates through block4 fields and return all occurrences of fields whose names matches 19B,
or
Collections.emptyList() if none is found.Multiple occurrences of field 19B at MT503 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 MT503 are expected at one sequence or across several sequences. |
List<Field22F> |
getField22F()
Iterates through block4 fields and return all occurrences of fields whose names matches 22F,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22F at MT503 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 MT503 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 MT503 is expected to be the only one. |
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 MT503 is expected to be the only one. |
Field36B |
getField36B()
Iterates through block4 fields and return the first one whose name matches 36B,
or
null if none is found.The first occurrence of field 36B at MT503 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 MT503 are expected at one sequence or across several sequences. |
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 MT503 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 MT503 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 MT503 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 MT503 are expected at one sequence or across several sequences. |
List<Field98B> |
getField98B()
Iterates through block4 fields and return all occurrences of fields whose names matches 98B,
or
Collections.emptyList() if none is found.Multiple occurrences of field 98B at MT503 are expected at one sequence or across several sequences. |
List<Field98C> |
getField98C()
Iterates through block4 fields and return all occurrences of fields whose names matches 98C,
or
Collections.emptyList() if none is found.Multiple occurrences of field 98C at MT503 are expected at one sequence or across several sequences. |
Field98E |
getField98E()
Iterates through block4 fields and return the first one whose name matches 98E,
or
null if none is found.The first occurrence of field 98E at MT503 is expected to be the only one. |
String |
getMessageType()
Returns this MT number
|
MT503.SequenceA |
getSequenceA()
Get the single occurrence of SequenceA delimited by 16R/16S the value of SequenceA#START_END_16RS.
|
static MT503.SequenceA |
getSequenceA(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceA delimited by 16R/16S the value of SequenceA#START_END_16RS.
|
List<MT503.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<MT503.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.
|
List<MT503.SequenceA2> |
getSequenceA2List()
Get the list of SequenceA2 delimited by 16R/16S with value specified in SequenceA2#START_END_16RS
The presence of this methods indicates that this sequence can occur more than once according to the Standard.
|
static List<MT503.SequenceA2> |
getSequenceA2List(SwiftTagListBlock parentSequence)
Get the list of SequenceA2 delimited by 16R/16S with value specified in SequenceA2#START_END_16RS
The presence of this methods indicates that this sequence can occur more than once according to the Standard.
|
MT503.SequenceB |
getSequenceB()
Get the single occurrence of SequenceB delimited by 16R/16S the value of SequenceB#START_END_16RS.
|
static MT503.SequenceB |
getSequenceB(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB delimited by 16R/16S the value of SequenceB#START_END_16RS.
|
MT503.SequenceB1 |
getSequenceB1()
Get the single occurrence of SequenceB1 delimited by 16R/16S the value of SequenceB1#START_END_16RS.
|
static MT503.SequenceB1 |
getSequenceB1(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB1 delimited by 16R/16S the value of SequenceB1#START_END_16RS.
|
List<MT503.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<MT503.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<MT503.SequenceC2> |
getSequenceC2List()
Get the list of SequenceC2 delimited by 16R/16S with value specified in SequenceC2#START_END_16RS
The presence of this methods indicates that this sequence can occur more than once according to the Standard.
|
static List<MT503.SequenceC2> |
getSequenceC2List(SwiftTagListBlock parentSequence)
Get the list of SequenceC2 delimited by 16R/16S with value specified in SequenceC2#START_END_16RS
The presence of this methods indicates that this sequence can occur more than once according to the Standard.
|
List<MT503.SequenceC3> |
getSequenceC3List()
Get the list of SequenceC3 delimited by 16R/16S with value specified in SequenceC3#START_END_16RS
The presence of this methods indicates that this sequence can occur more than once according to the Standard.
|
static List<MT503.SequenceC3> |
getSequenceC3List(SwiftTagListBlock parentSequence)
Get the list of SequenceC3 delimited by 16R/16S with value specified in SequenceC3#START_END_16RS
The presence of this methods indicates that this sequence can occur more than once according to the Standard.
|
List<MT503.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<MT503.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.
|
MT503.SequenceD |
getSequenceD()
Get the single occurrence of SequenceD delimited by 16R/16S the value of SequenceD#START_END_16RS.
|
static MT503.SequenceD |
getSequenceD(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceD delimited by 16R/16S the value of SequenceD#START_END_16RS.
|
static MT503 |
parse(File file)
Creates a new MT503 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 MT503 |
parse(InputStream stream)
Creates a new MT503 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 MT503 |
parse(MtSwiftMessage m)
Creates an MT503 initialized with the parameter MtSwiftMessage.
|
static MT503 |
parse(String fin)
Creates a new MT503 by parsing a String with the message content in its swift FIN format.
If the fin parameter cannot be parsed, the returned MT503 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 ADDINFO
@Deprecated @ProwideDeprecated(phase3=_2018) public static final String AEXP
SchemeConstantsA.AEXP
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String AGRE
SchemeConstantsA.AGRE
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String BCOL
SchemeConstantsB.BCOL
,
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 CCAL
SchemeConstantsC.CCAL
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String CCOL
SchemeConstantsC.CCOL
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String COAL
SchemeConstantsC.COAL
,
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 COLA
SchemeConstantsC.COLA
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String COLD
SchemeConstantsC.COLD
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String COLL
SchemeConstantsC.COLL
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String COLR
SchemeConstantsC.COLR
,
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 CORE
SchemeConstantsC.CORE
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String COVA
SchemeConstantsC.COVA
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String CRET
SchemeConstantsC.CRET
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String DEPO
SchemeConstantsD.DEPO
,
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 EXPI
SchemeConstantsE.EXPI
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String EXPP
SchemeConstantsE.EXPP
,
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 GUAR
SchemeConstantsG.GUAR
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String INOU
SchemeConstantsI.INOU
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String ISSU
SchemeConstantsI.ISSU
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String LINK
SchemeConstantsL.LINK
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String LOCR
SchemeConstantsL.LOCR
,
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 MERE
SchemeConstantsM.MERE
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String MITR
SchemeConstantsM.MITR
,
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 NRAD
SchemeConstantsN.NRAD
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String OWNF
SchemeConstantsO.OWNF
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String PACO
SchemeConstantsP.PACO
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String PREP
SchemeConstantsP.PREP
,
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 PRHA
SchemeConstantsP.PRHA
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String PTYA
SchemeConstantsP.PTYA
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String PTYB
SchemeConstantsP.PTYB
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String RADD
SchemeConstantsR.RADD
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String RCTR
SchemeConstantsR.RCTR
,
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 ROUN
SchemeConstantsR.ROUN
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String RSET
SchemeConstantsR.RSET
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String SCOL
SchemeConstantsS.SCOL
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String SCTR
SchemeConstantsS.SCTR
,
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 SETT
SchemeConstantsS.SETT
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String SUMD
SchemeConstantsS.SUMD
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String SUMM
SchemeConstantsS.SUMM
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String TCRL
SchemeConstantsT.TCRL
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String TERM
SchemeConstantsT.TERM
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String TEXA
SchemeConstantsT.TEXA
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String THRS
SchemeConstantsT.THRS
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String THRU
SchemeConstantsT.THRU
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String TYCO
SchemeConstantsT.TYCO
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String VALC
SchemeConstantsV.VALC
,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final String VALE
SchemeConstantsV.VALE
,
Constant Field Valuespublic MT503(SwiftMessage m)
m
- swift message with the MT503 contentpublic MT503(MtSwiftMessage m)
m
- swift message with the MT503 content, the parameter can not be null
MT503(String)
public MT503()
public MT503(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 MT503(int messageType, String sender, String receiver)
new MT503(sender, receiver)
insteadmessageType
parameter is actually ignored.MT503(String, String)
public MT503(String fin)
fin
- a string with the MT message in its FIN swift formatpublic MT503(InputStream stream) throws IOException
stream
- an input stream in UTF-8 encoding with the MT message in its FIN swift format.IOException
public MT503(File file) throws IOException
file
- a file with the MT message in its FIN swift format.IOException
public static MT503 parse(MtSwiftMessage m)
m
- swift message with the MT503 contentnull
if the parameter is null
MT503(String)
public static MT503 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 MT503 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 MT503 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 MT503 append(SwiftTagListBlock block)
append
in class AbstractMT
block
- to appendpublic MT503 append(Tag... tags)
append
in class AbstractMT
tags
- to appendpublic MT503 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 Field98E getField98E()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field35B getField35B()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field36B getField36B()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field17B getField17B()
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<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<Field22F> getField22F()
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<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<Field70C> getField70C()
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<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<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<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<Field19B> getField19B()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field98C> getField98C()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field98B> getField98B()
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 MT503.SequenceA getSequenceA()
null
. If the sequence is not found an empty instance
of SequenceA
is returnedMT503.SequenceA.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static MT503.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 messageMT503.SequenceA.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public List<MT503.SequenceA1> getSequenceA1List()
MT503.SequenceA1.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static List<MT503.SequenceA1> getSequenceA1List(SwiftTagListBlock parentSequence)
parentSequence
- an optional parent sequence or null
to find SequenceA1 within the complete messageMT503.SequenceA1.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public List<MT503.SequenceA2> getSequenceA2List()
MT503.SequenceA2.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static List<MT503.SequenceA2> getSequenceA2List(SwiftTagListBlock parentSequence)
parentSequence
- an optional parent sequence or null
to find SequenceA2 within the complete messageMT503.SequenceA2.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public MT503.SequenceB getSequenceB()
null
. If the sequence is not found an empty instance
of SequenceB
is returnedMT503.SequenceB.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static MT503.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 messageMT503.SequenceB.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public MT503.SequenceB1 getSequenceB1()
null
. If the sequence is not found an empty instance
of SequenceB1
is returnedMT503.SequenceB1.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static MT503.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 messageMT503.SequenceB1.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public List<MT503.SequenceC> getSequenceCList()
MT503.SequenceC.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static List<MT503.SequenceC> getSequenceCList(SwiftTagListBlock parentSequence)
parentSequence
- an optional parent sequence or null
to find SequenceC within the complete messageMT503.SequenceC.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public List<MT503.SequenceC1> getSequenceC1List()
MT503.SequenceC1.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static List<MT503.SequenceC1> getSequenceC1List(SwiftTagListBlock parentSequence)
parentSequence
- an optional parent sequence or null
to find SequenceC1 within the complete messageMT503.SequenceC1.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public List<MT503.SequenceC2> getSequenceC2List()
MT503.SequenceC2.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static List<MT503.SequenceC2> getSequenceC2List(SwiftTagListBlock parentSequence)
parentSequence
- an optional parent sequence or null
to find SequenceC2 within the complete messageMT503.SequenceC2.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public List<MT503.SequenceC3> getSequenceC3List()
MT503.SequenceC3.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static List<MT503.SequenceC3> getSequenceC3List(SwiftTagListBlock parentSequence)
parentSequence
- an optional parent sequence or null
to find SequenceC3 within the complete messageMT503.SequenceC3.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public MT503.SequenceD getSequenceD()
null
. If the sequence is not found an empty instance
of SequenceD
is returnedMT503.SequenceD.START_END_16RS
@SequenceStyle(value=GENERATED_16RS) public static MT503.SequenceD getSequenceD(SwiftTagListBlock parentSequence)
null
. If the sequence is not found an empty instance
of SequenceD
is returnedparentSequence
- an optional parent sequence or null
to find SequenceD within the complete messageMT503.SequenceD.START_END_16RS