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.util.common.transfer.BaseTransfer; 020 021public class ContentCategoryItemTransfer 022 extends BaseTransfer { 023 024 private ContentCategoryTransfer contentCategory; 025 private ContentCatalogItemTransfer contentCatalogItem; 026 private Boolean isDefault; 027 private Integer sortOrder; 028 029 /** Creates a new instance of ContentCategoryItemTransfer */ 030 public ContentCategoryItemTransfer(ContentCategoryTransfer contentCategory, ContentCatalogItemTransfer contentCatalogItem, Boolean isDefault, Integer sortOrder) { 031 this.contentCategory = contentCategory; 032 this.contentCatalogItem = contentCatalogItem; 033 this.isDefault = isDefault; 034 this.sortOrder = sortOrder; 035 } 036 037 /** 038 * Returns the contentCategory. 039 * @return the contentCategory 040 */ 041 public ContentCategoryTransfer getContentCategory() { 042 return contentCategory; 043 } 044 045 /** 046 * Sets the contentCategory. 047 * @param contentCategory the contentCategory to set 048 */ 049 public void setContentCategory(ContentCategoryTransfer contentCategory) { 050 this.contentCategory = contentCategory; 051 } 052 053 /** 054 * Returns the contentCatalogItem. 055 * @return the contentCatalogItem 056 */ 057 public ContentCatalogItemTransfer getContentCatalogItem() { 058 return contentCatalogItem; 059 } 060 061 /** 062 * Sets the contentCatalogItem. 063 * @param contentCatalogItem the contentCatalogItem to set 064 */ 065 public void setContentCatalogItem(ContentCatalogItemTransfer contentCatalogItem) { 066 this.contentCatalogItem = contentCatalogItem; 067 } 068 069 /** 070 * Returns the isDefault. 071 * @return the isDefault 072 */ 073 public Boolean getIsDefault() { 074 return isDefault; 075 } 076 077 /** 078 * Sets the isDefault. 079 * @param isDefault the isDefault to set 080 */ 081 public void setIsDefault(Boolean isDefault) { 082 this.isDefault = isDefault; 083 } 084 085 /** 086 * Returns the sortOrder. 087 * @return the sortOrder 088 */ 089 public Integer getSortOrder() { 090 return sortOrder; 091 } 092 093 /** 094 * Sets the sortOrder. 095 * @param sortOrder the sortOrder to set 096 */ 097 public void setSortOrder(Integer sortOrder) { 098 this.sortOrder = sortOrder; 099 } 100 101}