Processing Object Types 

Prerequisites

To work through the following procedures, you must switch to the Business Object Builder and enter the ID of the object type to be processed in the field Object/Interface type on the Business Object Builder: Initial Screen.

Procedure

Change supertype

To change the supertype of the object type, choose Object type ® Inheritance ® Change supertype.

When you change the supertype, all the methods, attributes and events inherited from the supertype are also changed.

Check

To check that the implementation program with the attribute and method accesses is syntactically correct and complete with regard to the object type definition, select .

The result of the check is displayed in the status bar.

Change release status

To change the release status of the object type, choose Object type ® Change release status to ® ....

To change the release status of an object type component, proceed as follows:

  1. Open the object type in change mode.
  2. Select the object type component.
  3. Choose Edit ® Change release status ® Object type component ® ....

Generate

To generate an object type and make it available for the runtime system, select .

The system can only generate an object type if none of the superordinate object types contain errors. If these object types have not yet been generated, they are generated as well. When an object type is generated, all subtypes are generated as well provided they do not contain any errors.

Test/Execute

  1. To test whether the implementation of the methods and attributes of the object type was successful, select Test.
  2. If objects already exist for the object type, select an object for testing the instance-dependent attributes and methods.
  3. This displays the screen for testing an object type.

    If no objects exist yet for the object type, only the attributes and methods that are defined as instance-independent are offered for testing . To test the attributes and methods that operate on an object as well, select Create instance. You are then asked to enter the key fields of an object of the type to be executed in order to specify it.

  4. A screen with the attributes of the object and their current values is displayed. You execute the methods on this object by double-clicking on the appropriate line.

Print

To print the definition of the object type, select .

Copy

  1. To copy the object type, select .
  2. The Copy object type dialog box appears.

  3. Enter the data required and decide whether the documentation is to be copied as well.

The new object type must be assigned to a development class or saved as a local object. The new object type hence does not necessarily belong to the same application component as the original object type.

If the original object type was a subtype, the copy is also a subtype of the same supertype.

Rename

To rename the object type, select . Specify a new ID for the object type and/or the program.

Reassign

To assign the object type to a new development class, select and enter a new development class.

Delete

To delete the object type, select .

Along with the object type definition, you can also delete the program containing the implementation.

Documentation

You can create documentation for the object type. Proceed as follows:

  1. Open the object type in change mode.
  2. Select the object type ID.
  3. Select .