public class MT362 extends AbstractMT implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MT362.Sequence_0 |
static class |
MT362.Sequence_1 |
static class |
MT362.SequenceA |
static class |
MT362.SequenceB |
static class |
MT362.SequenceC |
static class |
MT362.SequenceD |
static class |
MT362.SequenceE |
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 |
CAPBUYER
Constant for qualifier with value CAPBUYER
|
static String |
CAPSELLER
Constant for qualifier with value CAPSELLER
|
static String |
COLLARBYER
Constant for qualifier with value COLLARBYER
|
static String |
COLLARSLLR
Constant for qualifier with value COLLARSLLR
|
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 |
FLOORBUYER
Constant for qualifier with value FLOORBUYER
|
static String |
FLOORSLLER
Constant for qualifier with value FLOORSLLER
|
static String |
NAME
Constant for MT name, this is part of the classname, after
MT |
static String |
NEWT
Constant for qualifier with value NEWT
|
Constructor and Description |
---|
MT362()
Creates and initializes a new MT362 input message setting TEST BICS as sender and receiver.
All mandatory header attributes are completed with default values. |
MT362(int messageType,
String sender,
String receiver)
Creates and initializes a new MT362 input message from sender to receiver.
All mandatory header attributes are completed with default values. |
MT362(MtSwiftMessage m)
Creates an MT362 initialized with the parameter MtSwiftMessage
|
MT362(SwiftMessage m)
Creates an MT362 initialized with the parameter SwiftMessage
|
Modifier and Type | Method and Description |
---|---|
MT362 |
append(Field... fields)
Add all the fields to the end of the block4.
|
MT362 |
append(SwiftTagListBlock block)
Add all tags from block to the end of the block4.
|
MT362 |
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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 is expected to be the only one. |
List<Field18A> |
getField18A()
Iterates through block4 fields and return all occurrences of fields whose names matches 18A,
or
Collections.emptyList() if none is found.Multiple occurrences of field 18A at MT362 are expected at one sequence or across several sequences. |
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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 is expected to be the only one. |
List<Field30Q> |
getField30Q()
Iterates through block4 fields and return all occurrences of fields whose names matches 30Q,
or
Collections.emptyList() if none is found.Multiple occurrences of field 30Q at MT362 are expected at one sequence or across several sequences. |
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 MT362 is expected to be the only one. |
List<Field30X> |
getField30X()
Iterates through block4 fields and return all occurrences of fields whose names matches 30X,
or
Collections.emptyList() if none is found.Multiple occurrences of field 30X at MT362 are expected at one sequence or across several sequences. |
List<Field32H> |
getField32H()
Iterates through block4 fields and return all occurrences of fields whose names matches 32H,
or
Collections.emptyList() if none is found.Multiple occurrences of field 32H at MT362 are expected at one sequence or across several sequences. |
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 MT362 are expected at one sequence or across several sequences. |
List<Field33E> |
getField33E()
Iterates through block4 fields and return all occurrences of fields whose names matches 33E,
or
Collections.emptyList() if none is found.Multiple occurrences of field 33E at MT362 are expected at one sequence or across several sequences. |
List<Field33F> |
getField33F()
Iterates through block4 fields and return all occurrences of fields whose names matches 33F,
or
Collections.emptyList() if none is found.Multiple occurrences of field 33F at MT362 are expected at one sequence or across several sequences. |
List<Field37G> |
getField37G()
Iterates through block4 fields and return all occurrences of fields whose names matches 37G,
or
Collections.emptyList() if none is found.Multiple occurrences of field 37G at MT362 are expected at one sequence or across several sequences. |
List<Field37J> |
getField37J()
Iterates through block4 fields and return all occurrences of fields whose names matches 37J,
or
Collections.emptyList() if none is found.Multiple occurrences of field 37J at MT362 are expected at one sequence or across several sequences. |
List<Field37L> |
getField37L()
Iterates through block4 fields and return all occurrences of fields whose names matches 37L,
or
Collections.emptyList() if none is found.Multiple occurrences of field 37L at MT362 are expected at one sequence or across several sequences. |
List<Field37M> |
getField37M()
Iterates through block4 fields and return all occurrences of fields whose names matches 37M,
or
Collections.emptyList() if none is found.Multiple occurrences of field 37M at MT362 are expected at one sequence or across several sequences. |
List<Field37N> |
getField37N()
Iterates through block4 fields and return all occurrences of fields whose names matches 37N,
or
Collections.emptyList() if none is found.Multiple occurrences of field 37N at MT362 are expected at one sequence or across several sequences. |
List<Field37R> |
getField37R()
Iterates through block4 fields and return all occurrences of fields whose names matches 37R,
or
Collections.emptyList() if none is found.Multiple occurrences of field 37R at MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 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 MT362 is expected to be the only one. |
String |
getMessageType()
Returns this MT number
|
List<MT362.Sequence_0> |
getSequence_0List()
Get the list of Sequence_0 delimited by leading tag and end, with an optional tail.
|
List<MT362.Sequence_1> |
getSequence_1List()
Get the list of Sequence_1 delimited by leading tag and end, with an optional tail.
|
MT362.SequenceA |
getSequenceA()
Get the single occurrence of SequenceA delimited by leading tag and end, with an optional tail.
|
MT362.SequenceB |
getSequenceB()
Get the single occurrence of SequenceB delimited by leading tag and end, with an optional tail.
|
MT362.SequenceC |
getSequenceC()
Get the single occurrence of SequenceC delimited by leading tag and end, with an optional tail.
|
MT362.SequenceD |
getSequenceD()
Get the single occurrence of SequenceD delimited by leading tag and end, with an optional tail.
|
MT362.SequenceE |
getSequenceE()
Get the single occurrence of SequenceE 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 CAPBUYER
public static final String CAPSELLER
public static final String COLLARBYER
public static final String COLLARSLLR
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 FLOORBUYER
public static final String FLOORSLLER
public static final String NAME
MT
public static final String NEWT
public MT362()
public MT362(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 MT362(MtSwiftMessage m)
m
- swift message with the MT362 contentpublic MT362(SwiftMessage m)
m
- swift message with the MT362 contentpublic MT362 append(Field... fields)
append
in class AbstractMT
fields
- to appendpublic MT362 append(SwiftTagListBlock block)
append
in class AbstractMT
block
- to appendpublic MT362 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 Field15C getField15C()
null
if none is found.null
if the field is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagByName(String)
public Field15D getField15D()
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 List<Field18A> getField18A()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(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 Field22C getField22C()
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 List<Field30Q> getField30Q()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(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 List<Field30X> getField30X()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field32H> getField32H()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(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 List<Field33E> getField33E()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field33F> getField33F()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field37G> getField37G()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field37J> getField37J()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field37L> getField37L()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field37M> getField37M()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field37N> getField37N()
Collections.emptyList()
if none is found.Collections.emptyList()
if none is not foundIllegalStateException
- if SwiftMessage object is not initializedSwiftTagListBlock.getTagsByName(String)
public List<Field37R> getField37R()
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 List<MT362.Sequence_0> getSequence_0List()
public List<MT362.Sequence_1> getSequence_1List()
public MT362.SequenceA getSequenceA()
null
.public MT362.SequenceB getSequenceB()
null
.public MT362.SequenceC getSequenceC()
null
.public MT362.SequenceD getSequenceD()
null
.public MT362.SequenceE getSequenceE()
null
.