1 package org.hedwig.core;
2
3 /***
4 * @author keith
5 *
6 * To change this generated comment edit the template variable "typecomment":
7 * Window>Preferences>Java>Templates.
8 * To enable and disable the creation of type comments go to
9 * Window>Preferences>Java>Code Generation.
10 */
11 public class RemoteAccount {
12 private long _userId;
13 private long _id;
14 private String _userName;
15 private String _pass;
16 private String _server;
17 private String _accountName;
18 private HedwigUser _user;
19 private long _interval;
20
21 public RemoteAccount(){
22 super();
23 }
24 /***
25 * Returns the accountName.
26 * @return String
27 */
28 public String getAccountName() {
29 return _accountName;
30 }
31
32 /***
33 * Returns the id.
34 * @return long
35 */
36 public long getId() {
37 return _id;
38 }
39
40 /***
41 * Returns the pass.
42 * @return String
43 */
44 public String getPass() {
45 return _pass;
46 }
47
48 /***
49 * Returns the server.
50 * @return String
51 */
52 public String getServer() {
53 return _server;
54 }
55
56 /***
57 * Returns the userId.
58 * @return long
59 */
60 private long getUserId() {
61 return _userId;
62 }
63
64 /***
65 * Returns the userName.
66 * @return String
67 */
68 public String getUserName() {
69 return _userName;
70 }
71
72 /***
73 * Sets the accountName.
74 * @param accountName The accountName to set
75 */
76 public void setAccountName(String accountName) {
77 _accountName= accountName;
78 }
79
80 /***
81 * Sets the id.
82 * @param id The id to set
83 */
84 public void setId(long id) {
85 _id= id;
86 }
87
88 /***
89 * Sets the pass.
90 * @param pass The pass to set
91 */
92 public void setPass(String pass) {
93 _pass= pass;
94 }
95
96 /***
97 * Sets the server.
98 * @param server The server to set
99 */
100 public void setServer(String server) {
101 _server= server;
102 }
103
104 /***
105 * Sets the userId.
106 * @param userId The userId to set
107 */
108 private void setUserId(long userId) {
109 _userId= userId;
110 }
111
112 /***
113 * Sets the userName.
114 * @param userName The userName to set
115 */
116 public void setUserName(String userName) {
117 _userName= userName;
118 }
119
120 /***
121 * Returns the user.
122 * @return HedwigUser
123 */
124 public HedwigUser getUser() {
125 return _user;
126 }
127
128 /***
129 * Sets the user.
130 * @param user The user to set
131 */
132 public void setUser(HedwigUser user) {
133 _user= user;
134 }
135
136 public long getInterval(){
137 return _interval;
138 }
139
140 /***
141 * Sets the interval.
142 * @param interval The interval to set
143 */
144 public void setInterval(long interval) {
145 _interval= interval;
146 }
147
148 }
This page was automatically generated by Maven