a4 wsn hot
TRANSCRIPT
What ‘s A4WSN ?
As you know, me4awsn is composed of
several meta-models:
O SAML
O NODEML
O ENVML
O WEAVING MetaModels
MAPPING between
SA and NODE
DEPLOYMENT between
Node and Env
What ‘s A4WSN ?
What if i want to manage differents models together, in order to have a unique model rapresenting the whole architecture ?
I have different models conform to each related metamodels (e.g. a SA model is conform SAML MetaModel) …
… In this case, i haven’t a cleanly unique view of the whole architecture
What’s A4WSN ? Solution
Our solution is to combine all the
metamodels previously seen, by defining a
new metamodel:
The A4WSN MetaModel
A4WSN: Metamodel
O The specification parts allows to refer to
the various subpackages, giving an
organization of the whole architecture
A4WSN Metamodel
O Ok, but now how can i use it ?
O Have i to rewrite a new model, conformant
to the A4WSN metamodel?
.. Obviously not!
O We have defined an ATL
transformation, that aims to integrate the 5
artifacts
A4WSN - HOT
O How to write this transformation?
By hands .. No
O How to solve it? A solution can be an
Higher Order Transformation
To big !
(Co)Evolution Problem !
A4WSN HOT – In DetailO For the first three metamodels, we have
generated rules the simply map elements form
the source metamodel toward the A4WSN
metamodels
Figure : The ComponentRule of Component in SAML
A4WSN HOT – In Detail
O In this case, we’ve to resolve weaving
reference with ‘real’ pointer
O You can find a different solution for the
collection case