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