Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Using Enterprise Architect Elements
Creating an instance from a Class
UPDM has Classifier/Instance pairs where the classifier describes a class of elements and the instance represents a single member of that class. The Classifier/Instance pairs in UPDM are:
If you have an element that is the classifier part of one of the above Classifier/Instance pairs, you can choose between two main approaches for creating the instance:
- Set the classifier of an existing instance - Click on the instance element in a diagram and then either press or right-click and select 'Advanced | Instance Classifier'; the same command sets the type of a Port or Part.
- Create an instance from an existing classifier - Press Project Browser onto a diagram. The 'Paste Element' dialog displays; select the 'Paste as Instance of Element' option. An anonymous instance is created with the appropriate stereotype; select the instance, press and give it a name. while dragging the classifier element from the
Set the run state of an object
Where a classifier can own a set of attributes, an instance of that classifier can own a slot for each attribute. The set of assigned values for these slots is known as the run state. To set the run state of an object on a diagram, right-click on it and select 'Advanced | Set Run State' or press .
Some stereotypes are defined by UPDM as extending the Slot metaclass. Each run state attribute represents a Slot, but it is not possible to stereotype Slots in Enterprise Architect, so UPDM's slot-extending stereotypes are not available in Enterprise Architect's implementation. UPDM stereotypes that extend Slot are:
- ActualMeasurement (ActualMeasurementSet)
- ActualOrganizationRole (ActualOrganization)
- MeasureOfPerformance (ActualMeasurementSet)
- ProjectStatus (ActualProjectMilestone)
Some stereotypes in UPDM are defined as extending the UML Property metaclass. This gives you the choice of a number of different representations for these elements in your model. If you drag one of the properties from the Toolbox onto a classifier element on a diagram, you are prompted to select to create an attribute, a Part, or a Port. These are all different representation of the UML Property metaclass; which one you choose depends on what rendering of the Property you want to see in your model.
Another representation of the UML Property metaclass is the Association End; to apply one of UPDM's Property stereotypes to an Association End:
- Double-click on the element to display the 'Properties' dialog.
- Select the 'Roles' tab.
- Click on the button next to the appropriate 'Stereotype' field.
- On the 'Stereotype for Association' dialog, select 'UPDM' from the 'Profile' field.
- Select every stereotype that applies.
Stereotypes that extend Property are: