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.

 

Default Transformation Templates

Intermediary Language Debugging

How to debug transformation scripts by checking the intermediary code generated from the Transform script.

 

Intermediary Language Debugging

Editing Source Code

Describes the facilities of the common Code Editor.

 

Editing Source Code

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.

Intermediary Language

Syntax for Creating Objects

 

Describes the syntax followed in creating objects or elements.

Objects

Syntax for Creating Connectors

 

Describes the syntax followed in creating connectors.

Connectors

Transform Connectors

Transforming Duplicate Information

 

Describes how information is copied during transformation.

Copy Information

Converting Types

Describes methods for converting data types to different target. platform types.

 

Convert Types

Converting Names

Describes methods for converting names of elements to different target platform naming conventions.

 

Convert Names

Cross References

Provides cross verification of transformed elements.

 

Cross References

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