Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Write Transformations
This topic provides help in writing your own transformations. Transformations are based on the Code Generation Template Framework, therefore it is suggested that you read and understand the topics covering Code Generation Templates prior to using the Transformation Template language.
Access Tools | MDA Transformation Templates (Ctrl+Alt+H)
Topics
Subjects concerning Transformation Templates include:
Topic |
Detail |
See also |
---|---|---|
Default Transformation Templates |
Enterprise Architect provides a set of default transformation templates to customize to your requirements.
|
|
Intermediary Language Debugging |
How to debug transformation scripts by checking the intermediary code generated from the Transform script.
|
|
Editing Source Code |
Describes the facilities of the common Code Editor.
|
|
Code Template Framework |
Provides forward engineering of UML models |
Code Template Framework Tool (Using) Code Template Framework (Modifying)
|
General Syntax for the Intermediary Language
|
Describes the grammar for the transformation. |
|
Syntax for Creating Objects
|
Describes the syntax followed in creating objects or elements. |
|
Syntax for Creating Connectors
|
Describes the syntax followed in creating connectors. |
|
Transforming Duplicate Information
|
Describes how information is copied during transformation. |
|
Converting Types |
Describes methods for converting data types to different target. platform types.
|
|
Converting Names |
Describes methods for converting names of elements to different target platform naming conventions.
|
|
Cross References |
Provides cross verification of transformed elements.
|
Notes
• | Further hints and tips can be gleaned from a close study of the Transformation Templates provided with Enterprise Architect |
• | The Transformation Template editor applies the facilities of the common Code Editor |
Learn more
Learning Center topics
• | (Alt+F1) | Model Transformations | Transform | Write Transforms |