1 | public class Account implements Serializable {↵ | | 1 | public class Being {↵
|
| | | 2 | private long id;↵
|
2 | private String accountId;↵ | | 3 | private String identity;↵
|
3 | private Person user;↵ | | 4 | private ↵
|
4 | private char type;↵ | | |
|
5 | /**↵ | | |
|
6 | * @return Returns the user.↵ | | |
|
7 | */↵ | | |
|
8 | public Person getUser() {↵ | | |
|
9 | return user;↵ | | |
|
10 | }↵ | | |
|
11 | /**↵ | | |
|
12 | * @param user The user to set.↵ | | |
|
13 | */↵ | | |
|
14 | public void setUser(Person user↵ | | 5 | String location;↵
|
| | | 6 | private String species;↵
|
| | | 7 | ↵
|
| | | 8 | public void setLocation(String location) {↵
|
| | | 9 | this.location = location;↵
|
| | | 10 | }↵
|
| | | 11 | public String getLocation() {↵
|
| | | 12 | return location;↵
|
| | | 13 | }↵
|
15 | ) {↵ | | 14 | public void setSpecies(String species) {↵
|
16 | this.user = user;↵ | | 15 | this.↵
|
17 | }↵ | | |
|
18 | /**↵ | | |
|
19 | * @return Returns the accountId.↵ | | |
|
20 | */↵ | | 16 | species = species;↵
|
| | | 17 | }↵
|
21 | public String getAccountId() {↵ | | 18 | public String getSpecies() {↵
|
22 | return accountId;↵ | | 19 | return ↵
|
23 | }↵ | | |
|
24 | /**↵ | | |
|
25 | * @param accountId The accountId to set.↵ | | |
|
26 | */↵ | | 20 | species;↵
|
| | | 21 | }↵
|
27 | public void setAccountId(String accountId) {↵ | | 22 | public void set↵
|
28 | this.accountId = accountId;↵ | | |
|
29 | }↵ | | |
|
30 | /**↵ | | |
|
31 | * @return Returns the type.↵ | | |
|
32 | */↵ | | |
|
33 | public char getType() {↵ | | |
|
34 | return type;↵ | | |
|
35 | }↵ | | |
|
36 | /**↵ | | |
|
37 | * @param type The type to set.↵ | | |
|
38 | */↵ | | |
|
39 | public void setType(char type) {↵ | | |
|
40 | this.type = type | | 23 | Identity(String identity) {↵
|
| | | 24 | this.identity = identity;↵
|
| | | 25 | }↵
|
| | | 26 | public String getIdentity() {↵
|
| | | 27 | return identity
|