1 | public class ProductLine {↵ | | 1 | public class Continent {↵
|
|
2 | private String id;↵ | | 2 | private Integer id;↵
|
3 | private String description;↵ | | 3 | private String name;↵
|
4 | private Set models = new HashSet();↵ | | 4 | private Set countries;↵
|
5 | ↵ | | |
|
6 | public String getDescription() {↵ | | 5 | public Integer getId() {↵
|
7 | return description;↵ | | 6 | return id;↵
|
8 | }↵ | | 7 | }↵
|
|
9 | public void setDescription(String description) {↵ | | 8 | public void set↵
|
10 | this.description = description↵ | | 9 | Id(Integer id) {↵
|
11 | ;↵ | | 10 | this.id = id;↵
|
12 | }↵ | | 11 | }↵
|
|
13 | public String getId() {↵ | | 12 | public String getName() {↵
|
14 | return id;↵ | | 13 | return name;↵
|
15 | }↵ | | 14 | }↵
|
|
16 | public void setId(String id) {↵ | | 15 | public void setName(String name) {↵
|
17 | this.id = id;↵ | | 16 | this.name = name;↵
|
18 | }↵ | | 17 | }↵
|
|
19 | public Set getModels() {↵ | | 18 | public Set getCountries() {↵
|
20 | return models;↵ | | 19 | return countries;↵
|
21 | }↵ | | 20 | }↵
|
|
22 | public void setModels(Set models) {↵ | | 21 | public void setCountries(Set countries) {↵
|
23 | this.models = models;↵ | | 22 | this.countries = countries;↵
|
24 | | | 23 |
|