SLIDE 5 Model driven software engineering
− Ecore meta model − Model change notification − Persistence and serialization − Reflection API − Runtime support for generated models − Change model and recorder − Validation framework Validation framework
− Helps integrate models with a rich user interface − Used to build editors and viewers for your model Includes default reflective model editor − Includes default reflective model editor
− Code generator for core and edit based components − Model importers from Rose, XML, or Java interfaces
/ Faculteit Wiskunde en Informatica
PAGE 16 9-11-2010
Model driven software engineering
- EClass models classes
- Simplified Ecore meta-model
EClass models classes themselves
- identified by name
- number of attributes
Simplified Ecore meta model
number of attributes
- number of reference
- EAttribute models attributes
- identified by name
- identified by name
- has a type
- EDataType represents
i l t simple types
/ Faculteit Wiskunde en Informatica
PAGE 17 9-11-2010
Model driven software engineering
- Simplified Ecore meta-model
- EReference models
Simplified Ecore meta model associations between classes
- identified by name
- has a type which must be an
ECl EClass
indicating whether the EReference is used as “whole- EReference is used as whole- part” relationship
/ Faculteit Wiskunde en Informatica
PAGE 18 9-11-2010
Model driven software engineering
- Classes, abstract classes and interfaces
- Attributes and Operations
/ Faculteit Wiskunde en Informatica
PAGE 19 9-11-2010