Please note : This help page is for an older version of Enteprise Archtiect. The latest help can be found here.

Write Transformations

This topic provides help in writing your own transformations. Subjects covered are:

Topic

Detail

See also

Default Transformation Templates

Enterprise Architect provides a set of default transformation templates to customize to your requirements

Default Transformation Templates

General Syntax for the Intermediary Language

Describes the grammar  for the transformation

General Syntax for the Intermediary Language

Syntax for Creating Objects

Describes the syntax followed in creating objects or elements

Syntax for Creating Objects

Syntax for Creating Connectors

Describes the syntax followed in creating connectors

Syntax for Creating Connectors

Transforming Duplicate Information

Describes how information is copied during transformation

Transforming Duplicate Information

Converting Types

Describes methods for converting data types to different target platform types

Converting Types

Converting Names

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

Converting Names

Cross References

Provides cross verification of transformed elements

Cross References

Code template Framework

Provides forward engineering of UML models

Code Template Framework

Code Editors

Provides the list of editors supported by Enterprise Architect

Code Editors

Notes:

  • Further hints and tips can be gleaned from a close study of the Transformation Templates provided with Enterprise Architect; writing transformations is very similar to writing code generation templates, so an understanding of the Code Template Framework can greatly assist in understanding transformations
  • The Transformation Template editor provides the facilities of the Common Code Editor
  • Transformation Templates are accessed from the Settings | Transformation Templates menu option