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

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

public class MT491
extends AbstractMT
implements java.io.Serializable

MT 491

NOTE: this source code has been generated from template

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

Constructor Summary
MT491()
          Creates an MT491 initialized with a new SwiftMessage
MT491(SwiftMessage m)
          Creates an MT491 initialized with the parameter SwiftMessage
 
Method Summary
 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 MT491 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 MT491 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 MT491 is expected to be the only one.
 Field52A getField52A()
          Iterates through block4 fields and return the first one whose name matches 52A, or null if none is found.
The first occurrence of field 52A at MT491 is expected to be the only one.
 Field52D getField52D()
          Iterates through block4 fields and return the first one whose name matches 52D, or null if none is found.
The first occurrence of field 52D at MT491 is expected to be the only one.
 Field57A getField57A()
          Iterates through block4 fields and return the first one whose name matches 57A, or null if none is found.
The first occurrence of field 57A at MT491 is expected to be the only one.
 Field57B getField57B()
          Iterates through block4 fields and return the first one whose name matches 57B, or null if none is found.
The first occurrence of field 57B at MT491 is expected to be the only one.
 Field57D getField57D()
          Iterates through block4 fields and return the first one whose name matches 57D, or null if none is found.
The first occurrence of field 57D at MT491 is expected to be the only one.
 Field71B getField71B()
          Iterates through block4 fields and return the first one whose name matches 71B, or null if none is found.
The first occurrence of field 71B at MT491 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 MT491 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

MT491

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

Parameters:
m - swift message with the MT491 content

MT491

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

getField20

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

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

getField21

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

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

getField32B

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

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

getField52A

public Field52A getField52A()
Iterates through block4 fields and return the first one whose name matches 52A, or null if none is found.
The first occurrence of field 52A at MT491 is expected to be the only one.

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

getField52D

public Field52D getField52D()
Iterates through block4 fields and return the first one whose name matches 52D, or null if none is found.
The first occurrence of field 52D at MT491 is expected to be the only one.

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

getField57A

public Field57A getField57A()
Iterates through block4 fields and return the first one whose name matches 57A, or null if none is found.
The first occurrence of field 57A at MT491 is expected to be the only one.

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

getField57B

public Field57B getField57B()
Iterates through block4 fields and return the first one whose name matches 57B, or null if none is found.
The first occurrence of field 57B at MT491 is expected to be the only one.

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

getField57D

public Field57D getField57D()
Iterates through block4 fields and return the first one whose name matches 57D, or null if none is found.
The first occurrence of field 57D at MT491 is expected to be the only one.

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

getField71B

public Field71B getField71B()
Iterates through block4 fields and return the first one whose name matches 71B, or null if none is found.
The first occurrence of field 71B at MT491 is expected to be the only one.

Returns:
a Field71B 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 MT491 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)