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

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

public class MT492
extends AbstractMT
implements java.io.Serializable

MT 492

NOTE: this source code has been generated from template

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

Constructor Summary
MT492()
          Creates an MT492 initialized with a new SwiftMessage
MT492(SwiftMessage m)
          Creates an MT492 initialized with the parameter SwiftMessage
 
Method Summary
 Field11S getField11S()
          Iterates through block4 fields and return the first one whose name matches 11S, or null if none is found.
The first occurrence of field 11S at MT492 is expected to be the only one.
 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 MT492 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 MT492 is expected to be the only one.
 Field79 getField79()
          Iterates through block4 fields and return the first one whose name matches 79, or null if none is found.
The first occurrence of field 79 at MT492 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

MT492

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

Parameters:
m - swift message with the MT492 content

MT492

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

getField11S

public Field11S getField11S()
Iterates through block4 fields and return the first one whose name matches 11S, or null if none is found.
The first occurrence of field 11S at MT492 is expected to be the only one.

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

getField79

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

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