%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
be.dvw.administration.model.SponsorTemporal |
|
|
1 | /* |
|
2 | * Created on Jun 21, 2005 |
|
3 | */ |
|
4 | ||
5 | package be.dvw.administration.model; |
|
6 | ||
7 | import java.util.Calendar; |
|
8 | ||
9 | /** |
|
10 | * @author Gregory Van Seghbroeck |
|
11 | * |
|
12 | */ |
|
13 | 0 | public class SponsorTemporal implements DvwNumberTemporal { |
14 | private Sponsor sponsor; |
|
15 | ||
16 | private int id; |
|
17 | private Calendar startDate; |
|
18 | private Calendar endDate; |
|
19 | private int dvwNumber; |
|
20 | ||
21 | ||
22 | ||
23 | /** |
|
24 | * @see be.dvw.administratie.model.Temporeel#getObject() |
|
25 | */ |
|
26 | public Object getObject() { |
|
27 | 0 | return getSponsor(); |
28 | } |
|
29 | ||
30 | public Calendar getEndDate() { |
|
31 | 0 | return endDate; |
32 | } |
|
33 | ||
34 | public void setEndDate(Calendar endDate) { |
|
35 | 0 | this.endDate = endDate; |
36 | 0 | } |
37 | ||
38 | public int getId() { |
|
39 | 0 | return id; |
40 | } |
|
41 | ||
42 | public void setId(int id) { |
|
43 | 0 | this.id = id; |
44 | 0 | } |
45 | ||
46 | public Calendar getStartDate() { |
|
47 | 0 | return startDate; |
48 | } |
|
49 | ||
50 | public void setStartDate(Calendar startDate) { |
|
51 | 0 | this.startDate = startDate; |
52 | 0 | } |
53 | ||
54 | ||
55 | /** |
|
56 | * @see be.dvw.administratie.model.DvwNumberTemporal#getDvwNumber() |
|
57 | */ |
|
58 | public int getDvwNumber() { |
|
59 | 0 | return dvwNumber; |
60 | } |
|
61 | /** |
|
62 | * @see be.dvw.administratie.model.DvwNumberTemporal#setDvwNumber() |
|
63 | */ |
|
64 | public void setDvwNumber(int dvwNumber) { |
|
65 | 0 | this.dvwNumber = dvwNumber; |
66 | 0 | } |
67 | ||
68 | ||
69 | /** |
|
70 | * @return Returns the sponsor. |
|
71 | */ |
|
72 | public Sponsor getSponsor() { |
|
73 | 0 | return sponsor; |
74 | } |
|
75 | /** |
|
76 | * @param sponsor The sponsor to set. |
|
77 | */ |
|
78 | public void setSponsor(Sponsor sponsor) { |
|
79 | 0 | this.sponsor = sponsor; |
80 | 0 | } |
81 | ||
82 | ||
83 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |