OBJECT.
CONNECTION.
MESSAGE.
The specialized definitions are very similar to
CLASS-DEFINITIONs. The only difference is that each one provides as ordinary table attributes the attributes characteristic of every class of its type. In a CLASS-DEFINITION, these attributes appear as Initializable-system-attributes after the Direct-superior-classes are specified. The grammar for specifying their values is the same in either case.For example, the following two figures show a
CLASS-DEFINITION and an equivalent OBJECT-DEFINITION. Note the two techniques for initializing the stubs attribute.
![]() |
![]() |
Mixing Generic and Specialized Definitions
A specialized definition can inherit a class-definition, subject to the restriction that a specialized definition cannot inherit any superior class that is not of its type. For example, an OBJECT-DEFINITION can inherit a CLASS-DEFINITION only when the CLASS-DEFINITION inherits, and thus defines, an object class.
An
OBJECT-DEFINITION can define a subclass of any object class.
To create an OBJECT-DEFINITION:
KB Workspace > New Definition > class-definition > object-definition
OBJECT-DEFINITION looks like this:
![]() |
CONNECTION-DEFINITION are included in the table under Class Definition Attributes, and the general considerations listed in that section apply.
Initializable-system-attributes:
object or a subclass of object.
| Attribute | Section |
|---|---|
|
Specifying Attribute Displays
|
|
Specifying Connection Stubs
|
|
Specifying an Icon
|
A
CONNECTION-DEFINITION can define a subclass of any connection class.
To create a CONNECTION-DEFINITION:
KB Workspace > New Definition > class-definition > connection-definition
CONNECTION-DEFINITION looks like this:
![]() |
CONNECTION-DEFINITION are included in the table under Class Definition Attributes, and the general considerations listed in that section apply.
Initializable-system-attributes:
connection or a subclass of connection.
| Attribute | Section |
|---|---|
|
Defining Connection Regions
|
|
Specifying a Stub Length
|
|
Defining the Junction Block to Use
|
A
MESSAGE-DEFINITION can define a subclass of any message class.
To create a MESSAGE-DEFINITION:
KB Workspace > New Definition > class-definition > message-definition
MESSAGE-DEFINITION looks like this:
![]() |
CONNECTION-DEFINITION are included in the table under Class Definition Attributes, and the general considerations listed in that section apply.
Initializable-system-attributes:
message or a subclass of message.
| Attribute | Section |
|---|---|
|
Specifying Default Message Properties
|