UML class diagrams ERGHHH!

Soldato
Joined
13 Jun 2009
Posts
4,581
Location
Chesterfield
Bloody don't get these class diagrams in the slightest.


My scenario is a recruitment website and the case im doing it on is the process of searching for a job.

So i have done all my level 1 and 2 cases quite easily. But i just don't get how to do this class diagram properly. I have the lectures power point next to me and its next to useless.

Has anyone got any experience with this? To be honest i dont even think it needs to be very complicated we just need to show all the different uses. So far all i have done is put down a few classes i know i need.

This is the Level 2 case its needs to be based off,


uzSAB.jpg.png
 
A class is basically an object you want to hold data about.

I'd imagine you'll have three main classes:-

Applicant (information about the applicant)
Job (information about the job)
JobApplication (this will keep track of which jobs an applicant has applied for, and on what date, and the status of that application etc)

The class diagram basically lays out that data, and any methods you'll have within/to act on a class... you don't have to specify how you'd code those methods, just that the methods would exist.

Yea this is exactly how i have don it so far
 
I'm pretty sure that variables are not supposed to have spaces in them and that they should have their type declared.

Yea i realsed that i just havent changed it.

And don't ask why but the lectures said they aren't fussed about having the type.

Probably becuase we are not actually coding anything
 
Back
Top Bottom