21.07.2013 Views

Learning Technology FrameWork.pdf

Learning Technology FrameWork.pdf

Learning Technology FrameWork.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Adding more related classes<br />

Adding more related classes<br />

Expanding your diagram At this point, your Java class diagram requires some additional<br />

classes in order to present a more complete picture of the objects<br />

that make up your hiring system. You’ll create a new class named<br />

State and relate it to the City class. Then you’ll create two new<br />

classes named Position and Skill and relate them to the Employee<br />

class. These new classes will play a supporting role in your<br />

diagram by making the definitions of the City and Employee classes<br />

more complete.<br />

Try it yourself The table below describes the associations you’ll create. Using the<br />

techniques you practiced earlier in this lesson, add the three new<br />

classes and the associations described below to your Java class<br />

diagram.<br />

Lesson 5: Creating a Java Class Diagram<br />

84<br />

Related classes Association ends Multiplicity<br />

State<br />

City<br />

Position<br />

Employee<br />

Skill<br />

Employee<br />

cities<br />

state<br />

assigned employees<br />

position<br />

employees<br />

skill set<br />

0..n<br />

0..1<br />

0..n<br />

1..1<br />

0..n<br />

0..n

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!