Information Technology Reference
In-Depth Information
6.4.2.3. Metamodels and feature models for the SPL of Smart-
Home systems
In section [4.5] we introduced in detail the metamodels and
feature models for our application example of the SPL of the
Smart-Home systems (see from Figure 4.4 to Figure 4.12).
Figure 6.7 presents the feature models created with the
Feature Models Creator for this application example. The
left side presents the facilities feature model and the right
side describes the architecture feature model with classic tree
views.
Figure 6.7. Feature models for the SPL of Smart-Home systems
6.4.3. Constraint models creation
This section presents the Constraint Model Creator and its
use on the Smart-Home example.
6.4.3.1. The constraint models creator
We built an Eclipse plug-in to create constraint models,
the Constraint Models Creator . Figure 6.8 presents the
view associated with the Constraint Models Creator. The
figure shows the creation of constraints between the domain
metamodel and the facilities feature model from the SPL of our
Smart-Home systems. Using our Constraint Models Creator,
product line architects can load a metamodel and a feature
model, create and delete constraints, clean up the workspace
andthenreloadanewmetamodelandanewfeaturemodel,and
save a constraint model.The Constraint Models Creator allows
for capturing the minimum and maximum cardinality that
Search WWH ::




Custom Search