| <html> |
| <head> |
| <title>Tutorial overview</title> |
| <link href="book.css" rel="stylesheet" type="text/css"/> |
| <meta content="DocBook XSL Stylesheets V1.75.1" name="generator"/> |
| <link rel="home" href="index.html" title="Xpand Documentation"/> |
| <link rel="up" href="emf_tutorial.html" title="Getting Started"/> |
| <link rel="prev" href="emf_tutorial.html" title="Getting Started"/> |
| <link rel="next" href="emf_tutorial_define_metamodel.html" title="Defining an EMF metamodel"/> |
| </head> |
| <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| <h1 xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">Tutorial overview</h1> |
| <div class="section" title="Tutorial overview"> |
| <div class="titlepage"> |
| <div> |
| <div> |
| <h2 class="title" style="clear: both"> |
| <a name="emf_tutorial_overview"/>Tutorial overview</h2> |
| </div> |
| </div> |
| </div> |
| <p>The purpose of this tutorial is to illustrate code generation with |
| Xpand from EMF models. The process we are going to go through, will start |
| by defining a metamodel (using EMF tooling), coming up with some example |
| data, writing code generation templates, running the generator and finally |
| adding some constraint checks.</p> |
| <p>The actual content of the example is rather trivial – we will |
| generate Java classes following the JavaBean conventions. The model will |
| contain entities (such as <span class="type">Person</span> or <span class="type">Vehicle</span>) |
| including some attributes and relationships among them – a rather typical |
| data model. From these entities in the model, we want to generate the |
| Beans for implementation in Java. In a real setting, we might also want to |
| generate persistence mappings, etc. We will not do this for this simple |
| introduction.</p> |
| </div> |
| </body> |
| </html> |