public class MT365 extends AbstractMT implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MT365.SequenceA |
static class |
MT365.SequenceB |
static class |
MT365.SequenceE |
static class |
MT365.SequenceJ |
static class |
MT365.SequenceK |
static class |
MT365.SequenceL |
static class |
MT365.SequenceM |
Modifier and Type | Field and Description |
---|---|
static String |
AMND
Constant for qualifier with value AMND
|
static String |
CANC
Constant for qualifier with value CANC
|
static String |
DUPL
Constant for qualifier with value DUPL
|
static String |
FIXEDFIXED
Constant for qualifier with value FIXEDFIXED
|
static String |
FIXEDFLOAT
Constant for qualifier with value FIXEDFLOAT
|
static String |
FLOATFIXED
Constant for qualifier with value FLOATFIXED
|
static String |
FLOATFLOAT
Constant for qualifier with value FLOATFLOAT
|
static String |
LAST
Constant for qualifier with value LAST
|
static String |
NAME
Constant for MT name, this is part of the classname, after
MT |
static String |
NEWT
Constant for qualifier with value NEWT
|
static String |
NEXT
Constant for qualifier with value NEXT
|
static String |
OTHR
Constant for qualifier with value OTHR
|
static String |
PTRC
Constant for qualifier with value PTRC
|
static String |
PTRM
Constant for qualifier with value PTRM
|
static String |
RCPN
Constant for qualifier with value RCPN
|
static String |
TERM
Constant for qualifier with value TERM
|
Constructor and Description |
---|
MT365()
Creates and initializes a new MT365 input message setting TEST BICS as sender and receiver.
All mandatory header attributes are completed with default values. |
MT365(int messageType,
String sender,
String receiver)
Creates and initializes a new MT365 input message from sender to receiver.
All mandatory header attributes are completed with default values. |
MT365(MtSwiftMessage m)
Creates an MT365 initialized with the parameter MtSwiftMessage
|
MT365(SwiftMessage m)
Creates an MT365 initialized with the parameter SwiftMessage
|
Modifier and Type | Method and Description |
---|---|
MT365 |
append(Field... fields)
Add all the fields to the end of the block4.
|
MT365 |
append(SwiftTagListBlock block)
Add all tags from block to the end of the block4.
|
MT365 |
append(Tag... tags)
Add all tags to the end of the block4.
|
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 MT365 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 MT365 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 MT365 is expected to be the only one. |
Field15J |
getField15J()
Iterates through block4 fields and return the first one whose name matches 15J,
or
null if none is found.The first occurrence of field 15J at MT365 is expected to be the only one. |
Field15K |
getField15K()
Iterates through block4 fields and return the first one whose name matches 15K,
or
null if none is found.The first occurrence of field 15K at MT365 is expected to be the only one. |
Field15L |
getField15L()
Iterates through block4 fields and return the first one whose name matches 15L,
or
null if none is found.The first occurrence of field 15L at MT365 is expected to be the only one. |
Field15M |
getField15M()
Iterates through block4 fields and return the first one whose name matches 15M,
or
null if none is found.The first occurrence of field 15M at MT365 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 MT365 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 MT365 is expected to be the only one. |
Field21B |
getField21B()
Iterates through block4 fields and return the first one whose name matches 21B,
or
null if none is found.The first occurrence of field 21B at MT365 is expected to be the only one. |
Field21N |
getField21N()
Iterates through block4 fields and return the first one whose name matches 21N,
or
null if none is found.The first occurrence of field 21N at MT365 is expected to be the only one. |
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 MT365 is expected to be the only one. |
Field22B |
getField22B()
Iterates through block4 fields and return the first one whose name matches 22B,
or
null if none is found.The first occurrence of field 22B at MT365 is expected to be the only one. |
Field22C |
getField22C()
Iterates through block4 fields and return the first one whose name matches 22C,
or
null if none is found.The first occurrence of field 22C at MT365 is expected to be the only one. |
Field22D |
getField22D()
Iterates through block4 fields and return the first one whose name matches 22D,
or
null if none is found.The first occurrence of field 22D at MT365 is expected to be the only one. |
Field23A |
getField23A()
Iterates through block4 fields and return the first one whose name matches 23A,
or
null if none is found.The first occurrence of field 23A at MT365 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 MT365 is expected to be the only one. |
List<Field30F> |
getField30F()
Iterates through block4 fields and return all occurrences of fields whose names matches 30F,
or
Collections.emptyList() if none is found.Multiple occurrences of field 30F at MT365 are expected at one sequence or across several sequences. |
Field30P |
getField30P()
Iterates through block4 fields and return the first one whose name matches 30P,
or
null if none is found.The first occurrence of field 30P at MT365 is expected to be the only one. |
Field30Q |
getField30Q()
Iterates through block4 fields and return the first one whose name matches 30Q,
or
null if none is found.The first occurrence of field 30Q at MT365 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 MT365 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 MT365 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 MT365 is expected to be the only one. |
Field32G |
getField32G()
Iterates through block4 fields and return the first one whose name matches 32G,
or
null if none is found.The first occurrence of field 32G at MT365 is expected to be the only one. |
List<Field32M> |
getField32M()
Iterates through block4 fields and return all occurrences of fields whose names matches 32M,
or
Collections.emptyList() if none is found.Multiple occurrences of field 32M at MT365 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 MT365 is expected to be the only one. |
Field33E |
getField33E()
Iterates through block4 fields and return the first one whose name matches 33E,
or
null if none is found.The first occurrence of field 33E at MT365 is expected to be the only one. |
Field37N |
getField37N()
Iterates through block4 fields and return the first one whose name matches 37N,
or
null if none is found.The first occurrence of field 37N at MT365 is expected to be the only one. |
List<Field37P> |
getField37P()
Iterates through block4 fields and return all occurrences of fields whose names matches 37P,
or
Collections.emptyList() if none is found.Multiple occurrences of field 37P at MT365 are expected at one sequence or across several sequences. |
List<Field37U> |
getField37U()
Iterates through block4 fields and return all occurrences of fields whose names matches 37U,
or
Collections.emptyList() if none is found.Multiple occurrences of field 37U at MT365 are expected at one sequence or across several sequences. |
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 MT365 are expected at one sequence or across several sequences. |
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 MT365 are expected at one sequence or across several sequences. |
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 MT365 are expected at one sequence or across several sequences. |
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 MT365 are expected at one sequence or across several sequences. |
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 MT365 are expected at one sequence or across several sequences. |
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 MT365 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 MT365 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 MT365 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 MT365 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 MT365 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 MT365 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 MT365 is expected to be the only one. |
List<Field86A> |
getField86A()
Iterates through block4 fields and return all occurrences of fields whose names matches 86A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 86A at MT365 are expected at one sequence or across several sequences. |
List<Field86D> |
getField86D()
Iterates through block4 fields and return all occurrences of fields whose names matches 86D,
or
Collections.emptyList() if none is found.Multiple occurrences of field 86D at MT365 are expected at one sequence or across several sequences. |
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 MT365 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 MT365 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 MT365 is expected to be the only one. |
String |
getMessageType()
Returns this MT number
|
MT365.SequenceA |
getSequenceA()
Get the single occurrence of SequenceA delimited by leading tag and end, with an optional tail.
|
MT365.SequenceB |
getSequenceB()
Get the single occurrence of SequenceB delimited by leading tag and end, with an optional tail.
|
MT365.SequenceE |
getSequenceE()
Get the single occurrence of SequenceE delimited by leading tag and end, with an optional tail.
|
MT365.SequenceJ |
getSequenceJ()
Get the single occurrence of SequenceJ delimited by leading tag and end, with an optional tail.
|
MT365.SequenceK |
getSequenceK()
Get the single occurrence of SequenceK delimited by leading tag and end, with an optional tail.
|
MT365.SequenceL |
getSequenceL()
Get the single occurrence of SequenceL delimited by leading tag and end, with an optional tail.
|
MT365.SequenceM |
getSequenceM()
Get the single occurrence of SequenceM delimited by leading tag and end, with an optional tail.
|
addField, create, create, FIN, getApplicationId, getLogicalTerminal, getMessagePriority, getReceiver, getSender, getSequence, getSequenceList, getSequenceNumber, getServiceId, getSessionNumber, getSwiftMessage, isInput, isOutput, setReceiver, setReceiver, setSender, setSender, setSwiftMessage, toString
public static final String AMND
public static final String CANC
public static final String DUPL
public static final String FIXEDFIXED
public static final String FIXEDFLOAT
public static final String FLOATFIXED
public static final String FLOATFLOAT
public static final String LAST
public static final String NAME
MT
public static final String NEWT
public static final String NEXT
public static final String OTHR
public static final String PTRC
public static final String PTRM
public static final String RCPN
public static final String TERM
public MT365()
public MT365(int messageType, String sender, String receiver)
messageType
- message type to createsender
- 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 characterspublic MT365(MtSwiftMessage m)
m
- swift message with the MT365 contentpublic MT365(SwiftMessage m)
m
- swift message with the MT365 contentpublic MT365 append(Field... fields)
append
in class AbstractMT
fields
- to appendpublic MT365 append(SwiftTagListBlock block)
append
in class AbstractMT
block
- to appendpublic MT365 append(Tag... tags)
append
in class AbstractMT
tags
- to appendpublic Field15A getField15A()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field15B getField15B()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field15E getField15E()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field15J getField15J()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field15K getField15K()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field15L getField15L()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field15M getField15M()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field20 getField20()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field21 getField21()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field21B getField21B()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field21N getField21N()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field22A getField22A()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field22B getField22B()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field22C getField22C()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field22D getField22D()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field23A getField23A()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field29A getField29A()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public List<Field30F> getField30F()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public Field30P getField30P()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field30Q getField30Q()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field30T getField30T()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field30V getField30V()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field32B getField32B()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field32G getField32G()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public List<Field32M> getField32M()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public Field33B getField33B()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field33E getField33E()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field37N getField37N()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public List<Field37P> getField37P()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field37U> getField37U()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field53A> getField53A()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field53D> getField53D()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field56A> getField56A()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field56D> getField56D()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field57A> getField57A()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field57D> getField57D()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public Field72 getField72()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field82A getField82A()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field82D getField82D()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field83A getField83A()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field83D getField83D()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field83J getField83J()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public List<Field86A> getField86A()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field86D> getField86D()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public Field87A getField87A()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field87D getField87D()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field94A getField94A()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public String getMessageType()
getMessageType
in class AbstractMT
public MT365.SequenceA getSequenceA()
null
.public MT365.SequenceB getSequenceB()
null
.public MT365.SequenceE getSequenceE()
null
.public MT365.SequenceJ getSequenceJ()
null
.public MT365.SequenceK getSequenceK()
null
.public MT365.SequenceL getSequenceL()
null
.public MT365.SequenceM getSequenceM()
null
.