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.util.common.transfer.BaseTransfer;
021import com.echothree.util.common.transfer.ListWrapper;
022
023public class ContentCatalogTransfer
024        extends BaseTransfer {
025
026    private ContentCollectionTransfer contentCollection;
027    private String contentCatalogName;
028    private OfferUseTransfer defaultOfferUse;
029    private Boolean isDefault;
030    private Integer sortOrder;
031    private String description;
032
033    private ListWrapper<ContentCatalogItemTransfer> contentCatalogItems;
034    private ListWrapper<ContentCategoryTransfer> contentCategories;
035    
036    /** Creates a new instance of ContentCatalogTransfer */
037    public ContentCatalogTransfer(ContentCollectionTransfer contentCollection, String contentCatalogName, OfferUseTransfer defaultOfferUse, Boolean isDefault,
038            Integer sortOrder, String description) {
039        this.contentCollection = contentCollection;
040        this.contentCatalogName = contentCatalogName;
041        this.defaultOfferUse = defaultOfferUse;
042        this.isDefault = isDefault;
043        this.sortOrder = sortOrder;
044        this.description = description;
045    }
046
047    /**
048     * Returns the contentCollection.
049     * @return the contentCollection
050     */
051    public ContentCollectionTransfer getContentCollection() {
052        return contentCollection;
053    }
054
055    /**
056     * Sets the contentCollection.
057     * @param contentCollection the contentCollection to set
058     */
059    public void setContentCollection(ContentCollectionTransfer contentCollection) {
060        this.contentCollection = contentCollection;
061    }
062
063    /**
064     * Returns the contentCatalogName.
065     * @return the contentCatalogName
066     */
067    public String getContentCatalogName() {
068        return contentCatalogName;
069    }
070
071    /**
072     * Sets the contentCatalogName.
073     * @param contentCatalogName the contentCatalogName to set
074     */
075    public void setContentCatalogName(String contentCatalogName) {
076        this.contentCatalogName = contentCatalogName;
077    }
078
079    /**
080     * Returns the defaultOfferUse.
081     * @return the defaultOfferUse
082     */
083    public OfferUseTransfer getDefaultOfferUse() {
084        return defaultOfferUse;
085    }
086
087    /**
088     * Sets the defaultOfferUse.
089     * @param defaultOfferUse the defaultOfferUse to set
090     */
091    public void setDefaultOfferUse(OfferUseTransfer defaultOfferUse) {
092        this.defaultOfferUse = defaultOfferUse;
093    }
094
095    /**
096     * Returns the isDefault.
097     * @return the isDefault
098     */
099    public Boolean getIsDefault() {
100        return isDefault;
101    }
102
103    /**
104     * Sets the isDefault.
105     * @param isDefault the isDefault to set
106     */
107    public void setIsDefault(Boolean isDefault) {
108        this.isDefault = isDefault;
109    }
110
111    /**
112     * Returns the sortOrder.
113     * @return the sortOrder
114     */
115    public Integer getSortOrder() {
116        return sortOrder;
117    }
118
119    /**
120     * Sets the sortOrder.
121     * @param sortOrder the sortOrder to set
122     */
123    public void setSortOrder(Integer sortOrder) {
124        this.sortOrder = sortOrder;
125    }
126
127    /**
128     * Returns the description.
129     * @return the description
130     */
131    public String getDescription() {
132        return description;
133    }
134
135    /**
136     * Sets the description.
137     * @param description the description to set
138     */
139    public void setDescription(String description) {
140        this.description = description;
141    }
142
143    /**
144     * Returns the contentCatalogItems.
145     * @return the contentCatalogItems
146     */
147    public ListWrapper<ContentCatalogItemTransfer> getContentCatalogItems() {
148        return contentCatalogItems;
149    }
150
151    /**
152     * Sets the contentCatalogItems.
153     * @param contentCatalogItems the contentCatalogItems to set
154     */
155    public void setContentCatalogItems(ListWrapper<ContentCatalogItemTransfer> contentCatalogItems) {
156        this.contentCatalogItems = contentCatalogItems;
157    }
158
159    /**
160     * Returns the contentCategories.
161     * @return the contentCategories
162     */
163    public ListWrapper<ContentCategoryTransfer> getContentCategories() {
164        return contentCategories;
165    }
166
167    /**
168     * Sets the contentCategories.
169     * @param contentCategories the contentCategories to set
170     */
171    public void setContentCategories(ListWrapper<ContentCategoryTransfer> contentCategories) {
172        this.contentCategories = contentCategories;
173    }
174
175}