01: /*
02: * Copyright (C) 2006 Erik Swenson - erik@oreports.com
03: *
04: * This program is free software; you can redistribute it and/or modify it
05: * under the terms of the GNU General Public License as published by the Free
06: * Software Foundation; either version 2 of the License, or (at your option)
07: * any later version.
08: *
09: * This program is distributed in the hope that it will be useful, but WITHOUT
10: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12: * more details.
13: *
14: * You should have received a copy of the GNU General Public License along with
15: * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
16: * Place - Suite 330, Boston, MA 02111-1307, USA.
17: *
18: */
19:
20: package org.efs.openreports.services.info;
21:
22: import java.io.Serializable;
23:
24: /**
25: * UserInfo object.
26: *
27: * @author Erik Swenson
28: *
29: */
30:
31: public class UserInfo implements Serializable {
32: private static final long serialVersionUID = 2720389107519743681L;
33:
34: private Integer id;
35: private String name;
36: private String password;
37: private String emailAddress;
38: private String externalId;
39:
40: public UserInfo() {
41: }
42:
43: public void setId(Integer id) {
44: this .id = id;
45: }
46:
47: public String toString() {
48: return name;
49: }
50:
51: public Integer getId() {
52: return id;
53: }
54:
55: public String getName() {
56: return name;
57: }
58:
59: public void setName(String name) {
60: this .name = name;
61: }
62:
63: public String getEmailAddress() {
64: return emailAddress;
65: }
66:
67: public void setEmailAddress(String emailAddress) {
68: this .emailAddress = emailAddress;
69: }
70:
71: public String getExternalId() {
72: return externalId;
73: }
74:
75: public void setExternalId(String externalId) {
76: this .externalId = externalId;
77: }
78:
79: public String getPassword() {
80: return password;
81: }
82:
83: public void setPassword(String password) {
84: this.password = password;
85: }
86:
87: }
|