Dictionary (automation interface)
This is the container object for all Dictionary Items. This is a collection object. It can be filtered into sub-collections of items of a particular type, a particular name or of a particular name and type, for example:
Set objAllClasses = Dictionary.Items("Class") '[All items of type Class]
Set objAllItemsStart = Dictionary.Items("", "Start") '[All items named Start]
Set objAllOperationsStart = Dictionary.Items("Operation", "Start") '[All Operations named Start]
These sub-collections are collection objects and are always Read Only.
It is possible to get a limited list of items by using wildcards, where "?" looks for a single character and "*" looks for multiple characters. For example:
Set obj Classes = Dictionary.Items("Class", "class*")
ATTRIBUTES:
In addition to the common attributes
Reset Template
Used to reset the template cache. Not usually needed unless you have manually modified the template.txt file. Example:
Dictionary.Property ("Reset Template")="true"
ASSOCIATIONS:
In addition to the common associations
A Dictionary object has a relationship with the following dictionary items. In each case the Multiplicity is 0+, and the access is read/write. Note that the associations beginning with 'unscoped' link only those items that are scoped directly to the Model.
Actor
Board
Change
Class - see UML Class
ClassLike (Classes, Data Types, Interfaces and Signals) - ClassLike returns the items that Class returned in Studio version 7.3 or earlier.
Column
Disk
Data Type - see UML Data Type
Drop
Event
Index
Interface - see UML Interface
Memory
Pool
Role
Script
Signal - see UML Signal
Table
Task
UML Class (Class items, which are based on Class objects)
UML Data Type (Data Type items, which are based on Class objects)
UML Interface (Interface items, which are based on Class objects)
UML Signal (Signal items, which are based on Class objects)
Profile Package
A collection of Packages that are set up as profile Packages, that is, each Package has its Profile Package property set to TRUE.
Multiplicity is 0+, access is read/write.
Unscoped Item
In addition, the Dictionary object has the Unscoped Item association, which is a collection of all items that are scoped directly to the Model.
Multiplicity is 0+, access is read-only.