1 | public class Child {↵ | | 1 | public class Speech {
↵
|
2 | private Long id;↵ | | 2 | private Integer id;
↵
|
3 | private String name;↵ | | 3 | private String name;
↵
|
4 | private Parent parent;↵ | | 4 | private ↵
|
5 | /**↵ | | |
|
6 | * @return Returns the id.↵ | | |
|
7 | */↵ | | 5 | Double length;↵
|
| | | 6 |
↵
|
8 | public Long getId() {↵ | | 7 | public Integer getId() {
↵
|
9 | return id;↵ | | 8 | return id;
↵
|
10 | }↵ | | 9 | }↵
|
11 | /**↵ | | |
|
12 | * @param id The id to set.↵ | | |
|
13 | */↵ | | |
|
| | | 10 |
↵
|
14 | public void setId(Long id) {↵ | | 11 | public void setId(Integer id) {
↵
|
15 | this.id = id;↵ | | 12 | this.id = id;
↵
|
16 | }↵ | | 13 | }↵
|
17 | /**↵ | | |
|
18 | * @return Returns the name.↵ | | |
|
19 | */↵ | | |
|
| | | 14 |
↵
|
20 | public String getName() {↵ | | 15 | public Double getLength() {
↵
|
21 | return name;↵ | | 16 | return ↵
|
22 | }↵ | | |
|
23 | /**↵ | | |
|
24 | * @param name The name to set.↵ | | |
|
25 | */↵ | | |
|
26 | public void setName(String name↵ | | 17 | length;↵
|
| | | 18 | }↵
|
|
27 | ) {↵ | | 19 | public void setLength(Double length) {
↵
|
28 | this.name = name;↵ | | 20 | this.↵
|
29 | }↵ | | |
|
30 | /**↵ | | |
|
31 | * @return Returns the parent.↵ | | |
|
32 | */↵ | | 21 | length = length;↵
|
| | | 22 | }↵
|
| | | 23 |
↵
|
33 | public Parent getParent() {↵ | | 24 | public String getName() {
↵
|
34 | return parent;↵ | | 25 | return ↵
|
35 | }↵ | | |
|
36 | /**↵ | | |
|
37 | * @param parent The parent to set.↵ | | |
|
38 | */↵ | | |
|
39 | public void setParent(Parent parent↵ | | 26 | name;↵
|
| | | 27 | }↵
|
|
40 | ) {↵ | | 28 | public void setName(String name) {
↵
|
41 | this.parent = parent;↵ | | 29 | this.name = name;
↵
|
42 | | | 30 |
|