1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.ibatis.submitted.complex_property;
17
18 public class User {
19 private Long id;
20
21
22
23
24 private String username;
25
26
27
28
29 private EncryptedString password;
30
31 boolean administrator;
32
33 public User() {
34 setUsername(new String());
35 setPassword(new EncryptedString());
36 setAdministrator(false);
37 }
38
39 public String getUsername() {
40 return username;
41 }
42
43 public void setUsername(String arg) {
44 this.username = arg;
45 }
46
47 public EncryptedString getPassword() {
48 return password;
49 }
50
51 public void setPassword(EncryptedString arg) {
52 this.password = arg;
53 }
54
55 public Long getId() {
56 return id;
57 }
58
59 public void setId(Long oid) {
60 this.id = oid;
61 }
62
63 public boolean isAdministrator() {
64 return administrator;
65 }
66
67 public void setAdministrator(boolean arg) {
68 this.administrator = arg;
69 }
70 }