Modeling with Nickname

CRC Recreation Club's main aim is to provide all sort of sports and recreation facilities for their members to be involved as a mean to promote healthy lifestyles. The club is planning to computerize some of its services. Now, we are going to study a simple use case diagram which shows the services that CRC Recreation Club want and need to computerize. To facilitate internal communication and ease of documentation, we want to maintain a set of internal naming to those use cases, as well as to record extra information like the risk and the developer(s) involved. These information is not expected to be visible to CRC Recreation Club. To achieve this, we will make use of the feature nickname.

April 29, 2010
User Rating: / 0
Views: 2,890
PDF Link Add comments
Edition: Standard or above (Edition comparison)

  1. Download the project CRC Recreation Club.vpp attached with this tutorial.
  2. Start VP-UML.
  3. Open CRC Recreation Club.vpp. Open the use case diagram CRC Recreation Club Use Case Diagram and take a look.
    use case diagram
    To facilitate internal communication and ease of documentation, we want to give those use cases a special code. But due to the design will be reviewed by the end user, we do not want to add the code directly on diagram. To solve this problem, we can make use of nickname.
  4. Select View > Nicknames > Configure Nicknames... from the main menu.
    configure nickname
  5. Click Add in the Configure Nickname dialog box. Enter Internal as name and click OK. Click OK in configure dialog box to go back to diagram.
    add nickname
  6. Now, the model is under the nickname set Internal. To prove this, take a look at the toolbar and you should see the drop down menu as shown below.
    internal
  7. Now, we can rename the use cases freely. Let's append code U1, U2 and U3 to use cases Workout, Play Mahjong and Apply for Membership. The same action can be done for any other kinds of model element. But in this tutorial we just focus on use case for simplicity.
    rename usecases
  8. Further to the names, we can also provide nickname-specific documentation. Open the specification of use case U1 - Workout first. Right click on it and select Open Specification... from the popup menu.
    open use case spec
  9. In the documentation pane, add development level content as shown in the image below.
    edit documentation
  10. Edit also the documentation of other use cases.
    edit other usecases
  11. The changes we have made so far were all under the Internal nickname. If we want to carry on with the original content, switch back to the Original nickname. Select Original from the nickname drop down menu.
    select original
  12. You can immediately see that U1, U2 and U3 are gone.
    original nickname
  13. Let's check the documentation. Those internal text written under Internal nickname set are gone as well.
    original doc
  14. If you switch to Internal nickname again, those internal content will be back. With this, you can define another set of model, like internal in this case, without affecting the primary one.

Resources

  1. CRC Recreation Club.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 Dr Olukunmi 'Lanre OLAITAN, Ph.D. on October 25, 2010

This model is of great benefit to the member and public user of recreational facilities. It creates avenue for good planning, coordinating, management and controlling of the recreational facilities in the Gym and / or community recreation parks.

Write comment

Rating

Comment

Enter the calculation result

security code