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

3- 28
Dictionary Commands" .
| | |
| RESTRUCTURE | |
| | |
---------------------------------------------------------------------------------------------
* Where | means OR.
The following is a list of the dictionary structure commands and a description of each.
ADD Associates attributes to entity types or relationship types. The attributes and the entity
types or relationship types must already exist in the dictionary.
CREATE Creates new entity types, relationship classes, relationship types, and attributes.
DELETE Deletes entity types, relationship classes, relationship types, and attributes.
MODIFY Changes the characteristics of entity types, relationship classes, relationship types, re-
lationship type-attribute pairs, entity type-attribute pairs, and attributes.
REMOVE Disassociatesattributesfrom entitytypesorrelationship types.TheoppositeoftheADD
command.
RENAME Renames an entity type, a relationship class, or an attribute.
RESTRUCTURE Restructures adictionary, incorporating any structurechanges that you havemade. Re-
structuring is done automatically when the EXIT command is issued, when you change
the open or name mode, or when you open a new dictionary.
Example
The following example provides an illustration of how to open the dictionary, create a new attribute and
Table 3: Dictionary Structure Commands and Subcommands
COMMAND SUBCOMMAND *
ADD ENTITY-TYPE-ATTRIBUTE | RELATIONSHIP-TYPE-ATTRIBUTE
CREATE ATTRIBUTE | ENTITY-TYPE | RELATIONSHIP-CLASS | RELATIONSHIP-TYPE
DELETE ATTRIBUTE | ENTITY-TYPE | RELATIONSHIP-CLASS | RELATIONSHIP-TYPE
MODIFY ATTRIBUTE | ENTITY-TYPE | ENTITY-TYPE-ATTRIBUTE | RELATIONSHIP-CLASS |
RELATIONSHIP-TYPE | RELATIONSHIP-TYPE-ATTRIBUTE
REMOVE ENTITY-TYPE-ATTRIBUTE | RELATIONSHIP-TYPE-ATTRIBUTE
RENAME ATTRIBUTE | ENTITY-TYPE | RELATIONSHIP-CLASS
RESTRUC-
TURE