INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Class Diagram HELP!

Class Diagram HELP!

(OP)
Hi guys,

I have a case that I need to model using a class diagram, but as I am a complete and utter beginner I'm really stumped as to how to begin this. If anyone could help me out in regards to identifying classes and possible attributes it would be much appreciated.

The case is:

A web design company, called Webmedia, is organised in 4 departments: the HR (Human Resources), the Graphic Designers, the Developers and the Managers. Each employee may work in one or two Departments and is under the supervision of only one manager.

Additional important information to be recorded for each employee includes the name, surname and age as well as the paid leave allowance per year (number of paid days the employee can take as leave).

An employee can request leave. There are 3 different types of leave that can be requested: holiday leave, sick leave or unpaid leave. Holiday leave is paid at the rate the employee usually earns, while all sick leaves are paid at a fixed rate of $50 per day. All leaves need to be signed off by the employee's manager before they can be processed by HR.

I'm not really sure how to identify what aspects should be classes and how they should all be linked together.

Thanks in advance!  

RE: Class Diagram HELP!

Hint:  Encapsulate what changes!

This sounds a LOT like a homework question :). I remember reading something like this in a book a while back.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close