KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > chipchat > ConnectionInfo


1 /*
2  * Created on 2004. 6. 25.
3  */

4 package chipchat;
5
6 /**
7  * @author MTY.
8  */

9 public class ConnectionInfo {
10     /** name */
11     private String JavaDoc name;
12     /** channel */
13     private String JavaDoc channel;
14     /** password of room */
15     private String JavaDoc roompw;
16     /** User id */
17     private int userid;
18     /** Room id */
19     private Long JavaDoc roomid;
20
21     /**
22      * @return
23      */

24     public String JavaDoc getChannel() {
25         return channel;
26     }
27
28     /**
29      * @return
30      */

31     public String JavaDoc getName() {
32         return name;
33     }
34
35     /**
36      * @return
37      */

38     public Long JavaDoc getRoomid() {
39         return roomid;
40     }
41
42     /**
43      * @return
44      */

45     public String JavaDoc getRoompw() {
46         return roompw;
47     }
48
49     /**
50      * @return
51      */

52     public int getUserid() {
53         return userid;
54     }
55
56     /**
57      * @param string
58      */

59     public void setChannel(String JavaDoc string) {
60         channel = string;
61     }
62
63     /**
64      * @param string
65      */

66     public void setName(String JavaDoc string) {
67         name = string;
68     }
69
70     /**
71      * @param l
72      */

73     public void setRoomid(Long JavaDoc l) {
74         roomid = l;
75     }
76
77     /**
78      * @param string
79      */

80     public void setRoompw(String JavaDoc string) {
81         roompw = string;
82     }
83
84     /**
85      * @param i
86      */

87     public void setUserid(int i) {
88         userid = i;
89     }
90
91 }
Popular Tags