Results 1 to 5 of 5
  1. #1
    bond_007 is offline Member
    Join Date
    Jun 2012
    Posts
    1
    Rep Power
    0

    Default Java Modelling Scenario

    Hi Guys,

    I need to solve the small modelling problem
    Can you please help. I have started a bit not sure if it is right or needs further modification
    kindly, help me

    Problem:
    Write a series of model classes that represent the following scenario.

    A company has a number employees. Every Employee has a Name, an unique Staff Number, Date of Birth, Join Date and Department, Salary.

    A Manager is an employee with the following extra information Bonus and Company Car. Bonus is derived from the numbers of whole years (January to December) multiplied by the 1.5% of his salary with a ceiling of 12 years.

    A Cleaner is an employee, who also need to store if Day, Morning or Evening shift worker. Also a materiels allowance, this derived as follows, Day shift has 0, Morning has 20 and Evening has 50.

    A Driver is an Employee, who has a company car.

    A Developer is an Employee has a bonus like the Manager, but he gets 0.75% of every year he works, but no ceiling. Also they store a collection of Programming languages they proficient in. They must have at least one language. Also they have a project code (4 digit number 1000-9999)

    An Tester, is an Employee, who has project Code (4 digit number 1000-9999).

    An Automated Tester is an Developer who must have at least 2 Programming Languages and one of them must be “Java”. The bonus system is the same with the exception they get 1.25 % per year.

    Your answer must include unit tests.

    My current work is attached below

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,953
    Rep Power
    19

    Default Re: Java Modelling Scenario

    (Tolls looks "below" and sees no code.)
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,202
    Rep Power
    19

    Default Re: Java Modelling Scenario

    Moved from Advanced Java. Nothing advanced about a homework assignment.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,202
    Rep Power
    19

    Default Re: Java Modelling Scenario

    Quote Originally Posted by Tolls View Post
    (Tolls looks "below" and sees no code.)
    Maybe that's all the 'current work' there is?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  5. #5
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. Replies: 4
    Last Post: 05-19-2012, 04:05 PM
  2. need help in ERD scenario
    By Qurawe in forum JDBC
    Replies: 4
    Last Post: 06-30-2011, 10:56 PM
  3. How to Do One to Many Mapping in JPA For this scenario
    By rahulranjanmca@gmail.com in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 05-19-2011, 08:48 AM
  4. Can somebody please help me with a "tie" scenario...URGENT
    By university123 in forum New To Java
    Replies: 2
    Last Post: 10-25-2010, 11:58 AM
  5. Scenario
    By ron87 in forum New To Java
    Replies: 1
    Last Post: 04-01-2009, 05:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •