/*
* 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.dictaccregwizz;
import net.java.dict4j.*;
/**
* The DictAccountRegistration is used to store all user input data
* through the DictAccountRegistrationWizard.
*
* @author ROTH Damien
* @author LITZELMANN Cedric
*/
public class DictAccountRegistration
{
private String userID;
/**
* The hostname of the DICT server.
*/
private String host;
/**
* The port of the DICT server.
*/
private int port;
/**
* The strategy selected for the matching of words in dictionaries.
*/
private Strategy strategy;
/**
* Returns the User ID of the dict registration account.
* @return the User ID of the dict registration account.
*/
public String getUserID()
{
return userID;
}
/**
* Returns the port of the dict registration account.
* @return the port of the dict registration account.
*/
public int getPort() {
return this.port;
}
/**
* Sets the port of the dict registration account.
* @param port the port of the dict registration account.
*/
public void setPort(int port) {
this.port = port;
}
/**
* Returns the host of the dict registration account.
* @return the host of the dict registration account.
*/
public String getHost() {
return this.host;
}
/**
* Sets the host of the dict registration account.
* @param host The host of the dict registration account.
*/
public void setHost(String host) {
this.host = host;
}
/**
* Returns the strategy that will be used for this dict account.
* @return the strategy that will be used for this dict account.
*/
public Strategy getStrategy() {
return this.strategy;
}
/**
* Sets the strategy for this dict account.
* @param strategy the strategy for this dict account.
*/
public void setStrategy(Strategy strategy) {
this.strategy = strategy;
}
}