DispositionList

A disposition list is a means for a TPS to communicate instructions to the engine for message processing.

A disposition list has an add method. For example:
public void add(int disposition, Message msg) 
                throws CLOVERLEAFException

The valid disposition codes are provided as static final members of the class with values:

  • CONTINUE
  • ERROR
  • KILL
  • KILLREPLY
  • OVER
  • PROTO
  • SEND

An Rm is a record manager. It provides a means to make use of the parsing facilities of the system, and set or retrieve fields within a message using logical names. Rm methods are used from TPS's and TrxID classes using GRM and its subclasses, and from XLT (Translation) classes by XPM.

Rm provides two alternative styles for accessing field contents:

  • In one style, all retrieved values are strings, and all stored objects are converted to String objects using their toString() method.
  • In another style, retrieved values are objects of classes which depend on the system field type (for example, as specified in the FRL Configurator).

For example, an ai field is represented as a BigInteger object. The conversion is performed by methods of the datum class. Objects that are stored back into fields must be of classes which are supported by the datum conversion methods.

Type conversions that are used when converting from system types to Java classes are:

  • From CIS type: ai

    To Java class: BigInteger

  • From CIS type: br

    To Java class: not supported

  • From CIS type: ch

    To Java class: String

  • From CIS type: dt

    To Java class: Date

  • From CIS type: ed

    To Java class: Date

  • From CIS type: fd

    To Java class: Date

  • From CIS type: fe

    To Java class: Date

  • From CIS type: jd

    To Java class: Date

  • From CIS type: n1 - n10

    To Java class: not supported

  • From CIS type: nm

    To Java class: BigDecimal

  • From CIS type: null

    To Java class: null

  • From CIS type: st

    To Java class: String

  • From CIS type: tm

    To Java class: Date

  • From CIS type: ts

    To Java class: Date

  • From CIS type: ut

    To Java class: Date

  • From CIS type: yd

    To Java class: Date

  • From CIS type: zd

    To Java class: not supported

  • From CIS type: usy

    To Java class: String

  • From CIS type: uan

    To Java class: String

  • From CIS type: cd

    To Java class: BigDecimal

  • From CIS type: swx

    To Java class: String

  • From CIS type: swy

    To Java class: String

  • From CIS type: swz

    To Java class: String

  • From CIS type: hex

    To Java class: not supported

Type conversions that are used when converting from Java classes to system types are:

  • From Java class: Integer

    To CIS type: ai

  • From Java class: BigInteger

    To CIS type: ai

  • From Java class: String

    To CIS type: ch

  • From Java class: Double

    To CIS type: nm

  • From Java class: Float

    To CIS type: nm

  • From Java class: BigDecimal

    To CIS type: nm

  • From Java class: Date

    To CIS type: ts

  • From Java class: null

    To CIS type: null