Download presentation
Presentation is loading. Please wait.
2
1 From UML (Fondue) to COOPN An iterative approach applying MDA techniques
3
Luis Pedro2 Outline Motivation and general approach Some background Fondue Specification The MDA approach Some steps towards the transformation Relationship between Fondue “components” and COOPN “components” Tools, tools and another process diagram Status report
4
Luis Pedro3 Some Background Fondue What it provides Concept Model: Defines the static structure of the information in the system Behavior Model: Defines the Input and Output communication of the system Uses UML for notation (parts of different UML diagrams Concept Model Class Diagram Environment Model Collaboration Diagram Protocol Model State Diagram Operation Model (OCL) Describes operations by operation schemas which specify operations by pre- and post conditions using OCL The Fondue process can be outlined by a UML class diagram showing usage dependencies between the models
5
Luis Pedro4 Some Backgroud (2) Fondue - ebanking example Environment Model (messages from the user) > eBanking User loginUserName loginPasswd loginChallenge createPayment giveDetailsBeneficiary modifyPaiment deletePayment
6
Luis Pedro5 Some Background (3) Fondue - ebanking example Environment Model (messages from the system) > eBanking User sendChallengeNumber errorUserName errorPasswd errorChallenge errorUserBlocked errorPaymentCreation errorPaymentModification
7
Luis Pedro6 Some Background (4) Fondue - ebanking example Concept Model > eBanking User userName : String Passwd : Passwd Name : String loginTentativeNumber : Int userState: bool eUser id : CardId expirationDate: Date ChallengeCard position : ChallengeId anserPosition: String ChallengeCardElement position 1 table 0.. 1 1 0.. *0.. 1 > HasSessionId
8
Luis Pedro7 Some Background (5) MDA - Model Driven Architecture How models defined in one language can be transformed into models in other languages Language L 1 Transformation tool Transformation definition Language L 2 Is written in Is used by Is written in
9
Luis Pedro8 Some steps towards transformation Describe CO-OPN as a MOF Model Use UML notation to define CO-OPN Meta Model Get XMI[UML] Convert XMI[UML] to XMI[MOF] Generate JMI from XMI[MOF] Use generated JMI to add and browse CO- OPN repositories
10
Luis Pedro9 Some steps towards transformation Fondue is already described as a MOF Model
11
Luis Pedro10 Some steps towards transformation Iteration describing COOPN in early stages
12
Luis Pedro11 Some steps towards transformation Environment model 1 CO-OPN Context Operations methods of the context Output messages Gates input output Directly from the Metamodels
13
Luis Pedro12 Some steps towards transformation Concept Model 1 Class 1 CO-OPN Class Name Name Attributes Places Access methods: put, get, read Method put_a(x):: a y -> a x; Gate get_a(x):: a x -> a x; Gate read_a(x)::a x:: -> a x; Associations as classes With source and target values Instantiation of AADT Bag For each class put get Directly from the Metamodels
14
Luis Pedro13 Some steps towards transformation Concept Model 1 Class 1 CO-OPN Class Name Name Attributes Places Access methods: put, get, read Method put_a(x):: a y -> a x; Gate get_a(x):: a x -> a x; Gate read_a(x)::a x:: -> a x; put get Directly from the Metamodels
15
Luis Pedro14 Some steps towards transformation Operation Model Transform Fondue pre and post-conditions using OCL Operation Schemas (synchronization rules, algebraic equations) No standard approach available! Parse OCL and define clear transformation rules
16
Luis Pedro15 Tools, tools and another process diagram Create(Draw) COOPN Meta Model MagicDraw Export as XMI[UML] MagicDraw Convert XMI[UML] to XMI[MOF] Uml2mof MDR-StandAlone package: jmi.jar; jmiutils.jar; mdrapi.jar; mof.jar; nbmdr.jar; openide-util.jar UML Standard definition: UML_Standard_Profile.xml MagicDraw UML 9.0 Netbeans XMI Writer 1.0
17
Luis Pedro16 Tools, tools and another process diagram Create Fondue Model Together + Fondue pluggin Use JMI to load both Fondue and COOPN meta repositories Any Java IDE (e.g. IDEA) Add rules to perform transformation
18
Luis Pedro17 Tools, tools and another process diagram XMI [FondueMM ] FondueMM XML[MOF] Fondue Model COOPN Model XMI [COOPNMM ] COOPN XML[MOF] Load by MDR Parse Using JMI Transformation tool Language L 1 Transformation definition Language L 2
19
Luis Pedro18 Status report All set of SW in place COOPN Meta Model UML sketches XML generation Fondue in Mac OS X Sample SW to browse Fondue modules
20
Luis Pedro19 Task list Prepare some documentation Continue the COOPN Meta Model Proof of concept: small application to browse a COOPN model using MetaModel COOPN builder module Formalization of transformation rules
21
Luis Pedro20 The end Questions... Comments
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.