%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
net.sf.mindoro.model.Developer |
|
|
1 | /* |
|
2 | * Created on Jun 9, 2005 |
|
3 | * |
|
4 | * A Developer (Role) |
|
5 | */ |
|
6 | package net.sf.mindoro.model; |
|
7 | ||
8 | import java.util.Set; |
|
9 | ||
10 | /** |
|
11 | * A Developer (Role) |
|
12 | * |
|
13 | * @author aisrael |
|
14 | * @hibernate.class table="developer" |
|
15 | */ |
|
16 | 1 | public class Developer { |
17 | ||
18 | private Long id; |
|
19 | ||
20 | private Person person; |
|
21 | ||
22 | private Set tasks; |
|
23 | ||
24 | /** |
|
25 | * @return Returns the id. |
|
26 | * @hibernate.id generator-class="foreign" |
|
27 | * @hibernate.generator-param name="property" value="person" |
|
28 | */ |
|
29 | public final Long getId() { |
|
30 | 0 | return this.id; |
31 | } |
|
32 | ||
33 | /** |
|
34 | * @param id |
|
35 | * The id to set. |
|
36 | */ |
|
37 | public final void setId(class="keyword">final Long id) { |
|
38 | 0 | this.id = id; |
39 | 0 | } |
40 | ||
41 | /** |
|
42 | * @return Returns the person. |
|
43 | * @hibernate.one-to-one class="net.sf.mindoro.model.Person" |
|
44 | * constrained="true" |
|
45 | */ |
|
46 | public final Person getPerson() { |
|
47 | 1 | return this.person; |
48 | } |
|
49 | ||
50 | /** |
|
51 | * @param person |
|
52 | * The person to set. |
|
53 | */ |
|
54 | public final void setPerson(class="keyword">final Person person) { |
|
55 | 1 | this.person = person; |
56 | 1 | } |
57 | ||
58 | /** |
|
59 | * @return Returns the tasks. |
|
60 | * @hibernate.collection-one-to-many class="net.sf.mindoro.model.Task" |
|
61 | */ |
|
62 | public final Set getTasks() { |
|
63 | 0 | return this.tasks; |
64 | } |
|
65 | ||
66 | /** |
|
67 | * @param tasks |
|
68 | * The tasks to set. |
|
69 | */ |
|
70 | public final void setTasks(class="keyword">final Set tasks) { |
|
71 | 0 | this.tasks = tasks; |
72 | 0 | } |
73 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |