01: package org.emforge.xfer;
02:
03: import java.util.Date;
04:
05: /**
06: * EmForge-Specific User Details. Added some extra fields, required for EmForge to standard Acegi UserDetails Interface
07: *
08: * @todo rename to EmForgeUser
09: * @todo the interface should extend {@link EmForgeObject}
10: */
11: public class EmForgeUserTO {
12:
13: private String email;
14: private String displayName;
15: private EmForgeUserTO manager;
16: private boolean anonymous;
17: private String vcUserName;
18: private String vcPassword;
19: private Date registeredAt;
20:
21: public String getEmail() {
22: return email;
23: }
24:
25: public void setEmail(String email) {
26: this .email = email;
27: }
28:
29: public String getDisplayName() {
30: return displayName;
31: }
32:
33: public void setDisplayName(String displayName) {
34: this .displayName = displayName;
35: }
36:
37: public EmForgeUserTO getManager() {
38: return manager;
39: }
40:
41: public void setManager(EmForgeUserTO manager) {
42: this .manager = manager;
43: }
44:
45: public boolean isAnonymous() {
46: return anonymous;
47: }
48:
49: public void setAnonymous(boolean anonymous) {
50: this .anonymous = anonymous;
51: }
52:
53: public String getVcUserName() {
54: return vcUserName;
55: }
56:
57: public void setVcUserName(String vcUserName) {
58: this .vcUserName = vcUserName;
59: }
60:
61: public String getVcPassword() {
62: return vcPassword;
63: }
64:
65: public void setVcPassword(String vcPassword) {
66: this .vcPassword = vcPassword;
67: }
68:
69: public Date getRegisteredAt() {
70: return registeredAt;
71: }
72:
73: public void setRegisteredAt(Date registeredAt) {
74: this.registeredAt = registeredAt;
75: }
76: }
|