The Class sheet of the Define Class dialog is displayed after you have specified your class options for a collection subclass and you then select the Membership sheet of the dialog.
To specify the membership of your collection subclass
In the list of classes or primitive types in the Membership combo box, select the class or primitive type that is to be contained in the new collection class.
All classes and primitive types in the current schema are listed in alphabetical order, to enable you to select the required class or primitive type.
If you select the
The default value is 12 for a Decimal primitive type, with a maximum length of 23. For a String or Binary primitive type, the default value is 30, with a maximum length of 15999.
When decreasing the length of String or Binary keys in dictionaries, all key values must be less than or equal to the new key length. Instances of String or Binary keys that are longer than a decreased key length are not truncated during the reorganization process, but cause the reorganization to fail and an exception to be raised.
If you select the
Click the OK button. Alternatively, click the Cancel button to abandon your selections or the Next button to define another class.
If you added a subclass to a dictionary class, you must then select the Keys sheet. Alternatively, you can select the Lifetime sheet if you want to restrict the lifetime of instances of the class and its subclasses, the Tuning sheet if you want to tune a
If you are not adding a subclass to a dictionary class, the specified class is then displayed as a subclass of the selected superclass in the Class Browser window.