aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/rssaccregwizz/RssAccountRegistration.java
blob: b815f1ba58d6c5dc0243114fdb57ad4bc2fd5540 (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
/*
 * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
/**
 * The <tt>RssAccountRegistration</tt> is used to store all user input data
 * through the <tt>RssAccountRegistrationWizard</tt>.
 *
 * @author Emil Ivov/Jean-Albert Vescovo
 */
package net.java.sip.communicator.plugin.rssaccregwizz;

public class RssAccountRegistration
{
    private String userID;
    private String password;
    private boolean rememberPassword;

    /**
     * Returns the User ID of the rss registration account.
     * @return the User ID of the rss registration account.
     */
    public String getUserID()
    {
        return userID;
    }

    /**
     * Sets the user ID of the rss registration account.
     * @param userID the userID of the rss registration account.
     */
    public void setUserID(String userID)
    {
        this.userID = userID;
    }

    /**
     * Returns the password of the Rss registration account.
     *
     * @return the password of the Rss registration account.
     */
    public String getPassword()
    {
        return password;
    }

    /**
     * Sets the password of the Rss registration account.
     *
     * @param password the password of the Rss 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 true;
    }

    /**
     * Sets the rememberPassword value of this Rss account registration.
     *
     * @param rememberPassword <tt>true</tt> if password has to remembered,
     * <tt>false</tt> otherwise.
     */
    public void setRememberPassword(boolean rememberPassword)
    {
        this.rememberPassword = true;
    }

}