1 | public static final class Component {↵ | | 1 | public class Employee implements Serializable {↵
|
2 | private Calendar cal;↵ | | 2 | private Integer id;↵
|
3 | private Float floaty;↵ | | 3 | private ↵
|
4 | /**↵ | | |
|
5 | * Returns the cal.↵ | | |
|
6 | * @return Calendar↵ | | |
|
7 | */↵ | | |
|
8 | ↵ | | 4 | Collection employers;↵
|
|
|
9 | public Calendar getCal() {↵ | | 5 | public Integer getId() {↵
|
10 | return cal;↵ | | 6 | return id;↵
|
11 | }↵ | | 7 | }↵
|
12 | ↵ | | |
|
13 | /**↵ | | |
|
14 | * Sets the cal.↵ | | |
|
15 | * @param cal The cal to set↵ | | |
|
16 | */↵ | | |
|
17 | public void setCal(Calendar cal) {↵ | | |
|
18 | this.cal = cal;↵ | | |
|
19 | }↵ | | |
|
20 | ↵ | | |
|
21 | /**↵ | | |
|
22 | * Returns the floaty.↵ | | |
|
23 | * @return Float↵ | | |
|
24 | */↵ | | |
|
| | | 8 | public void setId(Integer integer) {↵
|
| | | 9 | id = integer;↵
|
| | | 10 | }↵
|
| | | 11 | ↵
|
25 | ↵ | | 12 | ↵
|
26 | public Float getFloaty() {↵ | | 13 | public Collection getEmployers() {↵
|
27 | return floaty;↵ | | 14 | return ↵
|
28 | }↵ | | |
|
29 | ↵ | | |
|
30 | /**↵ | | |
|
31 | * Sets the floaty.↵ | | |
|
32 | * @param floaty The floaty to set↵ | | |
|
33 | */↵ | | 15 | employers;↵
|
| | | 16 | }↵
|
34 | ↵ | | 17 | ↵
|
35 | public void setFloaty(Float floaty) {↵ | | 18 | public void setEmployers(Collection employers) {↵
|
36 | this.floaty = floaty | | 19 | this.employers = employers
|