Projekt

Obecné

Profil

Stáhnout (1.16 KB) Statistiky
| Větev: | Tag: | Revize:
1
package cz.zcu.yamanager.business.file.excel;
2

    
3
import java.util.List;
4

    
5
public class SheetAttendanceContent implements SheetContent {
6

    
7
    private List<AttendanceRecord> records;
8

    
9
    private final double sumOfEstimateHours;
10
    private final double sumOfWorkHours;
11
    private final double hoursPerWeek;
12
    private final double overtimeHours;
13

    
14
    public SheetAttendanceContent(
15
            List<AttendanceRecord> records,
16
            double sumOfEstimateHours,
17
            double sumOfWorkHours,
18
            double hoursPerWeek,
19
            double overtimeHours)
20
    {
21
        this.records = records;
22
        this.sumOfEstimateHours = sumOfEstimateHours;
23
        this.sumOfWorkHours = sumOfWorkHours;
24
        this.hoursPerWeek = hoursPerWeek;
25
        this.overtimeHours = overtimeHours;
26
    }
27

    
28
    public double getSumOfEstimateHours() {
29
        return sumOfEstimateHours;
30
    }
31

    
32
    public double getSumOfWorkHours() {
33
        return sumOfWorkHours;
34
    }
35

    
36
    public double getHoursPerWeek() {
37
        return hoursPerWeek;
38
    }
39

    
40
    public double getOvertimeHours() {
41
        return overtimeHours;
42
    }
43

    
44
    public List<AttendanceRecord> getRecords() {
45
        return records;
46
    }
47
}
(5-5/10)