Java Reference
In-Depth Information
Table 4-15
RequirementGroup Link Mapping
Element
Property
Value
Mapping
Link Mapping
Target Feature
RequirementGroup.children : RequirementGroup
Diagram Link
Connection GroupChild
Tool
Creation Tool Child Group
Our
Requirement
node mapping
does
illustrate the “phantom” node con-
cept. In this case,
Requirement
elements added to the diagram surface are not
immediately placed in a valid containment reference; the
Canvas
is mapped to
the
Model
class, which does not hold
Requirement
s directly. A
Requirement
can be contained only in a
RequirementGroup
or as a child of another
Requirement
. So we specify the
Top Node Reference
with no
Containment
Feature
, but we create two links that specify each of the two valid contain-
ments, as seen in Table 4-16.
Table 4-16
Requirement Node Mapping
Element
Property
Value
Mapping
Top Node Reference
Containment Feature
Intentionally not set
Node Mapping
Element
Requirement
Diagram Node
Node Requirement (Circle)
Tool
Creation Tool Requirement
Feature Seq Initializer
Element Class
Requirement
Reference New Element Spec
Feature
Requirement.version : Version
Feature Seq Initializer
Element Class
Version
Feature Value Spec
Feature
Version.major : EInt
Value Expression
Body
1
Language
ocl
Feature Label Mapping
Diagram Label
Diagram Label RequirementTitle
Features
Requirement.id : EString
(continues)
Search WWH ::
Custom Search