%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
net.sf.mindoro.model.Deliverable |
|
|
1 | /* |
|
2 | * Created on Jun 8, 2005 |
|
3 | * |
|
4 | * A deliverable in a Project. |
|
5 | */ |
|
6 | package net.sf.mindoro.model; |
|
7 | ||
8 | import java.util.Date; |
|
9 | import java.util.Set; |
|
10 | ||
11 | /** |
|
12 | * A deliverable in a Project. |
|
13 | * |
|
14 | * @author aisrael |
|
15 | * @hibernate.class table="deliverable" |
|
16 | */ |
|
17 | 1 | public class Deliverable { |
18 | ||
19 | private Long id; |
|
20 | ||
21 | private Project project; |
|
22 | ||
23 | private String name; |
|
24 | ||
25 | private String description; |
|
26 | ||
27 | private Date targetDate; |
|
28 | ||
29 | private Set requirements; |
|
30 | ||
31 | /** |
|
32 | * @return Returns the id. |
|
33 | * @hibernate.id column="id" generator-class="native" |
|
34 | */ |
|
35 | public final Long getId() { |
|
36 | 0 | return this.id; |
37 | } |
|
38 | ||
39 | /** |
|
40 | * @param id |
|
41 | * The id to set. |
|
42 | */ |
|
43 | public final void setId(class="keyword">final Long id) { |
|
44 | 0 | this.id = id; |
45 | 0 | } |
46 | ||
47 | /** |
|
48 | * @return Returns the project. |
|
49 | * @hibernate.many-to-one class="net.sf.mindoro.model.Project" |
|
50 | * column="project_id" |
|
51 | */ |
|
52 | public final Project getProject() { |
|
53 | 1 | return this.project; |
54 | } |
|
55 | ||
56 | /** |
|
57 | * @param project |
|
58 | * The project to set. |
|
59 | */ |
|
60 | public final void setProject(class="keyword">final Project project) { |
|
61 | 1 | this.project = project; |
62 | 1 | } |
63 | ||
64 | /** |
|
65 | * @return Returns the name. |
|
66 | * @hibernate.property column="name" length="80" not-null="true" |
|
67 | */ |
|
68 | public final String getName() { |
|
69 | 1 | return this.name; |
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param name |
|
74 | * The name to set. |
|
75 | */ |
|
76 | public final void setName(class="keyword">final String name) { |
|
77 | 1 | this.name = name; |
78 | 1 | } |
79 | ||
80 | /** |
|
81 | * @return Returns the description. |
|
82 | * @hibernate.property column="description" type="text" not-null="false" |
|
83 | */ |
|
84 | public final String getDescription() { |
|
85 | 1 | return this.description; |
86 | } |
|
87 | ||
88 | /** |
|
89 | * @param description |
|
90 | * The description to set. |
|
91 | */ |
|
92 | public final void setDescription(class="keyword">final String description) { |
|
93 | 1 | this.description = description; |
94 | 1 | } |
95 | ||
96 | /** |
|
97 | * @return Returns the targetDate. |
|
98 | * @hibernate.property column="targetDate" not-null="false" |
|
99 | */ |
|
100 | public final Date getTargetDate() { |
|
101 | 1 | return this.targetDate; |
102 | } |
|
103 | ||
104 | /** |
|
105 | * @param targetDate |
|
106 | * The targetDate to set. |
|
107 | */ |
|
108 | public final void setTargetDate(class="keyword">final Date targetDate) { |
|
109 | 1 | this.targetDate = targetDate; |
110 | 1 | } |
111 | ||
112 | /** |
|
113 | * @return Returns the requirements. |
|
114 | * @hibernate.collection-one-to-many class="net.sf.mindoro.model.Requirement" |
|
115 | */ |
|
116 | public final Set getRequirements() { |
|
117 | 0 | return this.requirements; |
118 | } |
|
119 | ||
120 | /** |
|
121 | * @param requirements |
|
122 | * The requirements to set. |
|
123 | */ |
|
124 | public final void setRequirements(class="keyword">final Set requirements) { |
|
125 | 0 | this.requirements = requirements; |
126 | 0 | } |
127 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |