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

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

public class MT422
extends AbstractMT
implements java.io.Serializable

MT 422

NOTE: this source code has been generated from template

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

Nested Class Summary
static class MT422.Sequence_0
           
 
Constructor Summary
MT422()
          Creates an MT422 initialized with a new SwiftMessage
MT422(SwiftMessage m)
          Creates an MT422 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 MT422 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 MT422 are expected at one sequence or across several sequences.
 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 MT422 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 MT422 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 MT422 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 MT422 is expected to be the only one.
 Field75 getField75()
          Iterates through block4 fields and return the first one whose name matches 75, or null if none is found.
The first occurrence of field 75 at MT422 is expected to be the only one.
 Field76 getField76()
          Iterates through block4 fields and return the first one whose name matches 76, or null if none is found.
The first occurrence of field 76 at MT422 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

MT422

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

Parameters:
m - swift message with the MT422 content

MT422

public MT422()
Creates an MT422 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

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 MT422 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)

getField75

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

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

getField76

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

Returns:
a Field76 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 MT422 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 MT422 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 MT422 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 MT422 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 MT422 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)