Extending product function with VBA : System Architect relationships
  
System Architect relationships
This section covers all the relationships that exist between objects in the System Architect repository. In the SA Object Browser there exists the enumerated type RELATETYPE. This holds all the possible relationships you can use in your Microsoft VBA macro.
Each of the diagram, symbol, and definition classes has the method GetRelatedObjects. In order to execute this method, the user must specify what relationship exists from those listed in the table below. In addition, the encyclopedia class contains the method, GetRelationMetric. The user must specify one of relation types as a required parameter in order to execute the relation metric.
Relation types
RELATETYPE
Description
Number
RELNULL
Null
0
RELNULL2
Null
1
RELDIAGRAMCON
Diagram contains symbols
2
RELCONDIAGRAM
Symbol contained in diagrams
3
RELSHOWTO
Symbol expands to a (child) diagram
4
RELSHOWFROM
A diagram expands from a (parent) symbol
5
RELCONNSTART
A node symbol connects to the start of a line symbol
6
RELSTARTAT
The start of a line connects to a node symbol
7
RELCONNEND
A node symbol connects to the end of a line
8
RELENDAT
The end of a line connects to a node symbol
9
RELFLAGSENDS
A module connects to and sends data via a flag symbol
10
RELFLAGSTR
A flag symbol connects to and receives data from a module
11
RELFLAGRECVS
A module connects to and receives data from a flag symbol
12
RELFLAGEND
A flag symbol connects to and provides data to a module
13
RELDFEELEMENT
An expression uses data (elements or structures)
14
RELELEMENTDFE
Data (elements or structures) are used by an expression
15
RELEXPLAINEDBY
A symbol is explained by a comment.
16
RELEXPLAINS
A comment explains a symbol.
17
RELPARTFULFILLS
A symbol addresses a requirement, test plan, etc.
18
RELPARTFULFILLEDBY
A requirement, test plan, and so forth is addressed by a symbol.
19
RELCOMPFULFILLS
A symbol is defined by a definition.
20
RELDEFINEDBY
A symbol is defined by a definition.
20
RELCOMPFULFILLEDBY
A definition defines a symbol.
21
RELDEFINES
A definition defines a symbol.
21
RELISQUALIFIEDBY
A line or node symbol is qualified by a flag symbol.
22
RELQUALIFIES
A flag symbol qualifies a line symbol (or node symbol).
23
RELISA
A definition is an instance of a definition.
24
RELINSTBY
A definition is instantiated by a definition.
25
RELIDENTIFIES
A definition identifies another definition.
26
RELKEYEDBY
A definition is identified by a definition.
27
RELEMBEDS
A node symbol wholly embeds a symbol.
28
RELISEMBEDDEDBY
A node symbol is wholly embedded by a node symbol.
29
RELISPARENTIN
A definition is a parent of a definition in a parent child relationship.
30
RELHASPARENTOF
A definition has a parent definition in a parent child relationship.
31
RELISCHILDIN
A definition is a child of a definition in a parent child relationship.
32
RELHASCHILDOF
A definition has a child definition in a parent child relationship.
33
RELCOMPRISES
Definition comprises a definition.
34
RELISPARTOF
A definition is part of a definition.
35
RELISCATZNOF
Categorization definition categorizes a generic entity definition.
36
RELHASCATZN
Generic entity definition has categorization of a categorization definition.
37
RELISCATGRYIN
Entity definition is a category in a categorization.
38
RELHASCATGRY0F
Categorization has a category of an entity definition.
39
RELISCHILDOF
Symbol is the child of another symbol on a hierarchical diagram only.
40
RELISPARENTOF
Symbol is the parent of another symbol on a hierarchical diagram only.
41
RELISFIRSTCHILDOF
Symbol is the first child of another symbol (for example, the left-most) on a hierarchical diagram only.
42
RELHASFIRSTCHILD
Symbol has another symbol as its first child on a hierarchical diagram only.
43
RELISNEXTSIBLING
Symbol is the next sibling of another sibling on a hierarchical diagram only.
44
RELISPRIORSIBLING
Symbol is the prior sibling of another symbol on a hierarchical diagram only.
45
RELISINDEXOF
Data Model - Access Path or Index of Entity or Table.
46
RELISINDEXEDBY
A definition is indexed by another definition.
47
RELORIGINATESFROM
A definition originated from a definition.
48
RELISORIGINOF
A definition is origin of a definition.
49
RELISBASEDON
A definition is based on a definition (usually a data element).
50
RELISBASISFOR
A definition is basis for derived definition.
51
RELISLINKEDTO
A symbol is linked to another symbol.
52
RELISLINKEDWITH
A symbol is linked with another symbol.
53
RELUSER AND RELUSERCOMPLEMENT
User and user complement.
54 to 83
RELPOPKIN AND RELPOPKINCOMPLEMENT
UNICOM System, Inc. and UNICOM System, Inc. complement.
84 to 111
RELREPRESENTS
Explorer diagram symbol represents an object.
112
RELISPRESENTEDBY
Object is represented by an Explorer diagram symbol.
113
RELPOPKIN AND RELPOPKINCOMPLEMENT
IBM and IBM complement.
114 to 125
RELUSER AND RELUSERCOMPLEMENT
User and user complement.
126 to 135
RELLINKS TO
Object is linked to object in DOORS.
136
RELISLINKEDFROM
Object is linked from object in DOORS.
137
RELISTOBESENTTO
Object is to be sent to DOORS module.
138
RELISTORECEIVE
DOORS module is to receive object.
139
RELHASBEENSENTTO
Object has been sent to DOORS module.
140
RELHASRECEIVED
DOORS module has received object.
141
RELCONTINPART and RELTYPE_CONTINPART
Object is contained in partition.
142
RELPARTCONT and RELTYPE_PARTCONT
Partition contains object.
143
RELPOPKIN21 and RELTYPE_POPKIN21
User and user complement.
144 to 183
RELVIEWCONT and RELTYPE_VIEWCONT
View contains object.
184
RELCONTINVIEW and RELTYPE_CONTINVIEW
Object is contained in view.
185
RELCOMPOSITION1 and RELTYPE_COMPOSITION
Composition 1.
186
RELCOMPOSITION1COMPLEMENT and RELTYPE_COMPOSITION1COMPLEMENT
Composition 1 complement.
187
See also
Introduction to extending SA with VBA