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.index.common.transfer;
018
019import com.echothree.util.common.transfer.BaseTransfer;
020
021public class IndexFieldTransfer
022        extends BaseTransfer {
023    
024    private IndexTypeTransfer indexType;
025    private String indexFieldName;
026    private Boolean isDefault;
027    private Integer sortOrder;
028    private String description;
029    
030    /** Creates a new instance of IndexFieldTransfer */
031    public IndexFieldTransfer(IndexTypeTransfer indexType, String indexFieldName, Boolean isDefault, Integer sortOrder, String description) {
032        this.indexType = indexType;
033        this.indexFieldName = indexFieldName;
034        this.isDefault = isDefault;
035        this.sortOrder = sortOrder;
036        this.description = description;
037    }
038
039    /**
040     * Returns the indexType.
041     * @return the indexType
042     */
043    public IndexTypeTransfer getIndexType() {
044        return indexType;
045    }
046
047    /**
048     * Sets the indexType.
049     * @param indexType the indexType to set
050     */
051    public void setIndexType(IndexTypeTransfer indexType) {
052        this.indexType = indexType;
053    }
054
055    /**
056     * Returns the indexFieldName.
057     * @return the indexFieldName
058     */
059    public String getIndexFieldName() {
060        return indexFieldName;
061    }
062
063    /**
064     * Sets the indexFieldName.
065     * @param indexFieldName the indexFieldName to set
066     */
067    public void setIndexFieldName(String indexFieldName) {
068        this.indexFieldName = indexFieldName;
069    }
070
071    /**
072     * Returns the isDefault.
073     * @return the isDefault
074     */
075    public Boolean getIsDefault() {
076        return isDefault;
077    }
078
079    /**
080     * Sets the isDefault.
081     * @param isDefault the isDefault to set
082     */
083    public void setIsDefault(Boolean isDefault) {
084        this.isDefault = isDefault;
085    }
086
087    /**
088     * Returns the sortOrder.
089     * @return the sortOrder
090     */
091    public Integer getSortOrder() {
092        return sortOrder;
093    }
094
095    /**
096     * Sets the sortOrder.
097     * @param sortOrder the sortOrder to set
098     */
099    public void setSortOrder(Integer sortOrder) {
100        this.sortOrder = sortOrder;
101    }
102
103    /**
104     * Returns the description.
105     * @return the description
106     */
107    public String getDescription() {
108        return description;
109    }
110
111    /**
112     * Sets the description.
113     * @param description the description to set
114     */
115    public void setDescription(String description) {
116        this.description = description;
117    }
118    
119}