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