1 | public class Document {
↵ | | 1 | public class Continent {↵
|
2 | private Long id;
↵ | | 2 | private Integer id;↵
|
3 | private String location;↵ | | 3 | private String ↵
|
4 | private User owner;↵ | | |
|
5 |
↵ | | 4 | name;↵
|
| | | 5 | private Set countries;↵
|
|
6 | public Long getId() {
↵ | | 6 | public Integer getId() {↵
|
7 | return id;
↵ | | 7 | return id;↵
|
8 | }↵ | | 8 | }↵
|
9 |
↵ | | |
|
|
10 | public void setId(Long id) {
↵ | | 9 | public void setId(Integer id) {↵
|
11 | this.id = id;
↵ | | 10 | this.id = id;↵
|
12 | }↵ | | 11 | }↵
|
13 |
↵ | | |
|
|
14 | public String getLocation() {
↵ | | 12 | public String getName() {↵
|
15 | return location;↵ | | 13 | return ↵
|
16 | }↵ | | |
|
17 |
↵ | | 14 | name;↵
|
| | | 15 | }↵
|
|
18 | public void setLocation(String location) {
↵ | | 16 | public void setName(String name) {↵
|
19 | this.location = location;↵ | | 17 | this.↵
|
20 | }↵ | | |
|
21 |
↵ | | 18 | name = name;↵
|
| | | 19 | }↵
|
|
22 | public User getOwner() {
↵ | | 20 | public Set getCountries() {↵
|
23 | return owner;↵ | | 21 | return ↵
|
24 | }↵ | | |
|
25 |
↵ | | 22 | countries;↵
|
| | | 23 | }↵
|
|
26 | public void setOwner(User owner) {
↵ | | 24 | public void setCountries(Set countries) {↵
|
27 | this.owner = owner;
↵ | | 25 | this.countries = countries;↵
|
28 | | | 26 |
|