com.prowidesoftware.swift.model.mt.mt4xx
Class MT420

java.lang.Object
  extended by com.prowidesoftware.swift.model.mt.AbstractMT
      extended by com.prowidesoftware.swift.model.mt.mt4xx.MT420
All Implemented Interfaces:
java.io.Serializable

public class MT420
extends AbstractMT
implements java.io.Serializable

MT 420

NOTE: this source code has been generated from template

Author:
www.prowidesoftware.com
See Also:
Serialized Form

Nested Class Summary
static class MT420.Sequence_0
           
 
Constructor Summary
MT420()
          Creates an MT420 initialized with a new SwiftMessage
MT420(SwiftMessage m)
          Creates an MT420 initialized with the parameter SwiftMessage
 
Method Summary
 java.util.List<Field20> getField20()
          Iterates through block4 fields and return all occurrences of fields whose names matches 20, or Collections.emptyList() if none is found.
Multiple occurrences of field 20 at MT420 are expected at one sequence or across several sequences.
 java.util.List<Field21> getField21()
          Iterates through block4 fields and return all occurrences of fields whose names matches 21, or Collections.emptyList() if none is found.
Multiple occurrences of field 21 at MT420 are expected at one sequence or across several sequences.
 Field30 getField30()
          Iterates through block4 fields and return the first one whose name matches 30, or null if none is found.
The first occurrence of field 30 at MT420 is expected to be the only one.
 java.util.List<Field32A> getField32A()
          Iterates through block4 fields and return all occurrences of fields whose names matches 32A, or Collections.emptyList() if none is found.
Multiple occurrences of field 32A at MT420 are expected at one sequence or across several sequences.
 java.util.List<Field32B> getField32B()
          Iterates through block4 fields and return all occurrences of fields whose names matches 32B, or Collections.emptyList() if none is found.
Multiple occurrences of field 32B at MT420 are expected at one sequence or across several sequences.
 java.util.List<Field32K> getField32K()
          Iterates through block4 fields and return all occurrences of fields whose names matches 32K, or Collections.emptyList() if none is found.
Multiple occurrences of field 32K at MT420 are expected at one sequence or across several sequences.
 Field59 getField59()
          Iterates through block4 fields and return the first one whose name matches 59, or null if none is found.
The first occurrence of field 59 at MT420 is expected to be the only one.
 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 MT420 is expected to be the only one.
 java.lang.String getMessageType()
          Returns this MT number
 
Methods inherited from class com.prowidesoftware.swift.model.mt.AbstractMT
addField, FIN, getApplicationId, getLogicalTerminal, getMessagePriority, getReceiver, getSender, getSequenceNumber, getServiceId, getSessionNumber, getSwiftMessage, isInput, isOutput, setReceiver, setReceiver, setSender, setSender, setSwiftMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MT420

public MT420(SwiftMessage m)
Creates an MT420 initialized with the parameter SwiftMessage

Parameters:
m - swift message with the MT420 content

MT420

public MT420()
Creates an MT420 initialized with a new SwiftMessage

Method Detail

getMessageType

public java.lang.String getMessageType()
Returns this MT number

Specified by:
getMessageType in class AbstractMT
Returns:
the message type number of this MT
Since:
6.4

getField30

public Field30 getField30()
Iterates through block4 fields and return the first one whose name matches 30, or null if none is found.
The first occurrence of field 30 at MT420 is expected to be the only one.

Returns:
a Field30 object or null if the field is not found
Throws:
java.lang.IllegalStateException - if SwiftMessage object is not initialized
See Also:
SwiftTagListBlock.getTagByName(String)

getField59

public Field59 getField59()
Iterates through block4 fields and return the first one whose name matches 59, or null if none is found.
The first occurrence of field 59 at MT420 is expected to be the only one.

Returns:
a Field59 object or null if the field is not found
Throws:
java.lang.IllegalStateException - if SwiftMessage object is not initialized
See Also:
SwiftTagListBlock.getTagByName(String)

getField72

public 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 MT420 is expected to be the only one.

Returns:
a Field72 object or null if the field is not found
Throws:
java.lang.IllegalStateException - if SwiftMessage object is not initialized
See Also:
SwiftTagListBlock.getTagByName(String)

getField20

public java.util.List<Field20> getField20()
Iterates through block4 fields and return all occurrences of fields whose names matches 20, or Collections.emptyList() if none is found.
Multiple occurrences of field 20 at MT420 are expected at one sequence or across several sequences.

Returns:
a List of Field20 objects or Collections.emptyList() if none is not found
Throws:
java.lang.IllegalStateException - if SwiftMessage object is not initialized
See Also:
SwiftTagListBlock.getTagsByName(String)

getField21

public java.util.List<Field21> getField21()
Iterates through block4 fields and return all occurrences of fields whose names matches 21, or Collections.emptyList() if none is found.
Multiple occurrences of field 21 at MT420 are expected at one sequence or across several sequences.

Returns:
a List of Field21 objects or Collections.emptyList() if none is not found
Throws:
java.lang.IllegalStateException - if SwiftMessage object is not initialized
See Also:
SwiftTagListBlock.getTagsByName(String)

getField32A

public java.util.List<Field32A> getField32A()
Iterates through block4 fields and return all occurrences of fields whose names matches 32A, or Collections.emptyList() if none is found.
Multiple occurrences of field 32A at MT420 are expected at one sequence or across several sequences.

Returns:
a List of Field32A objects or Collections.emptyList() if none is not found
Throws:
java.lang.IllegalStateException - if SwiftMessage object is not initialized
See Also:
SwiftTagListBlock.getTagsByName(String)

getField32B

public java.util.List<Field32B> getField32B()
Iterates through block4 fields and return all occurrences of fields whose names matches 32B, or Collections.emptyList() if none is found.
Multiple occurrences of field 32B at MT420 are expected at one sequence or across several sequences.

Returns:
a List of Field32B objects or Collections.emptyList() if none is not found
Throws:
java.lang.IllegalStateException - if SwiftMessage object is not initialized
See Also:
SwiftTagListBlock.getTagsByName(String)

getField32K

public java.util.List<Field32K> getField32K()
Iterates through block4 fields and return all occurrences of fields whose names matches 32K, or Collections.emptyList() if none is found.
Multiple occurrences of field 32K at MT420 are expected at one sequence or across several sequences.

Returns:
a List of Field32K objects or Collections.emptyList() if none is not found
Throws:
java.lang.IllegalStateException - if SwiftMessage object is not initialized
See Also:
SwiftTagListBlock.getTagsByName(String)