Reference no: EM133349837 , Length: 2 pages
Assessment Task:
You are required to produce a class diagram for the company.
Where necessary, the diagram should be amplified with some words of explanation, particularly relating to constraints and assumptions made. To avoid cluttering the diagram, the class model should not contain attributes and operations. Rather you should, for each class, list separately likely attributes and operations. It is not necessary to list the attribute accessor operations (get & set methods). The class diagram should be inserted into a Word document.
Be careful to remain within the stated limited scope of the assignment.
Class model:
You should provide an analysis/design model showing:-
all the relationships between the classes including inheritance, aggregation, composition and other associations where relevant.
Name the associations and show the multiplicity.
Detail the important attributes and operations for the classes.
Appendix A
Build U Like are a building company specialising in hard landscaping. They lay patios, build walls, lay drives etc. for their customers. A customer will remain in the system even though they may not have any current or future building project(s) with the company. Each building project will consist of two parts: Material and Labour.
The material used by the company is supplied by a number of suppliers and each supplier can supply a number of different materials to the company.
The company keeps, on site, a certain quantity of all materials it uses and places an order with a supplier when the quantity in stock falls below a specified level. For simplicity, assume that there will always be an adequate quantity in stock for all projects and you need not take into account exceptional orders. In addition, assume that the material estimated as being used at the start of each project will be equal to the actual material used during the project.
Each project will be allocated one project supervisor and a number of staff who will be scheduled before the project starts. The allocation of the staff will depend on their area(s) and level of building expertise. A member of staff may be allocated to many different tasks on various projects. A member of staff may be scheduled for the same project more than once (scheduled for more than one task).
Task Allocation list for Project A:
Supervisor: ST7 Fred Bloggs
Staff member Date Duration Task
ST1 L.Jones 10/11/22 14 hours Laying Drive at front of property
ST2 L. Morgan 10/11/22 14 hours Laying Drive at front of property
ST3 B. Smith 12/11/22 7 hours Excavating area at rear of
Property
ST4 G. Samuel 12/11/22 7 hours Excavating area at rear of
Property
ST1 L. Jones 12/11/22 21 hours Laying Patio at rear of property
ST2 L. Morgan 12/11/22 21 hours Laying Patio at rear of property
For simplicity, ignore the British weather and assume that the original schedule will always be adhered to. In addition, assume that staff will never need to be reassigned or rescheduled (no illnesses, unforeseen circumstances etc.).
For each task we need to record the amount of the material used in the task. A task may need a number of different materials; hardcore, patio slabs, cement etc and the amount of material to be used needs to be recorded. Again, for simplicity, assume that the amount assigned will always be the amount used. In addition, the labour hours spent on each task by each member of staff also needs to be recorded.
Each project is ‘costed' (priced) by the company in a very simplistic manner.
For each task:
(Material Used * Cost) + (Hours Worked*Labour rate of Staff member)
The above describes ‘in-house' tasks. Some projects may require specialist tasks that are ‘bought in' to the project (fountains, ponds etc.). These tasks still need to be scheduled, but the total cost is calculated by the specialist (who also provides all necessary materials for the task). A list of specialists is kept by the company together with details of their expertise.