IT:AD:Enterprise Architect:HowTo:Understand
Summary
The following is a quick intro to EA.
Notes
- Difference between Model and Diagram.
- A Diagram (think Plan, Elevation, Sections) are just perspectives of a Model (eg: 3D Model)1).
- A Model can be either Physical or Logical.
- Represents a distinct and complete representation of all or part of a modeled system.
- Is the highest conceptual level
EA Elements
Package
Project
A Project is a single *.eap project file, containing the Model/'s Package/s, View/s, Diagram/s, and Element/s.
- It's navigated using the Project Browser/.
Project Browser
The Project Browser is used to navigate the Root Node/s, and Model/'s Package/s, View/s, Diagram/s, and Element/s.
Root Node
In a stand-alone *.eap Project/ file, a Root Node/ and Package/ are synonymous.
Root nodes are …
- In a stand alone database, a Root Node/ and Package/ are synonymous.
Package
- A Package is a Root Node/.
View
- Can be categorized by purpose (Use Case View, Component View, Deployment View, etc.) using different icon types.
When on a Root Node/ in the Project Browser/ one can use a Wizard. When doing so, EA creates a new Package/ of type x, and to help you get started, the package will contain a single Diagram/ (with the same name as the View/ Package/) and the Element/s in the View/'s default Diagram/.
Diagram
- Ref:
Element
- Elements can be dragged from the Project Browser/ on to a Diagram/ as either
- Link - a direct reference to the Element/ definition.
- Can only have one
Linkon a diagram. - Subsequent drag/drop operations will propose you use an
Instance.
- Instance - an instantiation of the Element/.
- Some examples:
- In component diagrams, one drags a Link to the Server component.
- In a class diagram The XYZService would be dragged on as an Instance (even if it is a singleton).
It's reasonable to be cautious, but not unnecessarily fearful of destroying the work of others on your team:
- You can't inadvertently DEL elements from the Project Browser/ and destroy many Diagram/s using the Elemen/. You have to Right-Click the element, Select Delete, and confirm that is what you want to do.
- The bad news…once it's gone, CTRL-Z will not bring it back…
Connection
- Element/s Link or Instances or are linked together on a diagram.
- Select the appropriate relationship type from the UML ToolBox (ALT+5)