|
|
|
|
@ -1,20 +1,19 @@
|
|
|
|
|
/*
|
|
|
|
|
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
|
|
|
|
|
*
|
|
|
|
|
* Distributable under LGPL license.
|
|
|
|
|
* See terms of license at gnu.org.
|
|
|
|
|
*
|
|
|
|
|
* Distributable under LGPL license. See terms of license at gnu.org.
|
|
|
|
|
*/
|
|
|
|
|
package net.java.sip.communicator.plugin.msnaccregwizz;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The <tt>MsnAccountRegistration</tt> is used to store all user input data
|
|
|
|
|
* through the <tt>MsnAccountRegistrationWizard</tt>.
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @author Yana Stamcheva
|
|
|
|
|
*/
|
|
|
|
|
public class MsnAccountRegistration {
|
|
|
|
|
|
|
|
|
|
private String uin;
|
|
|
|
|
public class MsnAccountRegistration
|
|
|
|
|
{
|
|
|
|
|
private String id;
|
|
|
|
|
|
|
|
|
|
private String password;
|
|
|
|
|
|
|
|
|
|
@ -22,51 +21,63 @@ public class MsnAccountRegistration {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns the password of the msn registration account.
|
|
|
|
|
*
|
|
|
|
|
* @return the password of the msn registration account.
|
|
|
|
|
*/
|
|
|
|
|
public String getPassword() {
|
|
|
|
|
public String getPassword()
|
|
|
|
|
{
|
|
|
|
|
return password;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Sets the password of the msn registration account.
|
|
|
|
|
*
|
|
|
|
|
* @param password the password of the msn registration account.
|
|
|
|
|
*/
|
|
|
|
|
public void setPassword(String password) {
|
|
|
|
|
public void setPassword(String password)
|
|
|
|
|
{
|
|
|
|
|
this.password = password;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns TRUE if password has to remembered, FALSE otherwise.
|
|
|
|
|
*
|
|
|
|
|
* @return TRUE if password has to remembered, FALSE otherwise
|
|
|
|
|
*/
|
|
|
|
|
public boolean isRememberPassword() {
|
|
|
|
|
public boolean isRememberPassword()
|
|
|
|
|
{
|
|
|
|
|
return rememberPassword;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Sets the rememberPassword value of this msn account registration.
|
|
|
|
|
*
|
|
|
|
|
* @param rememberPassword TRUE if password has to remembered, FALSE
|
|
|
|
|
* otherwise
|
|
|
|
|
* otherwise
|
|
|
|
|
*/
|
|
|
|
|
public void setRememberPassword(boolean rememberPassword) {
|
|
|
|
|
public void setRememberPassword(boolean rememberPassword)
|
|
|
|
|
{
|
|
|
|
|
this.rememberPassword = rememberPassword;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns the UIN of the msn registration account.
|
|
|
|
|
* @return the UIN of the msn registration account.
|
|
|
|
|
* Returns the identifier of the MSN registration account.
|
|
|
|
|
*
|
|
|
|
|
* @return the identifier of the MSN registration account.
|
|
|
|
|
*/
|
|
|
|
|
public String getUin() {
|
|
|
|
|
return uin;
|
|
|
|
|
public String getId()
|
|
|
|
|
{
|
|
|
|
|
return id;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Sets the UIN of the msn registration account.
|
|
|
|
|
* @param uin the UIN of the msn registration account.
|
|
|
|
|
* Sets the identifier of the MSN registration account.
|
|
|
|
|
*
|
|
|
|
|
* @param id the identifier of the MSN registration account.
|
|
|
|
|
*/
|
|
|
|
|
public void setUin(String uin) {
|
|
|
|
|
this.uin = uin;
|
|
|
|
|
public void setId(String id)
|
|
|
|
|
{
|
|
|
|
|
this.id = id;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|