HP System Dictionary/XL SDMAIN Reference Manual (32256-90001)

4-62
classes with a name starting with the characters "HP" .
Open Mode Customization
Scope: DA scope or any scope with extend capability. The scope with which the dictionary is
open is the owner of the relationship class.
Example
The following example creates the new relationship class generates.
>CREATE RELATIONSHIP-CLASS generates.
>
CREATE RELATIONSHIP-TYPE
Creates a new relationship type.
Syntax
C[REATE] R[ELATIONSHIP-]T[YPE] entity-type-name1
,entity-type-name2
[,entity-type-name3 ]
[,entity-type-name4 ]
[,entity-type-name5 ]
[,entity-type-name6 ]
;R[ELATIONSHIP-]C[LASS] = relation-class-name
.
Parameters
entity-type-name(N) Name of the entity type that establishes the relationship type.
relation-class-name Name of the relationship class.
Description
Every relationship type has the following attributes associated with it after it is created:
scope-owner scope-changed
date-created sensitivity
date-changed relationship-position
These attributes, called special attributes, are associated by default and can never be deleted from the
relationship type's attribute list.
A minimum of two entity types and a maximum of six entity types can be related in a relationship type.
The order of the entity types is important when creating a new relationship type. When only two entity
types are involved, the first entity type is the subject (parent) and the second is the object (child). For
example, if the first entity type is FILE, the second is ELEMENT, and the relationship class is contains,
then the relationship type is interpreted as FILE contains ELEMENT.