1 | public abstract class ItemImpl implements Item {↵ | | 1 | public class Competition {
↵
|
2 | private Long id;↵ | | 2 | private Integer id;↵
|
| | | 3 |
↵
|
3 | private String name;↵ | | 4 | private ↵
|
4 | /**↵ | | |
|
5 | * @return Returns the id.↵ | | |
|
6 | */↵ | | 5 | List competitors = new ArrayList();↵
|
|
| | | 6 |
↵
|
7 | public Long getId() {↵ | | 7 | public Integer getId() {
↵
|
8 | return id;↵ | | 8 | return id;
↵
|
9 | }↵ | | 9 | }↵
|
10 | /**↵ | | |
|
11 | * @param id The id to set.↵ | | |
|
12 | */↵ | | |
|
| | | 10 |
↵
|
13 | public void setId(Long id) {↵ | | 11 | public void setId(Integer id) {
↵
|
14 | this.id = id;↵ | | 12 | this.id = id;
↵
|
15 | }↵ | | 13 | }↵
|
16 | /**↵ | | |
|
17 | * @return Returns the name.↵ | | |
|
18 | */↵ | | |
|
| | | 14 |
↵
|
19 | public String getName() {↵ | | 15 | public List getCompetitors() {
↵
|
20 | return name;↵ | | 16 | return ↵
|
21 | }↵ | | |
|
22 | /**↵ | | |
|
23 | * @param name The name to set.↵ | | |
|
24 | */↵ | | |
|
25 | public void setName(String name↵ | | 17 | competitors;↵
|
| | | 18 | }↵
|
|
26 | ) {↵ | | 19 | public void setCompetitors(List competitors) {
↵
|
27 | this.name = name;↵ | | 20 | this.competitors = competitors;
↵
|
28 | | | 21 |
|