IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

Typed data elements

Typed data elements represent business objects such as String and Integer. They differ from non-typed data elements because they contain information about the type of business objects they represent and conform to the object's business rules. For example, a typed data element identifies how the toolkit displays the business object it represents and it also identifies what validation must occur when the toolkit changes an attribute value. To hold this information, typed data elements have one or more property descriptors. Non-typed data elements do not have a property descriptor.

The following diagram shows the classes used to implement typed data elements and their relationships:

In Html HelloWorld Sample, "String" and "Integer" are defined in file type.xml. Descriptor, converter and validator are used in this application. For example, if the age field in file helloWorld.jsp is input a value which smaller than 10 or larger then 90, the validation will be triggered.



Feedback