1 | public abstract class ItemImpl implements Item {↵ | | 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 | ↵
|
11 | /**↵ | | 12 | /**↵
|
12 | ↵ | | 13 | * Sets the cal.↵
|
13 | * @param id The id to set.↵ | | 14 | * @param cal The cal to set↵
|
14 | */↵ | | 15 | */↵
|
15 | public void setId(Long id) {↵ | | 16 | public void setCal(Calendar cal) {↵
|
16 | this.id = id;↵ | | 17 | this.cal = cal;↵
|
17 | }↵ | | 18 | }↵
|
18 | ↵ | | 19 | ↵
|
19 | /**↵ | | 20 | /**↵
|
20 | * @return Returns the name.↵ | | 21 | * Returns the floaty.↵
|
| | | 22 | * @return Float↵
|
21 | */↵ | | 23 | */↵
|
22 | public String getName() {↵ | | 24 | public Float getFloaty() {↵
|
23 | return name;↵ | | 25 | return floaty;↵
|
24 | }↵ | | 26 | }↵
|
25 | ↵ | | 27 | ↵
|
26 | /**↵ | | 28 | /**↵
|
27 | ↵ | | 29 | * Sets the floaty.↵
|
28 | * @param name The name to set.↵ | | 30 | * @param floaty The floaty to set↵
|
29 | */↵ | | 31 | */↵
|
30 | public void setName(String name) {↵ | | 32 | public void setFloaty(Float floaty) {↵
|
31 | this.name = name;↵ | | 33 | this.floaty = floaty;↵
|
32 | | | 34 |
|