Back Forward Help: Using the Data Table wizard

To define the new class and its properties, complete the Data Table wizard form:R-18835

  1. Choose a name for the new class that is unique system-wide. Do not end the class name with a dash character.
  2. Enter a description for the new class.
  3. Identify an existing class as the parent class. Choose a class derived from the Data- base class or the General- class. B-17498
  4. Use to add a new column (property) to the data table. For each column (property) for this data table (class):
    1. Enter a name (Name) and description (Label).
    2. Select a Type for the property.
    3. Specify whether the property is Single Value or Value List. OSMAE also Value List
    4. Optionally, specify an edit validation rule (Rule-Edit-Validate rule type) in the Validation Class field, specify the number of characters for the expected and maximum display sizes (Exp. Size and Max Size), or indicate that data is required (non-blank) for this property by selecting the Required check box.
    5. If you want a particular property to be part of the key for this data table, select the Key check box. SR-6432 B-24773 multiple key parts

      A data table is required to have at a unique key. There must be at least one column that has Key selected. When you first open the Data Table wizard, the system creates a text property with a label of ID, and sets it as the unique key to the data table. You can modify this column before generating your new data table.

      The system automatically includes a column named pyLabel in your data table. This is a required column.

  5. Click  Generate   to generate the data table. The system creates the new class and associated properties and rules, and displays a summary of what was created with links to the associated rules.

From the summary, you can click the List Editor link to use the Data Table editor to add data instances (rows) for the new data table; otherwise, click  Close   to return to Developer Studio.

Class Information

Class Name

Enter the name for a new concrete class. By convention, classes used with the Data Table editor are derived by pattern inheritance from the Data-or General- top-level class.

Description

Enter a text description of this class.

Derives From Identify the parent class, typically Data- or a class derived from Data-.

Properties

Key

Select to indicate that this property is part of the definition of the unique key to the class. There must be at least one property that has Key selected.

Name

Enter a property name. Start with a letter and use only letters, digits, and the dash character. You cannot create property names that start with px, py, or pz.

Label

Enter a description of this property.

Type

Choose a property type (for example, Integer).

Mode

Choose either Single Value or Value List mode. OSMAE

Validation Class

Optional. If the allowable values of this property are defined by the key values of another class that has a single key part, identify that class here.

Exp. Size

Optional. Enter an expected width in characters for the property value.

Max Size

Optional. Enter a maximum width in characters for the property value.

Required

Click to require that this property have a non-blank value.

RuleSet

Identify the RuleSet for the class, rule property rules, and other Data Table rules.

Version

Identify the version of the RuleSet.

Notes

If you add a property (column) to a previously created data table, you must open and update the associated list rule (Rule-Obj-List rule type) to have the new property available to the Data Table editor.

UpAbout the Data Table wizard