Move Glossary Term to Base Project through Refactoring

A glossary term is a word or phrase that is important and meaningful within your project scope. For example, car, brand and manufacturer can be glossary terms of a car rental system. VP-UML lets you record the terms through glossary grid or by identifying from name and documentation of model elements. If you have broken down a big project into separate projects, you may find it necessary to re-define terms again and again. In this tutorial, we will show you how to move terms to a base project so that all the depending projects can reference to it without the need of re-definition.

May 3, 2011
User Rating: / 0
Views: 1,586
PDF Link Add comments
Edition: Professional or above (Edition comparison)

  1. Start VP-UML.
  2. Create a new project by selecting File > New Project from the main menu. In the New Project window, name the project Base and click Create Blank Project.
    new project
  3. Select File > Save Project as... from the main menu. Save the project as Base.vpp.
    save project
  4. Open the Repair Car.vpp attached with this tutorial. You can open project by selecting File > Open Project... from the main menu.
  5. Let's make the project depends on the base project we just created. Open the Model Explorer.
    open model explorer
  6. Right click on the background of Model Explorer and select Manage Dependent Project... from the popup menu.
    manage project
  7. In the Manage Dependent Project dialog box, add Base.vpp we just created. Click Close to continue.
    add project
  8. Open the glossary grid in Repair Car project. Double click on Glossary Grid node in Diagram Navigator to open it.
    open grid
  9. Here you can see three terms: customer, car, repair.
    grid
    We want to share the terms and definition with other projects. However, not all the terms are meaningful to all the other projects. The terms customer and car are meaningful for a car rental company, while the word repair is only meaningful to the current project, the Repair Car project. Therefore, we shall move customer and car to the base project.
  10. Open the Model Explorer. Select the current project from the drop down menu at the top of the Model Explorer.
    open current
  11. Select the terms car and customer. Right click on the selection and select Refactor to Dependent Project... from the popup menu.
    refactor
  12. Click Yes when you are prompted to save project.
    prompt save
  13. Confirm the terms to refactor in the Refactor to dependent project window. Click Continue.
    refactor
    Now, the terms are moved to the dependent project. Projects that depend on the base project can than read the terms in it.

Resources

  1. Repair Car.vpp

Rate this Article

Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).

You may be interested in

  1. Writing Effective Use Case
  2. Draw Entity Relationship Diagram (ERD)
    Tagged:
  3. UML Package Diagram
    Tagged:
  4. Produce UML Use Cases from Business Process Diagram (BPD)
  5. Oracle database design with Entity Relationship Diagram
Tags of this article:

Comments (1)

written by Jakayla on December 18, 2011

Boom shakalaka boom boom, problem sovled.

Write comment

Rating

Comment

Enter the calculation result

security code