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