Extending formatter and its property

To extend constant decorator, do the following:
  1. Create a class extending com.ibm.btt.base.FormatDecorator.
  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 Field formatter, such as fDate,fFloat,fInteger,fString,PackedFormat, and NumericStringFormat, do the following:
  1. Create a class extending com.ibm.btt.base.FieldFormat.
  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 record formatter, such as record and fXML, do the following:
  1. Create a class extending com.ibm.btt.base.RecordFormat.
  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 object formatter, such as fObject, do the following:
  1. Create a class extending com.ibm.btt.base.ObjectFormat.
  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 iCoof, do the following:
  1. Create a class extending com.ibm.btt.base.IndexedCollectionFormat.
  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 formatter, add the following code:
import com.ibm.btt.annotation.ATTR; 
@ATTR( { "newProperty1#String#REQUIRED","newProperty2#String#IMPLIED"}) 
where: