Skip to content
 
 

Latest commit

 

History

74 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QVT Code Generator AI Modified

Build QVT Code Generator Plugin (development build)

QVT Code Generation

Design data transformations visually in Enterprise Architect using the OMG QVT standard, and let this tool generate ready-to-run C# code that carries out the transformation for you — no hand-written mapping code required.

Initial author: Erwan Bousse

Solution architect: Dr. Oliver Alt

Further information & Demo Video

Video: Titel hier

Download

The Enterprise Architect plugin (installer .msi) is built automatically on every push to master.

Open the most recent successful run and download the QVT-CodeGenerator-Plugin-Setup_* artifact from its Artifacts section (you need to be signed in to GitHub to download workflow artifacts).

Requirements

  • NMF
  • Sprax Systems Enterprise Architect

A guided walkthrough is available in the slides.

Technical Architecture

Architecture

The generator is a small pipeline of C# components:

  • EA transformation importer reads the graphical QVT relations from an Enterprise Architect project into an in-memory QVT Relations model.
  • Transformation Code generator turns that in-memory model into the generated C# "Data Transformator" that performs the actual data transformation.
  • QVT textual concrete syntax generator can additionally render the same relations as textual QVT syntax.
  • EA code generator packages the generated transformer back into the Enterprise Architect plugin.

The codebase is split into several independently versioned components (see .gitmodules), most notably:

Component Role
LL.MDE.Components.Qvt.CodeGenerator Core QVT-relations-to-C# code generator
LL.MDE.Components.Qvt.Metamodel / ...Metamodel.Generator QVT (EMOF-based) metamodel and its NMF-based generator
LL.MDE.Components.Qvt.EnArImport / ...EnArIntegration / ...EnArInterface Enterprise Architect model import and integration
LL.MDE.Components.Qvt.TextConcreteSyntaxGen Textual QVT concrete syntax generator
MDD4All.QvtCodeGenerator.Apps.EaPlugin The Enterprise Architect plugin (and its installer) built from the components above

Each component lives in its own repository and is included here as a git submodule under src/<ComponentName>.

Resources

About

Enterprise Architect Addin to generate ready to run C# code from graphical QVT transformation rules.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages