Prev | Next |
Modeling Conventions
The synchronization between UML models and programming code is achieved using a set of modeling conventions (mappings) between UML constructs and programming code syntax. The Software Engineer is advised to become familiar with these conventions in order to work with the code generation process for the programming languages they intend to target. There are a range of constructs used, including elements, features, connectors, connector ends, stereotypes and Tagged Values. The newcomer will require a little time to become familiar with these conventions but after a short time they will be translating between programming code and UML constructs without effort.
Supported Languages
Language |
See also |
---|---|
Action Script |
ActionScript Conventions |
Ada 2012 (Unified and Ultimate Editions) |
Ada 2012 Conventions |
C |
C Conventions |
C# |
C# Conventions |
C++ |
C++ Conventions |
Delphi |
Delphi Conventions |
Java |
Java Conventions |
PHP |
PHP Conventions |
Python |
Python Conventions |
SystemC (Unified and Ultimate Editions) |
SystemC Conventions |
Verilog (Unified and Ultimate Editions) |
Verilog Conventions |
VHDL (Unified and Ultimate Editions) |
VHDL Conventions |
Visual Basic |
Visual Basic Conventions |
Visual Basic .NET |
VB.NET Conventions |
Notes
Enterprise Architect incorporates a number of visibility indicators or scope values for its supported languages; these include, for:
- All languages - Public (+), Protected (#) and Private (-)
- Java - Package (~)
- Delphi - Published (^)
- C# - Internal (~), Protected Internal (^)
- ActionScript - Internal (~)
- VB.NET - Friend (~), Protected Friend (^)
- PHP - Package (~)
- Python - Package (~)
- C - Package (~)
- C++ - Package (~)