Answers to commonly-asked questions about Enterprise Architect
- Can Enterprise Architect Generate Source Code From Behavioral Diagrams?
Yes, in Enterprise Architect 7.5 and later releases, in the Business and Software Engineering, Systems Engineering and Ultimate editions, you can generate software and hardware code from Behavioral models. All behavioral constructs must be contained within a Class.
In all three editions, you can generate software code from State Machine diagrams, Interaction (Sequence) diagrams, and Activity diagrams. You can generate code in a range of languages, including C(OO), C#, C++, Java and VB.Net.
In the Systems Engineering and Ultimate editions, you can generate hardware code from State Machine diagrams. You can generate code in various Hardware Description Languages, including VHDL, SystemC and Verilog.
For information on how to generate code from Behavioral models in Enterprise Architect, see the online Help section Code Generation from Behavioral Model.
- Is a onlinhelp available?
We provide the onlinehelp at http://www.sparxsystems.eu/EnterpriseArchitectUserGuide/
- Can the Scope Qualifier of an Attribute or Operation be hidden in Enterprise Architect?
Yes. In the Diagram Options (double-click in the open diagram area or simply press F5) you'll find a checkbox called "Hide Qualifiers". By selecting this checkbox, the Scope Qualifier will no longer be shown.
- Can Stereotypes in Enterprise Architect be furnished with Tagged Values?
Tagged values cannot be directly assigned to Stereotypes in Enterprise Architect. This is done via the Profile.
- How can one maintain an overview of large projects?
Example: Java project with 400 classes in 62 packages (max. 27 classes per package)
- It is imperative to keep the physical structure (directory structure, namespaces, packages).
- Simply set up Views which show a particular section of the SW (also via Packages)
(Advantage: Relationships between classes are then shown when they are on the same diagram!)
- It may also be helpful to hide only the nur die attributes and operations (private and/or public) so that only the class names and the relationships can be seen!
- How can I show relationships between classes from different diagrams?
Enterprise Architect only shows relationships between elements (graphically) which are on the same diagram.
Create a special diagram wherein all desired classes are linked! (These may of course come from different Packages.)
- What is shown in "Project Namespaces"?
In EA, all diagrams can be ordered in packages. In the case of class diagrams, packages are also extracted into the source code (e.g. Java, .NET). To use a different package structure in the source code as in EA, the root package can be manually specified: right mouse click Package / Package Control / Set as Namespace Root.
- Which attributes or features of a class end up in the source code?
This depends on the programming language being used. In principle, nothing from tabs: Require, Constraints, Scenario, Tags, Files.
- How do I show multithreading programs in UML?
In principle, this is intended for activity and sequence diagrams; however, one can also use, for example, the component diagram.
Threads are created as a component of stereotype <<Thread>> (create new). Classes running in Thread can be linked as Composite Part, or an individual Child Diagram will be attached to the Component where the classes of the threads are found.
- How can I merge inserted patterns with existing classes?
When inserting from a list, 'Select existing Model Element to Apply Pattern to', and choose the class with which you would like to merge the pattern class.
- How can the visible size of a class be adjusted?
Enterprise Architect always shows a class so large that all attributes and methods are clearly shown within its borders. If you would like a class symbol to take up less space on the diagram, however, it is possible to hide certain information (such as all private attributes). You do not, however, have the option of manually scaling a class down.
- In Enterprise Architect, can one set which details should be exported to the documentation?
Yes. You can freely define the detail information which should be carried over into the documentation. You can even define the order. In EA you can define your own RTF templates. You have the option of very comfortably adapting the structure, contents (including level of detail) and formatting of the documentation to be produced. EA has a WYSIWAG templat editor editor for this purpose.
- Does Enterprise Architect support XMI, and when yes, which version?
Enterprise Architect currently supports import and export to and from XMI 1.0, 1.1 and 1.2, as well as a special Rose dialect.