Download presentation
Presentation is loading. Please wait.
Published byJayce Hereford Modified over 10 years ago
1
All Presentation Material Copyright Eurostep Limited ® exff u2e demo slideshow David Price
2
® All Presentation Material Copyright Eurostep Limited 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
® All Presentation Material Copyright Eurostep Limited 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
® All Presentation Material Copyright Eurostep Limited Start UML Tool
5
® All Presentation Material Copyright Eurostep Limited Tool layout list of UML diagrams and model elements enter/select details of UML model element here current diagram area menus and buttons to create model elements
6
® All Presentation Material Copyright Eurostep Limited Open exff template
7
® All Presentation Material Copyright Eurostep Limited Open exff template(2) template file
8
® All Presentation Material Copyright Eurostep Limited The template built-in EXPRESS
9
® All Presentation Material Copyright Eurostep Limited Save template with schema name make UML file and model name the same
10
® All Presentation Material Copyright Eurostep Limited Rename diagram and model
11
® All Presentation Material Copyright Eurostep Limited Rename diagram and model(2) diagram name model name – same as UML file name
12
® All Presentation Material Copyright Eurostep Limited 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
® All Presentation Material Copyright Eurostep Limited Inserting UML Class = Entity select the class input button
14
® All Presentation Material Copyright Eurostep Limited Click on the diagram to place it the class is the box
15
® All Presentation Material Copyright Eurostep Limited Type in name of class class name field goes here
16
® All Presentation Material Copyright Eurostep Limited Inserting UML Association = Attribute select the association input button
17
® All Presentation Material Copyright Eurostep Limited Select the two classes the line is the association
18
® All Presentation Material Copyright Eurostep Limited Name the association type association name notice the association ends. "product" is the target end
19
® All Presentation Material Copyright Eurostep Limited After selecing, "product", name the end type end name notice "product" is end type remember association and target end named the same, results in attribute in source - "product_version"
20
® All Presentation Material Copyright Eurostep Limited Inserting UML Generalization = subtype select the generalization input button
21
® All Presentation Material Copyright Eurostep Limited Start at subtype, drag towards supertype the arrow is the generalization, the arrowhead is at supertype
22
® All Presentation Material Copyright Eurostep Limited Review and then save the list of model elements the diagram
23
® All Presentation Material Copyright Eurostep Limited Drop model file on u2ePos.bat
24
® All Presentation Material Copyright Eurostep Limited Drop model file on u2ePos.bat (2) u2ePos.bat In this tool, files are "zargo"
25
® All Presentation Material Copyright Eurostep Limited Watch the process execute
26
® All Presentation Material Copyright Eurostep Limited Check the EXPRESS
27
® All Presentation Material Copyright Eurostep Limited Save the EXPRESS from Notepad
28
® All Presentation Material Copyright Eurostep Limited 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!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.