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