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