1 | public class Account implements Serializable {↵ | | 1 | public class Speech {
↵
|
2 | private String accountId;↵ | | 2 | private Integer id;
↵
|
3 | private Person user;↵ | | 3 | private ↵
|
4 | private char type;↵ | | |
|
5 | /**↵ | | |
|
6 | * @return Returns the user.↵ | | |
|
7 | */↵ | | |
|
8 | public Person getUser↵ | | 4 | String name;↵
|
| | | 5 | private Double length;↵
|
|
9 | () {↵ | | 6 | public Integer getId() {
↵
|
10 | return user;↵ | | 7 | return ↵
|
11 | }↵ | | |
|
12 | /**↵ | | |
|
13 | * @param user The user to set.↵ | | |
|
14 | */↵ | | 8 | id;↵
|
| | | 9 | }↵
|
| | | 10 |
↵
|
15 | public void setUser(Person user) {↵ | | 11 | public void setId(Integer id) {
↵
|
16 | this.user = user;↵ | | 12 | this.↵
|
17 | }↵ | | |
|
18 | /**↵ | | |
|
19 | * @return Returns the accountId.↵ | | |
|
20 | */↵ | | |
|
21 | public String getAccountId↵ | | 13 | id = id;↵
|
| | | 14 | }↵
|
|
22 | () {↵ | | 15 | public Double getLength() {
↵
|
23 | return accountId;↵ | | 16 | return ↵
|
24 | }↵ | | |
|
25 | /**↵ | | |
|
26 | * @param accountId The accountId to set.↵ | | |
|
27 | */↵ | | |
|
28 | public void setAccountId(String accountId↵ | | 17 | length;↵
|
| | | 18 | }↵
|
|
29 | ) {↵ | | 19 | public void setLength(Double length) {
↵
|
30 | this.accountId = accountId;↵ | | 20 | this.↵
|
31 | }↵ | | |
|
32 | /**↵ | | |
|
33 | * @return Returns the type.↵ | | |
|
34 | */↵ | | 21 | length = length;↵
|
| | | 22 | }↵
|
| | | 23 |
↵
|
35 | public char getType() {↵ | | 24 | public String getName() {
↵
|
36 | return type;↵ | | 25 | return name;
↵
|
37 | }↵ | | 26 | }↵
|
38 | /**↵ | | |
|
39 | * @param type The type to set.↵ | | |
|
40 | */↵ | | |
|
| | | 27 |
↵
|
41 | public void setType(char type) {↵ | | 28 | public void setName(String name) {
↵
|
42 | this.type = type;↵ | | 29 | this.name = name;
↵
|
43 | | | 30 |
|