Creating types

  1. Double click the file type.transaction to open it with Type Editor. If type.transaction does not exist, use the Transaction Editor Importer to import the file type.xml to create type.transaction.
  2. Right-click anywhere in the Context Editor area, and then select New child. A sub menu appears.
  3. Choose a type in the sub menu to create it. The options contains Field type, KColl Type and IColl Type.
  4. In the Detailed Information section, you can modify the properties of the type:
    • In the Id field, enter the value of the Id attribute.
  5. Right-click the type created in step 4, a menu appears. Select New Child, a sub menu appears. The sub menu contains descriptor option and dataDescriptor option.
    1. To create a descriptor, click descriptor. The Type Descriptor Creation Dialog appears. You can either choose type descriptor from global BTT definition or from local class path.
      1. To create a type descriptor from global BTT definition, select Choose Type Descriptor from global BTT definition, then click Browse. The Select Global Type Descriptor window appears. Then select one of the defined type descriptor and click OK. For more information about how to define a global type descriptor, see.
      2. To create a type descriptor from local class path, select Choose Type Descriptor from local classpath, then click Browse. The Select Class window appears. Then select a class and click OK.
      3. Click OK.
      4. Input a id in *Id field.
    2. To create a dataDescriptor, click dataDescriptor. Then enter a reference type in RefType* field. You can reference other types by entering values in this field.
    Note: data descriptor or descriptor of DataField type do not have value for refType this attribute.
  6. Create converter and validator for descriptors created in step 5.
    1. To create a converter, right-click the descriptor or and select New Child->Converter.
      1. To create a type descriptor from global BTT definition, select Choose Type Converter from global BTT definition, then click Browse. The Select Global Type Converter window appears. Then select one of the defined type converter and click OK.
      2. To create a type descriptor from local class path, select Choose Type Converter from local classpath, then click Browse. The Select Class window appears. Then select a class and click OK.
      3. Click OK.
      4. Enter a value for *ConvTypes field. The possible values are:
        • Default
        • Serialization
        • Output
        • XML
        • Host
    2. To create a validator, right-click the descriptor and select New Child->Validator.
      1. To create a type descriptor from global BTT definition, select Choose Type Validator from global BTT definition, then click Browse. The Select Global Type Validator window appears. Then select one of the defined type validator and click OK.
      2. To create a type descriptor from local class path, select Choose Validator from local classpath, then click Browse. The Select Class window appears. Then select a class and click OK.
      3. Click OK.
  7. A new type is created.