01: package poker.data.user;
02:
03: import com.lutris.appserver.server.user.User;
04:
05: import poker.spec.user.PlayerDO;
06:
07: /**
08: *
09: * EnhyDraw!, beta 4, 5/21/99
10: *
11: * Copyright 1999, Larry Wolcot & Daryl Tempesta
12: * ALL rights reserved. Not for commercial use
13: * without written permission from both authors.
14: *
15: * Generic Player Data Object
16: */
17: public class PlayerDOImpl implements PlayerDO, User,
18: java.io.Serializable {
19: private String name = "";
20: private String password = "";
21: private String email = "";
22:
23: public PlayerDOImpl(String name, String password) {
24: this .name = name;
25: this .password = password;
26: }
27:
28: //Generic encapsulation methods
29: public void setName(String name) {
30: this .name = name;
31: }
32:
33: public void setEmail(String email) {
34: this .email = email;
35: }
36:
37: public void setPassword(String password) {
38: this .password = password;
39: }
40:
41: public String getName() {
42: return name;
43: }
44:
45: public String getEmail() {
46: return email;
47: }
48:
49: public String getPassword() {
50: return password;
51: }
52:
53: }
|