Difference between revisions of "XCSG:ModelElement"
From AtlasWiki
(→Specification: switching to attribute template) |
(→Specification: switching to node template) |
||
Line 6: | Line 6: | ||
Model elements may also be stereotyped. | Model elements may also be stereotyped. | ||
== Specification == | == Specification == | ||
− | {{ | + | {{ Node |
| description = An abstraction drawn from the system being modeled. | | description = An abstraction drawn from the system being modeled. | ||
}} | }} | ||
Line 44: | Line 44: | ||
| 0 .. 1 | | 0 .. 1 | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
{| class="atlaswikitable" style="width:100%" | {| class="atlaswikitable" style="width:100%" | ||
Line 59: | Line 55: | ||
| 0 .. 1 | | 0 .. 1 | ||
|} | |} | ||
− | |||
− | |||
− | |||
− |
Revision as of 12:14, 7 April 2014
The ModelElement kind, represents an abstraction drawn from the system being modeled. Model elements have names and may be associated with a namespace. A distinct id identifies the element in the graph. It may be composed of the element’s name and a number, or take any other form that ensures the id is unique within the definition of the overall graph that contains the element.
Documentation may optionally be associated with model elements, representing comments or other descriptions.
Model elements may also be stereotyped.
Specification
Metaclass | ModelElement |
---|---|
Description | An abstraction drawn from the system being modeled. |
Direct Subkinds | Edge, Node |
---|
Attribute | Name |
---|---|
Description | The name of the element within its Namespace |
Type | String |
Required | Yes |
Attribute | ID |
---|---|
Description | The ID that uniquely identifies the model element. |
Type | Path |
Required | Yes |
Enumeration | Visibility |
---|---|
Description | The visibility of the element in the namespace (if any) |
Required | No |
In Edge | Owns |
---|---|
Description | The namespace to which the element belongs (if any) |
Multiplicity | 0 .. 1 |
Out Edge | Documentation |
---|---|
Description | An optional comment, description, or other explanation of the element |
Multiplicity | 0 .. 1 |