IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

Electronic Journal APIs

The following APIs are provided by the BTT Electronic Journal:

BTTEJ

BTTEJ is a common interface for all the EJ implementation. It contains the following APIs:

EJRecord

One instance of EJRecord corresponds to one transaction record. Before you insert a record to the database, each variable of the record should be initiated. You can set and get the information through the following methods. The name of the methods explains their function clearly.

public Object getFieldData (FieldDescriptor  fd);
public void setFieldData (FieldDescriptor fd, Object value);
public Object getFieldData (String  fieldName) throws BTTEJFieldNameNotDefinedException
public void setFieldData (String fieldName, Object value) throws BTTEJFieldNameNotDefinedException

Implementation of EJ interface

BTT provides the class BTTEJBase to implement the EJ interface. BTTEJBase is in charge of controlling record sequence number, validating the record value, access control and DAO access. And another class BTTEJBufferImpl, which extends from the BTTEJBase, provides a buffered EJ implementation as the following picture shows. .

BTTEJBufferImpl illustration

Validator for EJ Record

The validator in BTT EJ is also provided as interface, you should implement them as needed, because the table structure is not fixed. There are also two method declarations in the interface EJRecordValidator. .

JDBC DAO for EJ

BTT provides class EJDAOJdbcImpl to implements the JDBC DAO. It supports two types of runtime environment:



Feedback