@Generated public class MT304 extends AbstractMT implements java.io.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 |
MT304.SequenceA
Class for Sequence "A" of MT 304
|
static class |
MT304.SequenceB
Class for Sequence "B" of MT 304
|
static class |
MT304.SequenceB1
Class for Sequence "B1" of MT 304
|
static class |
MT304.SequenceB2
Class for Sequence "B2" of MT 304
|
static class |
MT304.SequenceC
Class for Sequence "C" of MT 304
|
static class |
MT304.SequenceC1
Class for Sequence "C1" of MT 304
|
static class |
MT304.SequenceC1a
Class for Sequence "C1a" of MT 304
|
static class |
MT304.SequenceD
Class for Sequence "D" of MT 304
|
static class |
MT304.SequenceE
Class for Sequence "E" of MT 304
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AFB
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsA.AFB
|
static java.lang.String |
AFWD
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsA.AFWD
|
static java.lang.String |
AMND
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsA.AMND
|
static java.lang.String |
ANDF
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsA.ANDF
|
static java.lang.String |
ASET
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsA.ASET
|
static java.lang.String |
CANC
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsC.CANC
|
static java.lang.String |
DERV
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsD.DERV
|
static java.lang.String |
DUPL
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsD.DUPL
|
static java.lang.String |
FBF
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsF.FBF
|
static java.lang.String |
FEOMA
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsF.FEOMA
|
static java.lang.String |
ICOM
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsI.ICOM
|
static java.lang.String |
IFEMA
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsI.IFEMA
|
static java.lang.String |
ISDA
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsI.ISDA
|
static java.lang.String |
ISDACN
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsI.ISDACN
|
static java.lang.String |
N
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsN.N
|
static java.lang.String |
NAME
Constant for MT name, this is part of the classname, after
MT |
static java.lang.String |
NEWT
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsN.NEWT
|
static java.lang.String |
OTHER
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsO.OTHER
|
static int |
SRU
Constant identifying the SRU to which this class belongs to.
|
static java.lang.String |
Y
Deprecated.
use instead com.prowidesoftware.swift.SchemeConstantsY.Y
|
m| Constructor and Description |
|---|
MT304()
Creates and initializes a new MT304 input message setting TEST BICS as sender and receiver.
All mandatory header attributes are completed with default values. |
MT304(java.io.File file)
Creates a new MT304 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. |
MT304(java.io.InputStream stream)
Creates a new MT304 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. |
MT304(int messageType,
java.lang.String sender,
java.lang.String receiver)
Deprecated.
Use instead
new MT304(sender, receiver) instead |
MT304(MtSwiftMessage m)
Creates an MT304 initialized with the parameter MtSwiftMessage.
|
MT304(java.lang.String fin)
Creates a new MT304 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. |
MT304(java.lang.String sender,
java.lang.String receiver)
Creates and initializes a new MT304 input message from sender to receiver.
All mandatory header attributes are completed with default values. |
MT304(SwiftMessage m)
Creates an MT304 initialized with the parameter SwiftMessage
|
| Modifier and Type | Method and Description |
|---|---|
MT304 |
append(Field... fields)
Add all the fields to the end of the block4.
|
MT304 |
append(SwiftTagListBlock block)
Add all tags from block to the end of the block4.
|
MT304 |
append(Tag... tags)
Add all tags to the end of the block4.
|
Field14C |
getField14C()
Iterates through block4 fields and return the first one whose name matches 14C,
or
null if none is found.The first occurrence of field 14C at MT304 is expected to be the only one. |
Field14E |
getField14E()
Iterates through block4 fields and return the first one whose name matches 14E,
or
null if none is found.The first occurrence of field 14E at MT304 is expected to be the only one. |
java.util.List<Field14S> |
getField14S()
Iterates through block4 fields and return all occurrences of fields whose names matches 14S,
or
Collections.emptyList() if none is found.Multiple occurrences of field 14S at MT304 are expected at one sequence or across several sequences. |
Field15A |
getField15A()
Iterates through block4 fields and return the first one whose name matches 15A,
or
null if none is found.The first occurrence of field 15A at MT304 is expected to be the only one. |
Field15B |
getField15B()
Iterates through block4 fields and return the first one whose name matches 15B,
or
null if none is found.The first occurrence of field 15B at MT304 is expected to be the only one. |
Field15C |
getField15C()
Iterates through block4 fields and return the first one whose name matches 15C,
or
null if none is found.The first occurrence of field 15C at MT304 is expected to be the only one. |
Field15D |
getField15D()
Iterates through block4 fields and return the first one whose name matches 15D,
or
null if none is found.The first occurrence of field 15D at MT304 is expected to be the only one. |
Field15E |
getField15E()
Iterates through block4 fields and return the first one whose name matches 15E,
or
null if none is found.The first occurrence of field 15E at MT304 is expected to be the only one. |
Field17F |
getField17F()
Iterates through block4 fields and return the first one whose name matches 17F,
or
null if none is found.The first occurrence of field 17F at MT304 is expected to be the only one. |
java.util.List<Field17G> |
getField17G()
Iterates through block4 fields and return all occurrences of fields whose names matches 17G,
or
Collections.emptyList() if none is found.Multiple occurrences of field 17G at MT304 are expected at one sequence or across several sequences. |
Field17I |
getField17I()
Iterates through block4 fields and return the first one whose name matches 17I,
or
null if none is found.The first occurrence of field 17I at MT304 is expected to be the only one. |
Field17N |
getField17N()
Iterates through block4 fields and return the first one whose name matches 17N,
or
null if none is found.The first occurrence of field 17N at MT304 is expected to be the only one. |
Field17O |
getField17O()
Iterates through block4 fields and return the first one whose name matches 17O,
or
null if none is found.The first occurrence of field 17O at MT304 is expected to be the only one. |
Field20 |
getField20()
Iterates through block4 fields and return the first one whose name matches 20,
or
null if none is found.The first occurrence of field 20 at MT304 is expected to be the only one. |
Field21 |
getField21()
Iterates through block4 fields and return the first one whose name matches 21,
or
null if none is found.The first occurrence of field 21 at MT304 is expected to be the only one. |
java.util.List<Field21A> |
getField21A()
Iterates through block4 fields and return all occurrences of fields whose names matches 21A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 21A at MT304 are expected at one sequence or across several sequences. |
Field21G |
getField21G()
Iterates through block4 fields and return the first one whose name matches 21G,
or
null if none is found.The first occurrence of field 21G at MT304 is expected to be the only one. |
java.util.List<Field21P> |
getField21P()
Iterates through block4 fields and return all occurrences of fields whose names matches 21P,
or
Collections.emptyList() if none is found.Multiple occurrences of field 21P at MT304 are expected at one sequence or across several sequences. |
Field22A |
getField22A()
Iterates through block4 fields and return the first one whose name matches 22A,
or
null if none is found.The first occurrence of field 22A at MT304 is expected to be the only one. |
java.util.List<Field22L> |
getField22L()
Iterates through block4 fields and return all occurrences of fields whose names matches 22L,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22L at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field22M> |
getField22M()
Iterates through block4 fields and return all occurrences of fields whose names matches 22M,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22M at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field22N> |
getField22N()
Iterates through block4 fields and return all occurrences of fields whose names matches 22N,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22N at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field22P> |
getField22P()
Iterates through block4 fields and return all occurrences of fields whose names matches 22P,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22P at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field22R> |
getField22R()
Iterates through block4 fields and return all occurrences of fields whose names matches 22R,
or
Collections.emptyList() if none is found.Multiple occurrences of field 22R at MT304 are expected at one sequence or across several sequences. |
Field22U |
getField22U()
Iterates through block4 fields and return the first one whose name matches 22U,
or
null if none is found.The first occurrence of field 22U at MT304 is expected to be the only one. |
Field22V |
getField22V()
Iterates through block4 fields and return the first one whose name matches 22V,
or
null if none is found.The first occurrence of field 22V at MT304 is expected to be the only one. |
Field29A |
getField29A()
Iterates through block4 fields and return the first one whose name matches 29A,
or
null if none is found.The first occurrence of field 29A at MT304 is expected to be the only one. |
Field30F |
getField30F()
Iterates through block4 fields and return the first one whose name matches 30F,
or
null if none is found.The first occurrence of field 30F at MT304 is expected to be the only one. |
Field30T |
getField30T()
Iterates through block4 fields and return the first one whose name matches 30T,
or
null if none is found.The first occurrence of field 30T at MT304 is expected to be the only one. |
Field30U |
getField30U()
Iterates through block4 fields and return the first one whose name matches 30U,
or
null if none is found.The first occurrence of field 30U at MT304 is expected to be the only one. |
Field30V |
getField30V()
Iterates through block4 fields and return the first one whose name matches 30V,
or
null if none is found.The first occurrence of field 30V at MT304 is expected to be the only one. |
Field32B |
getField32B()
Iterates through block4 fields and return the first one whose name matches 32B,
or
null if none is found.The first occurrence of field 32B at MT304 is expected to be the only one. |
Field32E |
getField32E()
Iterates through block4 fields and return the first one whose name matches 32E,
or
null if none is found.The first occurrence of field 32E at MT304 is expected to be the only one. |
java.util.List<Field32G> |
getField32G()
Iterates through block4 fields and return all occurrences of fields whose names matches 32G,
or
Collections.emptyList() if none is found.Multiple occurrences of field 32G at MT304 are expected at one sequence or across several sequences. |
Field33B |
getField33B()
Iterates through block4 fields and return the first one whose name matches 33B,
or
null if none is found.The first occurrence of field 33B at MT304 is expected to be the only one. |
Field34B |
getField34B()
Iterates through block4 fields and return the first one whose name matches 34B,
or
null if none is found.The first occurrence of field 34B at MT304 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 MT304 is expected to be the only one. |
Field36 |
getField36()
Iterates through block4 fields and return the first one whose name matches 36,
or
null if none is found.The first occurrence of field 36 at MT304 is expected to be the only one. |
java.util.List<Field53A> |
getField53A()
Iterates through block4 fields and return all occurrences of fields whose names matches 53A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 53A at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field53D> |
getField53D()
Iterates through block4 fields and return all occurrences of fields whose names matches 53D,
or
Collections.emptyList() if none is found.Multiple occurrences of field 53D at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field53J> |
getField53J()
Iterates through block4 fields and return all occurrences of fields whose names matches 53J,
or
Collections.emptyList() if none is found.Multiple occurrences of field 53J at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field56A> |
getField56A()
Iterates through block4 fields and return all occurrences of fields whose names matches 56A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 56A at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field56D> |
getField56D()
Iterates through block4 fields and return all occurrences of fields whose names matches 56D,
or
Collections.emptyList() if none is found.Multiple occurrences of field 56D at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field56J> |
getField56J()
Iterates through block4 fields and return all occurrences of fields whose names matches 56J,
or
Collections.emptyList() if none is found.Multiple occurrences of field 56J at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field57A> |
getField57A()
Iterates through block4 fields and return all occurrences of fields whose names matches 57A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 57A at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field57D> |
getField57D()
Iterates through block4 fields and return all occurrences of fields whose names matches 57D,
or
Collections.emptyList() if none is found.Multiple occurrences of field 57D at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field57J> |
getField57J()
Iterates through block4 fields and return all occurrences of fields whose names matches 57J,
or
Collections.emptyList() if none is found.Multiple occurrences of field 57J at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field58A> |
getField58A()
Iterates through block4 fields and return all occurrences of fields whose names matches 58A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 58A at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field58D> |
getField58D()
Iterates through block4 fields and return all occurrences of fields whose names matches 58D,
or
Collections.emptyList() if none is found.Multiple occurrences of field 58D at MT304 are expected at one sequence or across several sequences. |
java.util.List<Field58J> |
getField58J()
Iterates through block4 fields and return all occurrences of fields whose names matches 58J,
or
Collections.emptyList() if none is found.Multiple occurrences of field 58J at MT304 are expected at one sequence or across several sequences. |
Field72 |
getField72()
Iterates through block4 fields and return the first one whose name matches 72,
or
null if none is found.The first occurrence of field 72 at MT304 is expected to be the only one. |
Field77H |
getField77H()
Iterates through block4 fields and return the first one whose name matches 77H,
or
null if none is found.The first occurrence of field 77H at MT304 is expected to be the only one. |
Field81A |
getField81A()
Iterates through block4 fields and return the first one whose name matches 81A,
or
null if none is found.The first occurrence of field 81A at MT304 is expected to be the only one. |
Field81D |
getField81D()
Iterates through block4 fields and return the first one whose name matches 81D,
or
null if none is found.The first occurrence of field 81D at MT304 is expected to be the only one. |
Field81J |
getField81J()
Iterates through block4 fields and return the first one whose name matches 81J,
or
null if none is found.The first occurrence of field 81J at MT304 is expected to be the only one. |
Field82A |
getField82A()
Iterates through block4 fields and return the first one whose name matches 82A,
or
null if none is found.The first occurrence of field 82A at MT304 is expected to be the only one. |
Field82D |
getField82D()
Iterates through block4 fields and return the first one whose name matches 82D,
or
null if none is found.The first occurrence of field 82D at MT304 is expected to be the only one. |
Field82J |
getField82J()
Iterates through block4 fields and return the first one whose name matches 82J,
or
null if none is found.The first occurrence of field 82J at MT304 is expected to be the only one. |
Field83A |
getField83A()
Iterates through block4 fields and return the first one whose name matches 83A,
or
null if none is found.The first occurrence of field 83A at MT304 is expected to be the only one. |
Field83D |
getField83D()
Iterates through block4 fields and return the first one whose name matches 83D,
or
null if none is found.The first occurrence of field 83D at MT304 is expected to be the only one. |
Field83J |
getField83J()
Iterates through block4 fields and return the first one whose name matches 83J,
or
null if none is found.The first occurrence of field 83J at MT304 is expected to be the only one. |
Field87A |
getField87A()
Iterates through block4 fields and return the first one whose name matches 87A,
or
null if none is found.The first occurrence of field 87A at MT304 is expected to be the only one. |
Field87D |
getField87D()
Iterates through block4 fields and return the first one whose name matches 87D,
or
null if none is found.The first occurrence of field 87D at MT304 is expected to be the only one. |
Field87J |
getField87J()
Iterates through block4 fields and return the first one whose name matches 87J,
or
null if none is found.The first occurrence of field 87J at MT304 is expected to be the only one. |
Field89A |
getField89A()
Iterates through block4 fields and return the first one whose name matches 89A,
or
null if none is found.The first occurrence of field 89A at MT304 is expected to be the only one. |
Field89D |
getField89D()
Iterates through block4 fields and return the first one whose name matches 89D,
or
null if none is found.The first occurrence of field 89D at MT304 is expected to be the only one. |
Field89J |
getField89J()
Iterates through block4 fields and return the first one whose name matches 89J,
or
null if none is found.The first occurrence of field 89J at MT304 is expected to be the only one. |
Field94A |
getField94A()
Iterates through block4 fields and return the first one whose name matches 94A,
or
null if none is found.The first occurrence of field 94A at MT304 is expected to be the only one. |
Field98D |
getField98D()
Iterates through block4 fields and return the first one whose name matches 98D,
or
null if none is found.The first occurrence of field 98D at MT304 is expected to be the only one. |
Field98G |
getField98G()
Iterates through block4 fields and return the first one whose name matches 98G,
or
null if none is found.The first occurrence of field 98G at MT304 is expected to be the only one. |
Field98H |
getField98H()
Iterates through block4 fields and return the first one whose name matches 98H,
or
null if none is found.The first occurrence of field 98H at MT304 is expected to be the only one. |
java.lang.String |
getMessageType()
Returns this MT number
|
MT304.SequenceA |
getSequenceA()
Get the single occurrence of SequenceA using field field 15 as sequence boundary.
|
MT304.SequenceA |
getSequenceA(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceA using field field 15 as sequence boundary.
|
MT304.SequenceB |
getSequenceB()
Get the single occurrence of SequenceB using field field 15 as sequence boundary.
|
MT304.SequenceB |
getSequenceB(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB using field field 15 as sequence boundary.
|
MT304.SequenceB1 |
getSequenceB1()
Get the single occurrence of SequenceB1 delimited by leading tag and end, with an optional tail.
|
MT304.SequenceB1 |
getSequenceB1(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB1 delimited by leading tag and end, with an optional tail.
|
MT304.SequenceB2 |
getSequenceB2()
Get the single occurrence of SequenceB2 delimited by leading tag and end, with an optional tail.
|
MT304.SequenceB2 |
getSequenceB2(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceB2 delimited by leading tag and end, with an optional tail.
|
MT304.SequenceC |
getSequenceC()
Get the single occurrence of SequenceC using field field 15 as sequence boundary.
|
MT304.SequenceC |
getSequenceC(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceC using field field 15 as sequence boundary.
|
java.util.List<MT304.SequenceC1a> |
getSequenceC1aList()
Get the list of SequenceC1a delimited by leading tag and end, with an optional tail.
|
static java.util.List<MT304.SequenceC1a> |
getSequenceC1aList(SwiftTagListBlock parentSequence)
Get the list of SequenceC1a delimited by leading tag and end, with an optional tail.
|
java.util.List<MT304.SequenceC1> |
getSequenceC1List()
Get the list of SequenceC1 delimited by leading tag and end, with an optional tail.
|
static java.util.List<MT304.SequenceC1> |
getSequenceC1List(SwiftTagListBlock parentSequence)
Get the list of SequenceC1 delimited by leading tag and end, with an optional tail.
|
MT304.SequenceD |
getSequenceD()
Get the single occurrence of SequenceD using field field 15 as sequence boundary.
|
MT304.SequenceD |
getSequenceD(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceD using field field 15 as sequence boundary.
|
MT304.SequenceE |
getSequenceE()
Get the single occurrence of SequenceE using field field 15 as sequence boundary.
|
MT304.SequenceE |
getSequenceE(SwiftTagListBlock parentSequence)
Get the single occurrence of SequenceE using field field 15 as sequence boundary.
|
static MT304 |
parse(java.io.File file)
Creates a new MT304 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 MT304 |
parse(java.io.InputStream stream)
Creates a new MT304 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 MT304 |
parse(MtSwiftMessage m)
Creates an MT304 initialized with the parameter MtSwiftMessage.
|
static MT304 |
parse(java.lang.String fin)
Creates a new MT304 by parsing a String with the message content in its swift FIN format.
If the fin parameter cannot be parsed, the returned MT304 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, xmlgetMessageStandardType, isMT, isMXpublic static final int SRU
public static final java.lang.String NAME
MT@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String AFB
SchemeConstantsA.AFB,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String AFWD
SchemeConstantsA.AFWD,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String AMND
SchemeConstantsA.AMND,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String ANDF
SchemeConstantsA.ANDF,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String ASET
SchemeConstantsA.ASET,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String CANC
SchemeConstantsC.CANC,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String DERV
SchemeConstantsD.DERV,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String DUPL
SchemeConstantsD.DUPL,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String FBF
SchemeConstantsF.FBF,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String FEOMA
SchemeConstantsF.FEOMA,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String ICOM
SchemeConstantsI.ICOM,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String IFEMA
SchemeConstantsI.IFEMA,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String ISDA
SchemeConstantsI.ISDA,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String ISDACN
SchemeConstantsI.ISDACN,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String N
SchemeConstantsN.N,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String NEWT
SchemeConstantsN.NEWT,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String OTHER
SchemeConstantsO.OTHER,
Constant Field Values@Deprecated @ProwideDeprecated(phase3=_2018) public static final java.lang.String Y
SchemeConstantsY.Y,
Constant Field Valuespublic MT304(SwiftMessage m)
m - swift message with the MT304 contentpublic MT304(MtSwiftMessage m)
m - swift message with the MT304 content, the parameter can not be nullMT304(String)public MT304()
public MT304(java.lang.String sender,
java.lang.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 MT304(int messageType, java.lang.String sender, java.lang.String receiver)
new MT304(sender, receiver) insteadmessageType parameter is actually ignored.MT304(String, String)public MT304(java.lang.String fin)
fin - a string with the MT message in its FIN swift formatpublic MT304(java.io.InputStream stream)
throws java.io.IOException
stream - an input stream in UTF-8 encoding with the MT message in its FIN swift format.java.io.IOExceptionpublic MT304(java.io.File file)
throws java.io.IOException
file - a file with the MT message in its FIN swift format.java.io.IOExceptionpublic static MT304 parse(MtSwiftMessage m)
m - swift message with the MT304 contentnull if the parameter is nullMT304(String)public static MT304 parse(java.lang.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 MT304 parse(java.io.InputStream stream) throws java.io.IOException
stream - an input stream in UTF-8 encoding with the MT message in its FIN swift format.java.io.IOExceptionpublic static MT304 parse(java.io.File file) throws java.io.IOException
file - a file with the MT message in its FIN swift format.java.io.IOExceptionpublic java.lang.String getMessageType()
getMessageType in class AbstractMTpublic MT304 append(SwiftTagListBlock block)
append in class AbstractMTblock - to appendpublic MT304 append(Tag... tags)
append in class AbstractMTtags - to appendpublic MT304 append(Field... fields)
append in class AbstractMTfields - to appendpublic Field15A getField15A()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field20 getField20()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field21 getField21()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field22A getField22A()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field94A getField94A()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field17O getField17O()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field17F getField17F()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field17N getField17N()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field83A getField83A()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field83D getField83D()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field83J getField83J()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field82A getField82A()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field82D getField82D()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field82J getField82J()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field87A getField87A()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field87D getField87D()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field87J getField87J()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field81A getField81A()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field81D getField81D()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field81J getField81J()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field89A getField89A()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field89D getField89D()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field89J getField89J()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field17I getField17I()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field77H getField77H()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field14C getField14C()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field32E getField32E()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field30U getField30U()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field14E getField14E()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field15B getField15B()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field30T getField30T()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field30V getField30V()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field36 getField36()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field32B getField32B()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field33B getField33B()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field15C getField15C()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field21G getField21G()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field22U getField22U()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field35B getField35B()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field22V getField22V()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field98D getField98D()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field98G getField98G()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field98H getField98H()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field29A getField29A()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field72 getField72()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field15D getField15D()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field34B getField34B()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field30F getField30F()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public Field15E getField15E()
null if none is found.null if the field is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)public java.util.List<Field14S> getField14S()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field53A> getField53A()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field53D> getField53D()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field53J> getField53J()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field56A> getField56A()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field56D> getField56D()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field56J> getField56J()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field57A> getField57A()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field57D> getField57D()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field57J> getField57J()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field21A> getField21A()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field22L> getField22L()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field22M> getField22M()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field22N> getField22N()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field22P> getField22P()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field22R> getField22R()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field21P> getField21P()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field17G> getField17G()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field32G> getField32G()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field58A> getField58A()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field58D> getField58D()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)public java.util.List<Field58J> getField58J()
Collections.emptyList() if none is found.Collections.emptyList() if none is not foundjava.lang.IllegalStateException - if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)@SequenceStyle(value=SPLIT_BY_15) public MT304.SequenceA getSequenceA()
@SequenceStyle(value=SPLIT_BY_15) public MT304.SequenceA getSequenceA(SwiftTagListBlock parentSequence)
parentSequence - an optional parent sequence or null to find SequenceA within the complete message@SequenceStyle(value=SPLIT_BY_15) public MT304.SequenceB getSequenceB()
@SequenceStyle(value=SPLIT_BY_15) public MT304.SequenceB getSequenceB(SwiftTagListBlock parentSequence)
parentSequence - an optional parent sequence or null to find SequenceB within the complete message@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public MT304.SequenceB1 getSequenceB1()
null.@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public MT304.SequenceB1 getSequenceB1(SwiftTagListBlock parentSequence)
null.parentSequence - an optional parent sequence or null to find SequenceB1 within the complete messageSwiftTagListBlock.getSubBlockDelimitedWithOptionalTail(String[], String[], String[])@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public MT304.SequenceB2 getSequenceB2()
null.@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public MT304.SequenceB2 getSequenceB2(SwiftTagListBlock parentSequence)
null.parentSequence - an optional parent sequence or null to find SequenceB2 within the complete messageSwiftTagListBlock.getSubBlockDelimitedWithOptionalTail(String[], String[], String[])@SequenceStyle(value=SPLIT_BY_15) public MT304.SequenceC getSequenceC()
@SequenceStyle(value=SPLIT_BY_15) public MT304.SequenceC getSequenceC(SwiftTagListBlock parentSequence)
parentSequence - an optional parent sequence or null to find SequenceC within the complete message@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public java.util.List<MT304.SequenceC1> getSequenceC1List()
@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public static java.util.List<MT304.SequenceC1> getSequenceC1List(SwiftTagListBlock parentSequence)
parentSequence - an optional parent sequence or null to find SequenceC1 within the complete messageSwiftTagListBlock.getSubBlocksDelimitedWithOptionalTail(String[], String[], String[])@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public java.util.List<MT304.SequenceC1a> getSequenceC1aList()
@SequenceStyle(value=GENERATED_FIXED_WITH_OPTIONAL_TAIL) public static java.util.List<MT304.SequenceC1a> getSequenceC1aList(SwiftTagListBlock parentSequence)
parentSequence - an optional parent sequence or null to find SequenceC1a within the complete messageSwiftTagListBlock.getSubBlocksDelimitedWithOptionalTail(String[], String[], String[])@SequenceStyle(value=SPLIT_BY_15) public MT304.SequenceD getSequenceD()
@SequenceStyle(value=SPLIT_BY_15) public MT304.SequenceD getSequenceD(SwiftTagListBlock parentSequence)
parentSequence - an optional parent sequence or null to find SequenceD within the complete message@SequenceStyle(value=SPLIT_BY_15) public MT304.SequenceE getSequenceE()
@SequenceStyle(value=SPLIT_BY_15) public MT304.SequenceE getSequenceE(SwiftTagListBlock parentSequence)
parentSequence - an optional parent sequence or null to find SequenceE within the complete message