1 | public class Speech {
↵ | | 1 | public class Continent {↵
|
2 | private Integer id;
↵ | | 2 | private Integer id;↵
|
3 | private String name;
↵ | | 3 | private String name;↵
|
4 | private Double length;↵ | | 4 | private ↵
|
5 |
↵ | | 5 | Set countries;↵
|
|
6 | public Integer getId() {
↵ | | 6 | public Integer getId() {↵
|
7 | return id;
↵ | | 7 | return id;↵
|
8 | }↵ | | 8 | }↵
|
9 |
↵ | | |
|
|
10 | public void setId(Integer id) {
↵ | | 9 | public void setId(Integer id) {↵
|
11 | this.id = id;
↵ | | 10 | this.id = id;↵
|
12 | }↵ | | 11 | }↵
|
13 |
↵ | | |
|
|
14 | public Double getLength() {
↵ | | 12 | public String getName() {↵
|
15 | return length;↵ | | 13 | return ↵
|
16 | }↵ | | |
|
17 |
↵ | | 14 | name;↵
|
| | | 15 | }↵
|
|
18 | public void setLength(Double length) {
↵ | | 16 | public void setName(String name) {↵
|
19 | this.length = length;↵ | | 17 | this.↵
|
20 | }↵ | | |
|
|
21 | public String getName↵ | | 18 | name = name;↵
|
| | | 19 | }↵
|
|
22 | () {
↵ | | 20 | public Set getCountries() {↵
|
23 | return name;↵ | | 21 | return ↵
|
24 | }↵ | | |
|
25 |
↵ | | 22 | countries;↵
|
| | | 23 | }↵
|
|
26 | public void setName(String name) {
↵ | | 24 | public void setCountries(Set countries) {↵
|
27 | this.name = name | | 25 | this.countries = countries
|