001// --------------------------------------------------------------------------------
002// Copyright 2002-2024 Echo Three, LLC
003//
004// Licensed under the Apache License, Version 2.0 (the "License");
005// you may not use this file except in compliance with the License.
006// You may obtain a copy of the License at
007//
008//     http://www.apache.org/licenses/LICENSE-2.0
009//
010// Unless required by applicable law or agreed to in writing, software
011// distributed under the License is distributed on an "AS IS" BASIS,
012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013// See the License for the specific language governing permissions and
014// limitations under the License.
015// --------------------------------------------------------------------------------
016
017package com.echothree.model.control.search.common.transfer;
018
019import com.echothree.util.common.transfer.BaseTransfer;
020import com.echothree.util.common.transfer.ListWrapper;
021
022public class CheckSpellingWordTransfer
023        extends BaseTransfer {
024    
025    private String word;
026    private SearchCheckSpellingActionTypeTransfer searchCheckSpellingActionType;
027    private ListWrapper<CheckSpellingSuggestionTransfer> checkSpellingSuggestions;
028
029    /** Creates a new instance of CheckSpellingWordTransfer */
030    public CheckSpellingWordTransfer(String word, SearchCheckSpellingActionTypeTransfer searchCheckSpellingActionType,
031            ListWrapper<CheckSpellingSuggestionTransfer> checkSpellingSuggestions) {
032        this.word = word;
033        this.searchCheckSpellingActionType = searchCheckSpellingActionType;
034        this.checkSpellingSuggestions = checkSpellingSuggestions;
035    }
036
037    /**
038     * Returns the word.
039     * @return the word
040     */
041    public String getWord() {
042        return word;
043    }
044
045    /**
046     * Sets the word.
047     * @param word the word to set
048     */
049    public void setWord(String word) {
050        this.word = word;
051    }
052
053    /**
054     * Returns the searchCheckSpellingActionType.
055     * @return the searchCheckSpellingActionType
056     */
057    public SearchCheckSpellingActionTypeTransfer getSearchCheckSpellingActionType() {
058        return searchCheckSpellingActionType;
059    }
060
061    /**
062     * Sets the searchCheckSpellingActionType.
063     * @param searchCheckSpellingActionType the searchCheckSpellingActionType to set
064     */
065    public void setSearchCheckSpellingActionType(SearchCheckSpellingActionTypeTransfer searchCheckSpellingActionType) {
066        this.searchCheckSpellingActionType = searchCheckSpellingActionType;
067    }
068
069    /**
070     * Returns the checkSpellingSuggestions.
071     * @return the checkSpellingSuggestions
072     */
073    public ListWrapper<CheckSpellingSuggestionTransfer> getCheckSpellingSuggestions() {
074        return checkSpellingSuggestions;
075    }
076
077    /**
078     * Sets the checkSpellingSuggestions.
079     * @param checkSpellingSuggestions the checkSpellingSuggestions to set
080     */
081    public void setCheckSpellingSuggestions(ListWrapper<CheckSpellingSuggestionTransfer> checkSpellingSuggestions) {
082        this.checkSpellingSuggestions = checkSpellingSuggestions;
083    }
084    
085 }