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; 020 021public class SearchSortOrderTransfer 022 extends BaseTransfer { 023 024 private SearchKindTransfer searchKind; 025 private String searchSortOrderName; 026 private Boolean isDefault; 027 private Integer sortOrder; 028 private String description; 029 030 /** Creates a new instance of SearchSortOrderTransfer */ 031 public SearchSortOrderTransfer(SearchKindTransfer searchKind, String searchSortOrderName, Boolean isDefault, Integer sortOrder, String description) { 032 this.searchKind = searchKind; 033 this.searchSortOrderName = searchSortOrderName; 034 this.isDefault = isDefault; 035 this.sortOrder = sortOrder; 036 this.description = description; 037 } 038 039 /** 040 * Returns the searchKind. 041 * @return the searchKind 042 */ 043 public SearchKindTransfer getSearchKind() { 044 return searchKind; 045 } 046 047 /** 048 * Sets the searchKind. 049 * @param searchKind the searchKind to set 050 */ 051 public void setSearchKind(SearchKindTransfer searchKind) { 052 this.searchKind = searchKind; 053 } 054 055 /** 056 * Returns the searchSortOrderName. 057 * @return the searchSortOrderName 058 */ 059 public String getSearchSortOrderName() { 060 return searchSortOrderName; 061 } 062 063 /** 064 * Sets the searchSortOrderName. 065 * @param searchSortOrderName the searchSortOrderName to set 066 */ 067 public void setSearchSortOrderName(String searchSortOrderName) { 068 this.searchSortOrderName = searchSortOrderName; 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}