Flexibility and Agility


Templates are text fragments used by the code generator to generate source code from models. Being close to the designated target language, templates can be derived from sample text such as a reference implementation. Furthermore, templates can be flexibly adapted to apply company-specific conventions and Best Practices.

To describe templates, UML Lab uses the openArchitectureWare template language Xpand, a well-established and proven framework for code generation. Existing oAW templates therefore can be used together with UML Lab, too. Furthermore, UML Lab can be easily extended for new styles and even new target languages.

UML Lab includes several template sets for different target languages and styles. These templates combine many years of experience and know-how from different areas of object-oriented programming. Thus they comprise numerous Patterns and Best Practices for software engineering. UML Lab therefore actively contributes to increased code quality.