APIs - TAFJ - AND - COMPLEX - Classess 5
APIs - TAFJ - AND - COMPLEX - Classess 5
2
3
4
‘T’ types are new classes introduced by Temenos for Java developers. These are
available under TAFJClient.jar
This JAR can be found under TAFJ/Lib folder
The classes in the jar resides in TAFJ Framework Layer.
The reason for the T Types is to make them mutable. i.e. String is immutable
5
The TStructure is a generic container type used for record or complex type
parameters.
TStructure is not used to access data it is only used to construct instances of records
or complex types
Maps Transact data to java object
6
TField has getter and setter methods for field values, error as well as enrichments.
From the above e.g. f2.setError(); Setting the Error message if DEBIT.CURRENCY
and CREDIT.CURRENCY are not equal.
7
In above e.g. we are using TField to get the values of the fields from
FUNDS.TRANSFER record . If debit and credit currency are not the same, error is set
and response is returned using getValidationResponse();
8
The system.DataAccess class is a utility class to read, select and access data in T24.
The api.records package is used to hold records from T24 applications
9
The T24Context encapsulates the current session
All Hook classes are instances of T24Context
API classes must be constructed using a T24Context (“this”) to ensure that any
callbacks are made to the current session
10
This class packages data which is required to post the transaction request in
asynchronous mode
11
This class packages data which is required to post the transaction request in
asynchronous mode
12
Represents objects to be used for selection criteria in enquiry
In T24 terms, this is from the ENQ.DATA variable used in ENQUIRY BUILD.ROUTINEs in
T24.
13
A Complex class is a convenient way of grouping several pieces of related information
together. For e.g amount is represented as USD250 – consists of a Currency as well as
a value.
For e.g. the values(field name, operand, value) in a dynamic selection box of an
ENQUIRY is a set of related data (but not a record) and a complex class is used to hold
the values. com.temenos.t24.api.complex.eb.enquiryhook.FilterCriteria
15
16
17
18