Create User to UserVO Dependency

This page provides directions to create the dependency from User to UserVO using ArgoUML. The model is shown below for your reference.

User To UserVO Dependency
  1. Select the Value Objects class diagram in the vo package.
  2. From the Containment Tree on the left, drag the User class on to the diagram. Warning: It is important to bring in the existing User class from the domain package into this diagram. DO NOT create a new User class in this diagram. Doing so will create a new class in the vo package - this is not our intention. All we need is a reference to the existing User class in the domain package.
  3. Select the Dependency tool Dependency Tool from the toolbar. Now left-click the mouse on the User class, drag it to the UserVO class and release the mouse. A dependency relationship is added between the two classes. The drawing direction is significant, so make sure you drag from User to UserVO.
  4. Make sure your class diagram matches the one shown above exactly.
  5. Save your TimeTracker model by selecting FileSave Project.

Please go back to the main tutorial page and continue from where you left off.