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.model.control.party.common.transfer.LanguageTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class IndexTransfer 023 extends BaseTransfer { 024 025 private String indexName; 026 private IndexTypeTransfer indexType; 027 private LanguageTransfer language; 028 private String directory; 029 private Boolean isDefault; 030 private Integer sortOrder; 031 private String description; 032 private Long unformattedCreatedTime; 033 private String createdTime; 034 035 /** 036 * Creates a new instance of IndexTransfer 037 */ 038 public IndexTransfer(String indexName, IndexTypeTransfer indexType, LanguageTransfer language, String directory, Boolean isDefault, Integer sortOrder, 039 String description, Long unformattedCreatedTime, String createdTime) { 040 this.indexName = indexName; 041 this.indexType = indexType; 042 this.language = language; 043 this.directory = directory; 044 this.isDefault = isDefault; 045 this.sortOrder = sortOrder; 046 this.description = description; 047 this.unformattedCreatedTime = unformattedCreatedTime; 048 this.createdTime = createdTime; 049 } 050 051 /** 052 * Returns the indexName. 053 * @return the indexName 054 */ 055 public String getIndexName() { 056 return indexName; 057 } 058 059 /** 060 * Sets the indexName. 061 * @param indexName the indexName to set 062 */ 063 public void setIndexName(String indexName) { 064 this.indexName = indexName; 065 } 066 067 /** 068 * Returns the indexType. 069 * @return the indexType 070 */ 071 public IndexTypeTransfer getIndexType() { 072 return indexType; 073 } 074 075 /** 076 * Sets the indexType. 077 * @param indexType the indexType to set 078 */ 079 public void setIndexType(IndexTypeTransfer indexType) { 080 this.indexType = indexType; 081 } 082 083 /** 084 * Returns the language. 085 * @return the language 086 */ 087 public LanguageTransfer getLanguage() { 088 return language; 089 } 090 091 /** 092 * Sets the language. 093 * @param language the language to set 094 */ 095 public void setLanguage(LanguageTransfer language) { 096 this.language = language; 097 } 098 099 /** 100 * Returns the directory. 101 * @return the directory 102 */ 103 public String getDirectory() { 104 return directory; 105 } 106 107 /** 108 * Sets the directory. 109 * @param directory the directory to set 110 */ 111 public void setDirectory(String directory) { 112 this.directory = directory; 113 } 114 115 /** 116 * Returns the isDefault. 117 * @return the isDefault 118 */ 119 public Boolean getIsDefault() { 120 return isDefault; 121 } 122 123 /** 124 * Sets the isDefault. 125 * @param isDefault the isDefault to set 126 */ 127 public void setIsDefault(Boolean isDefault) { 128 this.isDefault = isDefault; 129 } 130 131 /** 132 * Returns the sortOrder. 133 * @return the sortOrder 134 */ 135 public Integer getSortOrder() { 136 return sortOrder; 137 } 138 139 /** 140 * Sets the sortOrder. 141 * @param sortOrder the sortOrder to set 142 */ 143 public void setSortOrder(Integer sortOrder) { 144 this.sortOrder = sortOrder; 145 } 146 147 /** 148 * Returns the description. 149 * @return the description 150 */ 151 public String getDescription() { 152 return description; 153 } 154 155 /** 156 * Sets the description. 157 * @param description the description to set 158 */ 159 public void setDescription(String description) { 160 this.description = description; 161 } 162 163 /** 164 * Returns the unformattedCreatedTime. 165 * @return the unformattedCreatedTime 166 */ 167 public Long getUnformattedCreatedTime() { 168 return unformattedCreatedTime; 169 } 170 171 /** 172 * Sets the unformattedCreatedTime. 173 * @param unformattedCreatedTime the unformattedCreatedTime to set 174 */ 175 public void setUnformattedCreatedTime(Long unformattedCreatedTime) { 176 this.unformattedCreatedTime = unformattedCreatedTime; 177 } 178 179 /** 180 * Returns the createdTime. 181 * @return the createdTime 182 */ 183 public String getCreatedTime() { 184 return createdTime; 185 } 186 187 /** 188 * Sets the createdTime. 189 * @param createdTime the createdTime to set 190 */ 191 public void setCreatedTime(String createdTime) { 192 this.createdTime = createdTime; 193 } 194 195}