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 |
Ada 2012 (Unified and Ultimate editions) |
Ada 2005 |
C |
C |
C# |
C# |
C++ |
C++ |
Delphi |
Delphi |
Java |
Java |
PHP |
PHP |
Python |
Python |
SystemC (Unified and Ultimate editions) |
SystemC |
Verilog (Unified and Ultimate editions) |
Verilog |
VHDL (Unified and Ultimate editions) |
VHDL |
Visual Basic |
Visual Basic |
Visual Basic .NET |
Visual Basic .NET |
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 (~)