1 | public class ProductLine {↵ | | 1 | public class ParentInfo {↵
|
| | | 2 |
↵
|
2 | private String id;↵ | | 3 | private Long id;
↵
|
3 | private String description;↵ | | 4 | private ↵
|
4 | private Set models = new HashSet();↵ | | |
|
5 | ↵ | | |
|
6 | public String getDescription(↵ | | 5 | Parent owner;↵
|
| | | 6 | private String info;↵
|
|
| | | 7 | public ParentInfo() {↵
|
| | | 8 | }↵
|
|
7 | ) {↵ | | 9 | public ParentInfo(String info) {
↵
|
8 | return description;↵ | | 10 | ↵
|
9 | }↵ | | |
|
10 | public void setDescription(String description↵ | | 11 | this.info = info;↵
|
| | | 12 | }↵
|
|
11 | ) {↵ | | 13 | public Long getId() {
↵
|
12 | this.description = description;↵ | | 14 | ↵
|
13 | }↵ | | |
|
14 | public String getId↵ | | 15 | return id;↵
|
| | | 16 | }↵
|
|
15 | () {↵ | | 17 | public Parent getOwner() {
↵
|
16 | return id;↵ | | 18 | return ↵
|
17 | }↵ | | 19 | owner;↵
|
| | | 20 | }↵
|
| | | 21 |
↵
|
18 | public void setId(String id) {↵ | | 22 | public void setOwner(Parent owner) {
↵
|
19 | this.id = id;↵ | | 23 | this.↵
|
20 | }↵ | | 24 | owner = owner;↵
|
| | | 25 | }↵
|
| | | 26 |
↵
|
21 | public Set getModels() {↵ | | 27 | public String getInfo() {
↵
|
22 | return models;↵ | | 28 | return ↵
|
23 | }↵ | | 29 | info;↵
|
| | | 30 | }↵
|
| | | 31 |
↵
|
24 | public void setModels(Set models) {↵ | | 32 | public void setInfo(String info) {
↵
|
25 | this.models = models;↵ | | 33 | this.info = info;
↵
|
26 | | | 34 |
|