1 | public class ParentInfoAssigned {↵ | | 1 | public class Speech {↵
|
2 | private Long id;↵ | | 2 | private Integer id;↵
|
3 | private ParentAssigned owner;↵ | | 3 | private ↵
|
4 | private String info;↵ | | |
|
|
5 | public ParentInfoAssigned() {↵ | | |
|
6 | }↵ | | |
|
|
7 | public ParentInfoAssigned(String info) {↵ | | |
|
8 | this.info = info;↵ | | |
|
9 | }↵ | | |
|
|
10 | public Long getId() {↵ | | |
|
11 | return↵ | | 4 | String name;↵
|
| | | 5 | private Double length;↵
|
|
| | | 6 | public Integer getId() {↵
|
| | | 7 | return id;↵
|
| | | 8 | }↵
|
|
| | | 9 | public void setId(Integer id) {↵
|
12 | id;↵ | | 10 | this.id = id;↵
|
13 | }↵ | | 11 | }↵
|
|
14 | public ParentAssigned getOwner() {↵ | | 12 | public Double getLength() {↵
|
15 | return owner;↵ | | 13 | return length;↵
|
16 | }↵ | | 14 | }↵
|
|
17 | public void setOwner(ParentAssigned owner) {↵ | | 15 | public void set↵
|
18 | this.owner = owner↵ | | 16 | Length(Double length) {↵
|
19 | ;↵ | | 17 | this.length = length;↵
|
20 | }↵ | | 18 | }↵
|
|
21 | public String getInfo() {↵ | | 19 | public String getName() {↵
|
22 | return info;↵ | | 20 | return name;↵
|
23 | }↵ | | 21 | }↵
|
|
24 | public void setInfo(String info) {↵ | | 22 | public void setName(String name) {↵
|
25 | this.info = info | | 23 | this.name = name
|