1 / 28

exff u2e demo slideshow

exff u2e demo slideshow. David Price. The demonstration. This slideshow is screen shots showing the following Creating a UML model using an exff template for a specific UML tool The tool used has OMG XMI as its native file format XMI is an OMG-standardized XML format for UML models

kiara
Download Presentation

exff u2e demo slideshow

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. exff u2e demo slideshow David Price

  2. The demonstration • This slideshow is screen shots showing the following • Creating a UML model using an exff template for a specific UML tool • The tool used has OMG XMI as its native file format • XMI is an OMG-standardized XML format for UML models • Transforming the UML as XML into EXPRESS text

  3. The demo software • The demo uses the following software • Poseidon Community Edition UML Tool (Java-based) • An exff DOS batch file to execute the transformation • A command line WinZip utility to extract the XMI file • Two exff XSLT stylesheets that perform the transformation • One adds a DOCTYPE to the XMI file providing the second XSLT stylesheet with access to the DTD • The second performs the actual transformation • MSXSL to execute the XSLT • Notepad to view and save the EXPRESS

  4. Start UML Tool

  5. Tool layout menus and buttons to create model elements list of UML diagrams and model elements enter/select details of UML model element here current diagram area

  6. Open exff template

  7. Open exff template(2) template file

  8. The template built-in EXPRESS

  9. Save template with schema name make UML file and model name the same

  10. Rename diagram and model

  11. model name – same as UML file name Rename diagram and model(2) diagram name

  12. Add elements following exff guidelines • We add: • a couple of UML Class which = EXPRESS Entity • a UML Association with = EXPRESS attribute • If the association and target end of the association have the same name, the attribute is added to the source end and the attribute name is the association name • a UML Generalization which = EXPRESS subtype • a UML Attribute of type Class string which = EXPRESS attribute of type STRING

  13. Inserting UML Class = Entity select the class input button

  14. Click on the diagram to place it the class is the box

  15. Type in name of class class name field goes here

  16. Inserting UML Association = Attribute select the association input button

  17. Select the two classes the line is the association

  18. Name the association notice the association ends. "product" is the target end type association name

  19. After selecing, "product", name the end remember association and target end named the same, results in attribute in source - "product_version" type end name notice "product" is end type

  20. Inserting UML Generalization = subtype select the generalization input button

  21. Start at subtype, drag towards supertype the arrow is the generalization, the arrowhead is at supertype

  22. Review and then save the list of model elements the diagram

  23. Drop model file on u2ePos.bat

  24. Drop model file on u2ePos.bat (2) In this tool, files are "zargo" u2ePos.bat

  25. Watch the process execute

  26. Check the EXPRESS

  27. Save the EXPRESS from Notepad

  28. Conclusions • This demo shows the creation a small subset of EXPRESS using a UML tool • The exff goal is to support all of the structures of EXPRESS • and the constraints that are possible • The same EXPRESS can be modified and read back into the UML tool using EEP to create the EXPRESS as XML and the exff EXPRESS-to-UML stylesheets • Graphical EXPRESS also generates EXPRESS as XML! • We need your support to continue this development!

More Related