Diagram (automation interface)
This is an item in the Diagrams collection object. A diagram gives a graphical representation of a model as follows:
• Activity Diagram (UML Activity Diagram) - Shows the behavior of an Activity.
• Class Diagram - Shows relationships, attributes and operations in the Class Model.
• Object Collaboration Diagram (Communication Diagram) - Shows the flow of messages between a configuration of objects and links in the Interaction Model.
• Concurrency Diagram - Shows the interaction between tasks and classes in the Interaction Model.
• Constraints Diagram- Shows the categorization of constraints in the Constraints Model.
• General Flow Diagram (Activity Diagram) - Shows actions and the effect of those actions on items in the model.
• General Graphics Diagram - A general graphics editor to draw nodes and flows.
• Object Sequence Diagram (Sequence Diagram) - Shows the interaction of objects in response to a given scenario in the Interaction Model.
• Profile Diagram - Shows the relationships between Meta Model Items, Stereotypes and Tag Definitions.
• State Diagram - Shows the dynamic behavior of a class in the Dynamic Model.
• Structure Diagram (Composite Structure Diagram) - Shows the structure of classes in the Class Model.
• System Architecture - Shows the physical structure of the system in the System Architecture Model.
• Table Relationships Diagram - Shows relationships, columns and tables in the Data Model.
• Text Diagram - A general text editor.
• Use Case Diagram- Shows the possible ways in which a system can be used in the Use Case Model.
• Variant Diagram - Shows variability items and relationships.
All these diagrams have the same attributes and associations, as follows:
ATTRIBUTES:
Description
Description of the diagram.
Access is read/write.
Full Type
A string returning the full type of the diagram. In Modeler, this is always the same as Type.
Access is read-only.
Last Author
A string - this is the last user to alter the diagram.
Access is read-only.
Last Change Date
A string - this is the date of the last change, using local time.
Access is read-only.
Last Change Date UTC
The date the object was last updated, using Coordinated Universal Time (UTC).
Access is read-only.
Meta File
A string recording the path of a temporary Windows Meta File that is created for the diagram.
The Windows Meta File is created when you access this attribute. The file is created in the Documents and Settings\<your user name>\Local Settings\Temp folder. The filename has a TMP extension and is prefixed with WMF, such as, WMF87F.tmp.
It is the caller's responsibility to delete the produced file.
Access is read-only.
Orientation
String representing orientation of page when printed.
Access is read/write.
Pagecount
String representing number of pages diagram is to be printed on.
Access is read/write.
Page Ref
A textual reference to the diagram, max length 15.
Access is read/write.
Title
This is a string, Max Length 50, that represents a descriptive title for the diagram.
Access is read/write.
Type
This is the class name of the diagram.
Access is read-only.
Text File
For Text Documents only. This contains the text input through the text editor.
Access is read-only.
ASSOCIATIONS:
Category or Package
Relationship to scoping Package.
Multiplicity is 0-1, access is read/write.
Parent Dictionary Item
An item from which this diagram is decomposed.
Multiplicity is 0-1, access is read/write.