1 | public class Document {↵ | | 1 | public class Account {↵
|
2 | private Long id;↵ | | 2 | private ↵
|
3 | private String location;↵ | | |
|
4 | private User own↵ | | 3 | String accountId;↵
|
| | | 4 | private Person user;↵
|
| | | 5 | private char type;↵
|
| | | 6 | /**↵
|
5 | er;↵ | | 7 | * @return Returns the user.↵
|
| | | 8 | */↵
|
6 | public Long getId() {↵ | | 9 | public Person getUser() {↵
|
7 | return id;↵ | | 10 | return user;↵
|
8 | }↵ | | 11 | }↵
|
| | | 12 | /**↵
|
| | | 13 | * @param user The user to set.↵
|
| | | 14 | */↵
|
9 | public void setId(Long id) {↵ | | 15 | public void set↵
|
10 | this.id = id;↵ | | |
|
11 | }↵ | | |
|
| | | 16 | User(Person user) {↵
|
| | | 17 | this.user = user;↵
|
| | | 18 | }↵
|
| | | 19 | /**↵
|
| | | 20 | * @return Returns the accountId.↵
|
| | | 21 | */↵
|
12 | public String getLocation() {↵ | | 22 | public String getAccountId() {↵
|
13 | return location;↵ | | 23 | return ↵
|
14 | }↵ | | |
|
| | | 24 | accountId;↵
|
| | | 25 | }↵
|
| | | 26 | /**↵
|
| | | 27 | * @param accountId The accountId to set.↵
|
| | | 28 | */↵
|
15 | public void setLocation(String location) {↵ | | 29 | public void set↵
|
16 | this.location = location;↵ | | |
|
17 | }↵ | | |
|
| | | 30 | AccountId(String accountId) {↵
|
| | | 31 | this.accountId = accountId;↵
|
| | | 32 | }↵
|
| | | 33 | /**↵
|
| | | 34 | * @return Returns the type.↵
|
| | | 35 | */↵
|
18 | public User getOwner() {↵ | | 36 | public char getType() {↵
|
19 | return owner;↵ | | 37 | return type;↵
|
20 | }↵ | | 38 | }↵
|
| | | 39 | /**↵
|
| | | 40 | * @param type The type to set.↵
|
| | | 41 | */↵
|
21 | public void setOwner(User owner) {↵ | | 42 | public void set↵
|
22 | this.owner = owner↵ | | 43 | Type(char type) {↵
|
23 | ;↵ | | 44 | this.type = type;↵
|
24 | | | 45 |
|