New features of UML2 - Generics, Static Profile Definition and OCL Integration.
Modeling · Long Talk
Tuesday, 16:30, 50 minutes | Grand Ballroom FGHABC |
Be the first on the block to take advantage of new features introduced in the UML2 project - and be more productive as a result.
Three topics will be covered in this talk:
Have you ever wondered how to specify Java constructs such as: List in UML? With the ability to express such concepts in UML2, you are now able to generate an Ecore representation from which generically specified code can be created. UML concepts such as templates, template bindings will be explained and the parallels to Java and Ecore will be shown. In addition, the enhanced Ecore profile in the UML2 project will be explained and, simple end-to-end examples will be demonstrated. This link will provide a taste of what will be discussed: http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Defining_Generics_with_UML_Templates/article.html.
Static Profile Definition:
Say 'goodbye' to the dynamic Ecore representation of your profile. Static profile definition involves generating code from your profile. Generating a clean API for manipulating your meta-attributes defined in your stereotypes provides for convenient use of getters and setters as well as providing convenience of debugging. The discussion will provide step by step explanations on how to organize your project in order to get this to work for you.
The opensource UML2 project allows users to specify OCL expressions as constrains on elements or as the body of an operation. These expressions can be generated into code that will be evaluated once integrated with the opensource OCL project. The newly customized UML templates add everything you need. The complete process will be explained in addition to how this can be used to your advantage.
James Bruck is a software developer for IBM Rational Software in the IBM Ottawa Lab. He is a committer and lead of the MDT UML2 project. James has contributed to the Rational modeling product lines, including IBM Rational Software Architect. He holds a BMath from the University of Waterloo