Extending data and its property

To extend DataField, do the following:
  1. Create a class extending com.ibm.btt.base.DataField.
  2. In btt.xml, find the data section and add the following code to the classtable:
    <field id="newDataField" value="package.NewDataField" />
  3. If your Transaction Editor is opened before you define the extensions, right-click any blank space in the editor and select Reload BTT Global Settings in the pop-up menu so that your changes can be applied.
To extend iColl, do the following:
  1. Create a class extending com.ibm.btt.base.IndexedCollection.
  2. In btt.xml, find the data section and add the following code to the classtable:
    <field id="newIColl" value="package.NewIColl" />
  3. If your Transaction Editor is opened before you define the extensions, right-click any blank space in the editor and select Reload BTT Global Settings in the pop-up menu so that your changes can be applied.
To extend kColl, do the following:
  1. Create a class extending com.ibm.btt.base.KyedCollection.
  2. In btt.xml, find the data section and add the following code to the classtable:
    <field id="newkColl" value="package.NewKColl" />
  3. If your Transaction Editor is opened before you define the extensions, right-click any blank space in the editor and select Reload BTT Global Settings in the pop-up menu so that your changes can be applied.
To extend the property of data, add the following code:
import com.ibm.btt.annotation.ATTR; 
@ATTR( { "newProperty1#String#REQUIRED","newProperty2#String#IMPLIED"}) 
where: