/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ 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; } }