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

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

public class MT499
extends AbstractMT
implements java.io.Serializable

MT 499

NOTE: this source code has been generated from template

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

Constructor Summary
MT499()
          Creates an MT499 initialized with a new SwiftMessage
MT499(SwiftMessage m)
          Creates an MT499 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 MT499 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 MT499 is expected to be the only one.
 java.util.List<Field79> getField79()
          Iterates through block4 fields and return all occurrences of fields whose names matches 79, or Collections.emptyList() if none is found.
Multiple occurrences of field 79 at MT499 are expected at one sequence or across several sequences.
 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

MT499

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

Parameters:
m - swift message with the MT499 content

MT499

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

getField79

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

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