Java Reference
In-Depth Information
Table 4-36
DNC Canvas Mapping
Element
Property
Value
Mapping
Canvas Mapping
Domain Model
dnc
Element
Package
→
PackageableElement
Palette
Palette DNC Palette
Diagram Canvas
Canvas dnc
We'll return to our
Association
link mapping later. At this point, we enter
a new
Top Node Reference
element to define the mapping for our moment
interval archetype. Complete the mapping for this node according to Table 4-37.
We'll use this as the basis for all archetype mappings and use the
Referenced
Child
property to avoid unnecessary duplication. This enables us to point to
another node mapping that is already defined, rather than create another fully
defined node mapping.
Table 4-37
Moment-Interval Archetype Mapping
Element
Property
Value
Mapping
Top Node Reference
Containment Feature
Package.contents : PackageableElement
Node Mapping
Element
MomentInterval
→
Archetype
Diagram Node
Node Archetype (Archetype Figure)
Tool
Creation Tool Moment-Interval
Feature Label Mapping
Diagram Label
Diagram Label ArchetypeName
Features
NamedElement.name : String
Feature Label Mapping
Diagram label
Diagram Label Stereotype
Features
Archetype.description : String
Read Only
True
View Pattern
«moment-interval» *
Child Reference
Compartment
Compartment Mapping <Attributes>
Containment Feature
Class.features : Feature
(continues)
Search WWH ::
Custom Search