1 / 9

Specification of UML Model Transformations

Specification of UML Model Transformations. PhD Student : Shekoufeh Kolahdouz Rahimi Shekoufeh.kolahdouzrahimi@kcl.ac.uk Supervisors : Dr Kevin Lano , Dr Iman Hafiz Poernomo Kevin.lano@kcl.ac.uk , Iman.poernomo@kcl.ac.uk. Introduction to Model Transformation.

jensen
Download Presentation

Specification of UML Model Transformations

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Specification of UML Model Transformations PhD Student : ShekoufehKolahdouzRahimi Shekoufeh.kolahdouzrahimi@kcl.ac.uk Supervisors : Dr Kevin Lano, Dr Iman Hafiz Poernomo Kevin.lano@kcl.ac.uk , Iman.poernomo@kcl.ac.uk

  2. Introduction to Model Transformation

  3. Different Issues In Model Transformation • Specification Techniques for MT • Different styles for MT • Different approaches for MT

  4. Slicing of State Machines Case Studies Quality of Service Requirements S<synC ^S= semC UML+QoS PIM MDA transformation Code that adapts to meet QoS PSM

  5. Hybrid UML+OCL UML2WEB The UML-RSDS Approach • Transformation Rules http://www.dcs.kcl.ac.uk/staff/kcl/uml2web

  6. Simple Transformation Rule * Element Stereotype * stereotypes Name: String c.stereotypeNames includes(“persistent") c.ownedAttribute.stereotypeNames excludes(“identity") c.feature.name  excludes(c.name + “Id") • IntroducePrimaryKey( c : UMLClass ) • pre: • post: TransformationRules Introduceprimarykey(c:UMLClass) Type a : Property a.oclIsNew() s : Stereotype s.oclIsNew() a.name = c.name + “Id“ s.name = “identity" a.stereotypeNames = Set { s } c.ownedAttribute = (c.ownedAttribute)@pre  including( a ) a.type = IntegerType type 1 * Property UMLClass feature * ownedAttribute *{subset feature} classifier

  7. StateMachine

  8. Future Work

  9. Questions?

More Related