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

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

public class MT412
extends AbstractMT
implements java.io.Serializable

MT 412

NOTE: this source code has been generated from template

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

Nested Class Summary
static class MT412.Sequence_0
           
 
Constructor Summary
MT412()
          Creates an MT412 initialized with a new SwiftMessage
MT412(SwiftMessage m)
          Creates an MT412 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 MT412 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 MT412 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 MT412 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 MT412 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

MT412

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

Parameters:
m - swift message with the MT412 content

MT412

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