1 | public class Item {↵ | | 1 | public class ↵
|
2 | ↵ | | 2 | Continent {↵
|
3 | private Long id;↵ | | 3 | private Integer id;↵
|
4 | private String name;↵ | | 4 | private String name;↵
|
5 | private String description;↵ | | 5 | private S↵
|
|
6 | public String getDescription() {↵ | | |
|
7 | return description;↵ | | |
|
8 | }↵ | | |
|
|
9 | public void setDescription(String description) {↵ | | |
|
10 | this.description = description;↵ | | |
|
11 | }↵ | | |
|
|
12 | ↵ | | 6 | et countries;↵
|
|
| | | 7 | public Integer getId() {↵
|
| | | 8 | return id;↵
|
| | | 9 | }↵
|
|
| | | 10 | public void setId(Integer id) {↵
|
| | | 11 | this.id = id;↵
|
| | | 12 | }↵
|
|
13 | public Long getId() {↵ | | 13 | public String getName() {↵
|
14 | return id;↵ | | |
|
15 | }↵ | | |
|
|
16 | public void setId(Long id) {↵ | | |
|
17 | this.id = id;↵ | | |
|
18 | }↵ | | |
|
|
19 | public String getName() {↵ | | |
|
20 | return name;↵ | | |
|
21 | }↵ | | |
|
|
22 | ↵ | | 14 | return name;↵
|
| | | 15 | }↵
|
|
| | | 16 | public void setName(String name) {↵
|
| | | 17 | this.name = name;↵
|
| | | 18 | }↵
|
|
| | | 19 | public Set getCountries() {↵
|
| | | 20 | return countries;↵
|
| | | 21 | }↵
|
|
23 | public void setName(String name) {↵ | | 22 | public void set↵
|
24 | this.name = name;↵ | | |
|
25 | | | 23 | Countries(Set countries) {↵
|
| | | 24 | this.countries = countries;↵
|
| | | 25 |
|