Information Technology Reference
In-Depth Information
Figure 4.17. Example of a decision model to create
Smart-Home systems
Our decision models also allows us to capture the
different transformation stages included in a product line
derivation process. For our application example, these are
four transformation stages, from domain models to obtaining
Java source code. This type of composition, which composes
transformation rules using the output model of a rule
as the input model of another rule is called external
composition [WAG 08a]. Figure 4.18 presents the part of our
decision model capturing the external composition required for
deriving Smart-Home systems given our four transformation
stages. We create this model using the decision model editor
which we will present in Chapter 6. In section 5.4, we discuss
limitations of our mechanism to derive products based on
decision models.
The decision metamodel. Figure 4.19 presents the decision
metamodel we have created to create decision models. A
model transformation Workflow contains a sequence of
TransformationPrograms .A TransformationProgram is
either a Model2Model or a Model2Text transformation. Each
TransformationProgram uses a set of Transformation
Rules and a set of Aspects to perform its process
of transformation. As introduced before, we classify
TransformationRules in Base and Specific ones.
An Aspect specifies its advice , which is a Specific
transformation rule, and its join point, which in turn is a Base
Search WWH ::




Custom Search