]>
Commit | Line | Data |
---|---|---|
431b229b LP |
1 | /** |
2 | # | |
3 | # BorkNet Services Core | |
4 | # | |
5 | ||
6 | # | |
7 | # Copyright (C) 2004 Ozafy - ozafy@borknet.org - http://www.borknet.org | |
8 | # | |
9 | # This program is free software; you can redistribute it and/or | |
10 | # modify it under the terms of the GNU General Public License | |
11 | # as published by the Free Software Foundation; either version 2 | |
12 | # of the License, or (at your option) any later version. | |
13 | # | |
14 | # This program is distributed in the hope that it will be useful, | |
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | # GNU General Public License for more details. | |
18 | # | |
19 | # You should have received a copy of the GNU General Public License | |
20 | # along with this program; if not, write to the Free Software | |
21 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
22 | # | |
23 | */ | |
24 | package borknet_services.core; | |
25 | import borknet_services.core.*; | |
26 | ||
27 | public class Server | |
28 | { | |
29 | private String numeric; | |
30 | private String host; | |
31 | private String hub; | |
32 | private boolean service; | |
33 | ||
34 | public Server(String numeric) | |
35 | { | |
36 | this.numeric = numeric; | |
37 | } | |
38 | ||
39 | public String getNumeric() | |
40 | { | |
41 | return numeric; | |
42 | } | |
43 | ||
44 | public void setNumeric(String s) | |
45 | { | |
46 | numeric = s; | |
47 | } | |
48 | ||
49 | public String getHost() | |
50 | { | |
51 | return host; | |
52 | } | |
53 | ||
54 | public void setHost(String s) | |
55 | { | |
56 | host = s; | |
57 | } | |
58 | ||
59 | public String getHub() | |
60 | { | |
61 | return hub; | |
62 | } | |
63 | ||
64 | public void setHub(String s) | |
65 | { | |
66 | hub = s; | |
67 | } | |
68 | ||
69 | public Boolean getService() | |
70 | { | |
71 | return service; | |
72 | } | |
73 | ||
74 | public void setService(Boolean s) | |
75 | { | |
76 | service = s; | |
77 | } | |
78 | } |