01: package org.obe.worklist;
02:
03: import java.io.Serializable;
04:
05: /**
06: * @author Adrian Price
07: */
08: public class SummaryBean implements Serializable {
09: private static final long serialVersionUID = 7836221340190915781L;
10:
11: private final int _openWorkItemCount;
12: private final int _suspendedWorkItemCount;
13: private final int _undefinedWorkItemCount;
14: private final int _normalWorkItemCount;
15: private final int _warningWorkItemCount;
16: private final int _overdueWorkItemCount;
17:
18: public SummaryBean(int openWorkItemCount,
19: int suspendedWorkItemCount, int undefinedWorkItemCount,
20: int normalWorkItemCount, int warningWorkItemCount,
21: int overdueWorkItemCount) {
22:
23: _openWorkItemCount = openWorkItemCount;
24: _suspendedWorkItemCount = suspendedWorkItemCount;
25: _undefinedWorkItemCount = undefinedWorkItemCount;
26: _normalWorkItemCount = normalWorkItemCount;
27: _warningWorkItemCount = warningWorkItemCount;
28: _overdueWorkItemCount = overdueWorkItemCount;
29: }
30:
31: public int getOpenWorkItemCount() {
32: return _openWorkItemCount;
33: }
34:
35: public int getSuspendedWorkItemCount() {
36: return _suspendedWorkItemCount;
37: }
38:
39: public int getUndefinedWorkItemCount() {
40: return _undefinedWorkItemCount;
41: }
42:
43: public int getNormalWorkItemCount() {
44: return _normalWorkItemCount;
45: }
46:
47: public int getWarningWorkItemCount() {
48: return _warningWorkItemCount;
49: }
50:
51: public int getOverdueWorkItemCount() {
52: return _overdueWorkItemCount;
53: }
54: }
|