KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jresearch > gossip > beans > user > UserInfo


1 /*
2  * $Id: UserInfo.java,v 1.3 2005/06/07 12:32:02 bel70 Exp $
3  *
4  * ***** BEGIN LICENSE BLOCK *****
5  * The contents of this file are subject to the Mozilla Public License
6  * Version 1.1 (the "License"); you may not use this file except in
7  * compliance with the License. You may obtain a copy of the License
8  * at http://www.mozilla.org/MPL/
9  *
10  * Software distributed under the License is distributed on an "AS IS"
11  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
12  * the License for the specific language governing rights and
13  * limitations under the License.
14  *
15  * The Original Code is JGossip forum code.
16  *
17  * The Initial Developer of the Original Code is the JResearch, Org.
18  * Portions created by the Initial Developer are Copyright (C) 2004
19  * the Initial Developer. All Rights Reserved.
20  *
21  * Contributor(s):
22  * Dmitriy Belov <bel@jresearch.org>
23  * .
24  * * ***** END LICENSE BLOCK ***** */

25 /*
26  * Created on 05.04.2004
27  *
28  */

29 package org.jresearch.gossip.beans.user;
30
31 import java.io.Serializable JavaDoc;
32 import java.util.Date JavaDoc;
33
34 import org.jresearch.gossip.singlesign.IUserInfo;
35
36 /**
37  * @author Dmitry Belov
38  *
39  */

40 public class UserInfo implements Serializable JavaDoc, IUserInfo {
41     /**
42      *
43      */

44     private static final long serialVersionUID = 7915333755149750008L;
45
46     private String JavaDoc icq;
47
48     private Date JavaDoc birthday;
49
50     private String JavaDoc city;
51
52     private String JavaDoc email;
53
54     private String JavaDoc homepage;
55
56     private String JavaDoc occupation;
57
58     /**
59      * @return
60      */

61     public Date JavaDoc getBirthday() {
62         return birthday;
63     }
64
65     /**
66      * @return
67      */

68     public String JavaDoc getCity() {
69         return city;
70     }
71
72     /**
73      * @return
74      */

75     public String JavaDoc getEmail() {
76         return email;
77     }
78
79     /**
80      * @return
81      */

82     public String JavaDoc getHomepage() {
83         return homepage;
84     }
85
86     /**
87      * @return
88      */

89     public String JavaDoc getOccupation() {
90         return occupation;
91     }
92
93     /**
94      * @param date
95      */

96     public void setBirthday(Date JavaDoc date) {
97         birthday = date;
98     }
99
100     /**
101      * @param string
102      */

103     public void setCity(String JavaDoc string) {
104         city = string;
105     }
106
107     /**
108      * @param string
109      */

110     public void setEmail(String JavaDoc string) {
111         email = string;
112     }
113
114     /**
115      * @param string
116      */

117     public void setHomepage(String JavaDoc string) {
118         homepage = string;
119     }
120
121     /**
122      * @param string
123      */

124     public void setOccupation(String JavaDoc string) {
125         occupation = string;
126     }
127
128     /**
129      * @return
130      */

131     public String JavaDoc getIcq() {
132         return icq;
133     }
134
135     /**
136      * @param string
137      */

138     public void setIcq(String JavaDoc string) {
139         icq = string;
140     }
141
142 }
143
Popular Tags