Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.ircaccregwizz
Class IrcAccountRegistration

java.lang.Object
  extended by net.java.sip.communicator.plugin.ircaccregwizz.IrcAccountRegistration

public class IrcAccountRegistration
extends Object

The IrcAccountRegistration is used to store all user input data through the IrcAccountRegistrationWizard.

Author:
Lionel Ferreira & Michael Tarantino

Constructor Summary
IrcAccountRegistration()
           
 
Method Summary
 String getPassword()
          Returns the password of the IRC registration account.
 String getPort()
          Returns the port to use.
 String getServer()
          Returns the server address.
 String getUserID()
          Returns the User ID of the IRC registration account.
 boolean isAutoChangeNick()
          Indicates if the nick should be changed automatically in case of nick collision.
 boolean isRememberPassword()
          Returns true if password has to remembered, false otherwise.
 boolean isRequiredPassword()
          Indicates if the password is required or not.
 void setAutoChangeNick(boolean autoChangeNick)
          Sets the property indicating if the nick should be changed automatically in case of nick collision.
 void setPassword(String password)
          Sets the password of the IRC registration account.
 void setPort(String port)
          Sets the port to use.
 void setRememberPassword(boolean rememberPassword)
          Sets the rememberPassword value of this IRC account registration.
 void setRequiredPassword(boolean isRequiredPassword)
          Sets the isRequiredPassword property.
 void setServer(String server)
          Sets the server address.
 void setUserID(String userID)
          Sets the user ID of the IRC registration account.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IrcAccountRegistration

public IrcAccountRegistration()
Method Detail

getUserID

public String getUserID()
Returns the User ID of the IRC registration account.

Returns:
the User ID of the IRC registration account.

setUserID

public void setUserID(String userID)
Sets the user ID of the IRC registration account.

Parameters:
userID - the userID of the IRC registration account.

getPassword

public String getPassword()
Returns the password of the IRC registration account.

Returns:
the password of the IRC registration account.

setPassword

public void setPassword(String password)
Sets the password of the IRC registration account.

Parameters:
password - the password of the IRC registration account.

getServer

public String getServer()
Returns the server address.

Returns:
the server address.

setServer

public void setServer(String server)
Sets the server address.

Parameters:
server - the address of the server

getPort

public String getPort()
Returns the port to use.

Returns:
the port to use

setPort

public void setPort(String port)
Sets the port to use.

Parameters:
port - the port to use

isRememberPassword

public boolean isRememberPassword()
Returns true if password has to remembered, false otherwise.

Returns:
true if password has to remembered, false otherwise.

isAutoChangeNick

public boolean isAutoChangeNick()
Indicates if the nick should be changed automatically in case of nick collision.

Returns:
true if the nick should be changed, false - otherwise.

setAutoChangeNick

public void setAutoChangeNick(boolean autoChangeNick)
Sets the property indicating if the nick should be changed automatically in case of nick collision.

Parameters:
autoChangeNick - true to indicate that the nick could be changed, false - otherwise.

isRequiredPassword

public boolean isRequiredPassword()
Indicates if the password is required or not.

Returns:
true to indicate that the password is required,* false - otherwise.

setRequiredPassword

public void setRequiredPassword(boolean isRequiredPassword)
Sets the isRequiredPassword property.

Parameters:
isRequiredPassword - true to indicate that the password is required, false - otherwise.

setRememberPassword

public void setRememberPassword(boolean rememberPassword)
Sets the rememberPassword value of this IRC account registration.

Parameters:
rememberPassword - true if password has to remembered, false otherwise.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.