1 | public class Parent {↵ | | 1 | public class Speech {
↵
|
2 | private Long id;↵ | | 2 | private Integer id;
↵
|
3 | private Set deleteOrphanChildren;↵ | | 3 | private S↵
|
4 | private Set children;↵ | | |
|
| | | 4 | tring name;↵
|
| | | 5 | private Double length;↵
|
| | | 6 |
↵
|
5 | public Long getId() {↵ | | 7 | public Integer getId() {
↵
|
6 | return id;↵ | | 8 | return id;
↵
|
7 | }↵ | | 9 | }↵
|
|
| | | 10 |
↵
|
8 | public void setId(Long id) {↵ | | 11 | public void setId(Integer id) {
↵
|
9 | this.id = id;↵ | | 12 | this.id = id;
↵
|
10 | }↵ | | 13 | }↵
|
|
| | | 14 |
↵
|
11 | public Set getDeleteOrphanChildren() {↵ | | 15 | public Double getLength() {
↵
|
12 | return deleteOrphanChildren;↵ | | 16 | return ↵
|
13 | }↵ | | |
|
|
14 | public void setDeleteOrphanChildren(Set deleteOrphanChildren↵ | | 17 | length;↵
|
| | | 18 | }↵
|
|
15 | ) {↵ | | 19 | public void setLength(Double length) {
↵
|
16 | this.deleteOrphanChildren = deleteOrphanChildren;↵ | | 20 | this.↵
|
17 | }↵ | | |
|
|
18 | public Set getChildren↵ | | 21 | length = length;↵
|
| | | 22 | }↵
|
|
19 | () {↵ | | 23 | public String getName() {
↵
|
20 | return children;↵ | | 24 | return ↵
|
21 | }↵ | | |
|
| | | 25 | name;↵
|
| | | 26 | }↵
|
| | | 27 |
↵
|
22 | public void setChildren(Set children) {↵ | | 28 | public void setName(String name) {
↵
|
23 | this.children = children;↵ | | 29 | this.name = name;
↵
|
24 | | | 30 |
|