blob: 0a8cf1753eec804ea9c1bfbf27c34b9080c14407 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.plugin.aimaccregwizz;
/**
* The <tt>AimAccountRegistration</tt> is used to store all user input data
* through the <tt>AimAccountRegistrationWizard</tt>.
*
* @author Yana Stamcheva
* @author Lubomir Marinov
*/
public class AimAccountRegistration
{
private String uin;
private String password;
/**
* The indicator which determines whether the password of this account
* registration is remembered for later automatic use or it is to be
* acquired from the user whenever necessary.
* <p>
* The default value is <tt>true</tt> because it reflects the default
* behavior of the application for other protocols. Otherwise, creating an
* AIM account through the simple account registration form (the
* multi-protocol entry form which appears at startup when there are no
* accounts) will result in immediately asking for the password again as
* soon as the simple account registration form is closed while it will not
* happen for other types of accounts.
* </p>
*/
private boolean rememberPassword = true;
/**
* Returns the password of the aim registration account.
* @return the password of the aim registration account.
*/
public String getPassword()
{
return password;
}
/**
* Sets the password of the aim registration account.
* @param password the password of the aim registration account.
*/
public void setPassword(String password)
{
this.password = password;
}
/**
* Returns <tt>true</tt> if password has to remembered, <tt>false</tt>
* otherwise.
*
* @return <tt>true</tt> if password has to remembered, <tt>false</tt>
* otherwise
*/
public boolean isRememberPassword()
{
return rememberPassword;
}
/**
* Sets the rememberPassword value of this aim account registration.
*
* @param rememberPassword
* <tt>true</tt> if password has to remembered, <tt>false</tt>
* otherwise
*/
public void setRememberPassword(boolean rememberPassword)
{
this.rememberPassword = rememberPassword;
}
/**
* Returns the UIN of the aim registration account.
* @return the UIN of the aim registration account.
*/
public String getUin()
{
return uin;
}
/**
* Sets the UIN of the aim registration account.
* @param uin the UIN of the aim registration account.
*/
public void setUin(String uin)
{
this.uin = uin;
}
}
|