Your SlideShare is downloading. ×
0
A4WSN - HOT
1° Part
What ‘s A4WSN ?
As you know, me4awsn is composed of
several meta-models:
O SAML
O NODEML
O ENVML
O WEAVING MetaModels
MAPP...
ME4AWSN MetaModels
ME4AWSN Weaving MetaModels
What ‘s A4WSN ?
What if i want to manage differents models
together, in order to have a unique model
rapresenting the whol...
What’s A4WSN ? Solution
Our solution is to combine all the
metamodels previously seen, by defining a
new metamodel:
The A4...
A4WSN: Metamodel
O The 3 metamodels remain the same (are
simply included as sub packages)
A4WSN: Metamodel
O The weaving models are modified: they
don’t include the Weaving Model part
A4WSN: Metamodel
O The specification parts allows to refer to
the various subpackages, giving an
organization of the whole...
A4WSN Metamodel
O Ok, but now how can i use it ?
O Have i to rewrite a new model, conformant
to the A4WSN metamodel?
.. Ob...
A4WSN Transformation
wsnmeTOa4wsn.atl
A4WSN - HOT
O How to write this transformation?
By hands .. No
O How to solve it? A solution can be an
Higher Order Transf...
A4WSN-Hot.atl
SAML
ENVML
NODEML
MAPPING
DEPLOYMENT
Transformation.ecore
output
Using the AMMA platform
Extracting Model
On the Transformation.ecore we select
A4WSN - InAction
O Now we can play the video showing how
to interact with the tool
VIDEO
A4WSN HOT – In Detail
O For the first three metamodels, we have
generated rules the simply map elements form
the source me...
A4WSN HOT – In Detail
O In case of weaving models, we’ve some
problems
A4WSN HOT – In Detail
O In the weaving models we don’t have the
type of referred element
 Annotation
A4WSN HOT – In Detail
O In this case, we’ve to resolve weaving
reference with ‘real’ pointer
O You can find a different so...
The End
Thanks for your
attention

Upcoming SlideShare
Loading in...5
×

A4 wsn hot

97

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
97
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "A4 wsn hot"

  1. 1. A4WSN - HOT 1° Part
  2. 2. 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
  3. 3. ME4AWSN MetaModels
  4. 4. ME4AWSN Weaving MetaModels
  5. 5. 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
  6. 6. What’s A4WSN ? Solution Our solution is to combine all the metamodels previously seen, by defining a new metamodel: The A4WSN MetaModel
  7. 7. A4WSN: Metamodel O The 3 metamodels remain the same (are simply included as sub packages)
  8. 8. A4WSN: Metamodel O The weaving models are modified: they don’t include the Weaving Model part
  9. 9. A4WSN: Metamodel O The specification parts allows to refer to the various subpackages, giving an organization of the whole architecture
  10. 10. 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
  11. 11. A4WSN Transformation wsnmeTOa4wsn.atl
  12. 12. 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 !
  13. 13. A4WSN-Hot.atl SAML ENVML NODEML MAPPING DEPLOYMENT Transformation.ecore output
  14. 14. Using the AMMA platform Extracting Model On the Transformation.ecore we select
  15. 15. A4WSN - InAction O Now we can play the video showing how to interact with the tool VIDEO
  16. 16. A4WSN HOT – In Detail O 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
  17. 17. A4WSN HOT – In Detail O In case of weaving models, we’ve some problems
  18. 18. A4WSN HOT – In Detail O In the weaving models we don’t have the type of referred element  Annotation
  19. 19. 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
  20. 20. The End Thanks for your attention 
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×