1 | public class ProductLine {↵ | | 1 | public class Parent {↵
|
|
2 | private String id;↵ | | 2 | private Long id;↵
|
3 | private String description;↵ | | 3 | private S↵
|
4 | private Set models = new HashSet()↵ | | 4 | et deleteOrphanChildren;↵
|
5 | ;↵ | | 5 | private Set children;↵
|
6 | ↵ | | |
|
7 | public String getDescription() {↵ | | 6 | public Long getId() {↵
|
8 | return description;↵ | | 7 | return id;↵
|
9 | }↵ | | 8 | }↵
|
|
10 | public void setDescription(String description) {↵ | | 9 | public void set↵
|
11 | this.description = description↵ | | 10 | Id(Long id) {↵
|
12 | ;↵ | | 11 | this.id = id;↵
|
13 | }↵ | | 12 | }↵
|
|
14 | public String getId() {↵ | | 13 | public S↵
|
15 | return id↵ | | 14 | et getDeleteOrphanChildren() {↵
|
16 | ;↵ | | 15 | return deleteOrphanChildren;↵
|
17 | }↵ | | 16 | }↵
|
|
18 | public void setId(String id) {↵ | | 17 | public void set↵
|
19 | this.id = id↵ | | 18 | DeleteOrphanChildren(Set deleteOrphanChildren) {↵
|
20 | ;↵ | | 19 | this.deleteOrphanChildren = deleteOrphanChildren;↵
|
21 | }↵ | | 20 | }↵
|
|
22 | public Set getModels() {↵ | | 21 | public Set getChildren() {↵
|
23 | return models;↵ | | 22 | return children;↵
|
24 | }↵ | | 23 | }↵
|
|
25 | public void setModels(Set models) {↵ | | 24 | public void set↵
|
26 | this.models = models↵ | | 25 | Children(Set children) {↵
|
27 | ;↵ | | 26 | this.children = children;↵
|
28 | | | 27 |
|