Step 3. Configure Class Attributes

Class attribute configuration overview.

Class attribute configuration steps.

Class Attribute configuration overview

There are two types of class attributes, CIMPLICITY Attributes and Custom Attributes.

A class developer can enter values for these attributes, which will serve as default values. The object designer can, in some instances, override the default value.

Class attributes can be used to drive the way that objects are created or to store information.

 Note: CIMPLICITY also provides numeric data item attributes that can be used for numeric expressions.

When you create an attribute, you can specify the:

Instantiation Type for each attribute. Your specification controls an object designer's options when creating an object. If the attribute is:

Required

A user must provide a value for this attribute. Failure to provide the value will cause object instantiation to fail.

Optional

The attribute has a default value in the class, which the user can override for the object being created. The attribute does not have to be explicitly specified to create the object.

Static

The user cannot change the value.

All objects of this class will have the same value for this attribute.

The value does not display in the Object dialog box. during object configuration. All objects in this class have the same value for this attribute.

Static Display

The user cannot change the value.

All objects of this class will have the same value for this attribute.

The value displays as a read-only field in the Object dialog box.

Tabs and layout for the Object dialog box in which a object designer enters the information.

Class attributes include:

CIMPLICITY class attributes, which display in the Attributes tab of the Class dialog box. CIMPLICITY class attributes can be edited, duplicated, or deleted as needed to configure your class.

Custom attributes that you configure to meet class requirements.

Class attributes configuration steps

Step 3.1

Review standard CIMPLICITY class attributes.

Step 3.2

Create a custom attribute.

Step 3.3

Configure a class attribute.

Step 3.4

Configure the attribute's field for the Object dialog box.

More information

Class configuration steps.