1 | public class Competition {
↵ | | 1 | public class Part implements Serializable {↵
|
2 | private Integer id;↵ | | 2 | private ↵
|
|
3 | private List competitors = new ArrayList();↵ | | |
|
|
|
4 | public Integer getId↵ | | 3 | String name;↵
|
| | | 4 | private String description;↵
|
5 | () {
↵ | | 5 | public String getDescription() {↵
|
6 | return id;↵ | | 6 | return ↵
|
7 | }↵ | | |
|
8 |
↵ | | 7 | description;↵
|
| | | 8 | }↵
|
9 | public void setId(Integer id) {
↵ | | 9 | public void setDescription(String description) {↵
|
10 | this.id = id;↵ | | 10 | this.↵
|
11 | }↵ | | |
|
12 |
↵ | | 11 | description = description;↵
|
| | | 12 | }↵
|
13 | public List getCompetitors() {
↵ | | 13 | public String getName() {↵
|
14 | return competitors;↵ | | 14 | return ↵
|
15 | }↵ | | |
|
|
16 | public void setCompetitors(List competitors↵ | | 15 | name;↵
|
| | | 16 | }↵
|
17 | ) {
↵ | | 17 | public void setName(String name) {↵
|
18 | this.competitors = competitors;
↵ | | 18 | this.name = name;↵
|
19 | | | 19 |
|