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