XCSG:ModelElement

From AtlasWiki
Revision as of 10:55, 11 April 2014 by TheodoreMurdock (Talk | contribs) (TheodoreMurdock moved page ModelElement to XCSG:ModelElement)

Jump to: navigation, search

An XCSG ModelElement is either a Node or Edge in an XCSG graph.

All XCSG model elements have a source correspondence attribute, which indicates their origin.

XCSG model elements also have an id attribute, which uniquely identifies that element; the id attribute should enable those familiar with the analyzer which produced that node or edge to determine whether the graph already contains a node or edge representing a particular entity or relationship. No two model elements with equal IDs can exist in the same graph, to ensure each modeled element or relationship has a single representation in the graph.

Specification

Metaclass ModelElement
Description An abstraction drawn from the system being modeled.
Direct Subkinds Edge, Node
Attribute sourceCorrespondence
Description An object describing the origin of the element, such as source file and offset range.
Required Yes
Attribute id
Description The ID that uniquely identifies the model element.
Required Yes