Aktivitätsknoten: Step 4: Transformation

"MTL Transformation" does the model-to-text transformation using a M2T template language. The incoming model "target/darlehen" is UML or an instance of an UML profile.

It's best to work within an Acceleo perspective. You may work with the prepared MTL scripts, what is recommended, or create a new one. In the latter case you better should create a new Acceleo project.

(1) Create new MTL scripts: "New > Acceleo Template".
Create a new project: "New > Acceleo Module Project".
Read Acceleo help for more information.

(2) Open the template "src/Generator.files/generateJava.mtl"
with "Acceleo Template Editor" or more easily with double click.

(3) Write what you want to write. It should be MOF "Model-to-Text Transformation Language".
There are further modules doing some transformation job within "src/uml2java.common".

(4) Run the transformation with an Acceleo Application "MTL-UML2Java".
See the linked image for it.

(5) This should result in some "src_gen/darlehen/SB_*" packages.
The existing generated java-code will be complemented and not renewed.
So there may be some compile errors because of duplicates or like that.

Hyperlinks

Owner
activity   MDA Process - freemda sample

Behavior
-

Relationships
In callbehavioraction  Step 4: Transformation going 
from Source Relation
callbehavioraction   Step 3: Conceptual Modeling     relation    
centralbuffernode   generateJava     relation    
centralbuffernode   darlehen     relation    
centralbuffernode   UMLEJB     relation    
centralbuffernode   UML     relation    

From callbehavioraction  Step 4: Transformation coming 
Relation to target
  relation     centralbuffernode   darlehen