- Overview
- How to?
- Creating an object diagram
- Creating an object
- Adding an attribute
- Creating a composite object
- Creating a link
- Creating a package
Operations performed on object diagrams
The following paragraphs explain: Creating an object diagram To create an object diagram: - Click
in the quick access buttons. - The new element window appears: click "Architecture", and then "UML".
- The UML model creation wizard starts.
- Select "Object diagram".
- Specify the UML model into which the diagram is to be inserted.
- Choose to edit the diagram directly.
- Validate the new object diagram. The new model appears in the editor.
Creating an object To create an object: - On the "Object diagram" tab, in the "Creation" group, click "Object". The object creation wizard starts.
- Specify:
- the name of the object. This name is displayed in the UML editor.
- the name of the class. This name is displayed in the UML editor.
- the caption describing the purpose of the class. This caption will be used in the technical documentation of the UML editor.
- Define the attributes of the class.
- Validate the object description.
Adding an attribute To add an attribute: - Select the object in which the attribute is to be added.
- On the "Object diagram" tab, in the "Creation" group, click "Attribute". The attribute creation wizard starts.
- Define the attributes of the class.
- Validate the description of the attribute. The attribute is automatically added to the current object.
Remark: The characteristics of an attribute can be modified in the object description window (select "Description" in the context menu of the object). Creating a composite object To create a composite object: - On the "Object diagram" tab, in the "Creation" group, click "Composite object". A new composite object appears in the UML model.
- Right-click the new composite object and select "Description" in the context menu. The object description window is opens.
- Specify:
- the name of the composite object. This name is displayed in the UML editor.
- the class of the composite object.
- the caption describing the purpose of the composite object. This caption will be used in the technical documentation of the UML editor.
- Validate the description of the composite object.
Creating a link To create a link: - On the "Object diagram" tab, in the "Creation" group, click "Link".
- Select the different objects to link.
- Right-click the new link and select "Description" in the context menu. The link description window opens.
- Specify:
- the type of the link.
- the name of the link. This name is displayed in the UML editor.
- Validate the description of the link.
Creating a package To create a package: - On the "Object diagram" tab, in the "Creation" group, click "Package". A new package appears in the UML model.
- Right-click the new package and select "Description" in the context menu. The package description window opens.
- Specify:
- the name of the package. This name is displayed in the package in the UML editor.
- the caption describing the purpose of the package.
- the relationships of the package.
- Validate the description of the package.
This page is also available for…
|
|
|
|