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.forum.common.transfer; 018 019import com.echothree.model.control.icon.common.transfer.IconTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021import com.echothree.util.common.transfer.ListWrapper; 022 023public class ForumThreadTransfer 024 extends BaseTransfer { 025 026 private String forumThreadName; 027 private IconTransfer icon; 028 private Long unformattedPostedTime; 029 private String postedTime; 030 private Integer sortOrder; 031 032 private Long forumMessageCount; 033 private ListWrapper<ForumMessageTransfer> forumMessages; 034 private ListWrapper<ForumForumThreadTransfer> forumForumThreads; 035 036 /** Creates a new instance of ForumThreadTransfer */ 037 public ForumThreadTransfer(String forumThreadName, IconTransfer icon, Long unformattedPostedTime, String postedTime, 038 Integer sortOrder) { 039 this.forumThreadName = forumThreadName; 040 this.icon = icon; 041 this.unformattedPostedTime = unformattedPostedTime; 042 this.postedTime = postedTime; 043 this.sortOrder = sortOrder; 044 } 045 046 public String getForumThreadName() { 047 return forumThreadName; 048 } 049 050 public void setForumThreadName(String forumThreadName) { 051 this.forumThreadName = forumThreadName; 052 } 053 054 public IconTransfer getIcon() { 055 return icon; 056 } 057 058 public void setIcon(IconTransfer icon) { 059 this.icon = icon; 060 } 061 062 public Long getUnformattedPostedTime() { 063 return unformattedPostedTime; 064 } 065 066 public void setUnformattedPostedTime(Long unformattedPostedTime) { 067 this.unformattedPostedTime = unformattedPostedTime; 068 } 069 070 public String getPostedTime() { 071 return postedTime; 072 } 073 074 public void setPostedTime(String postedTime) { 075 this.postedTime = postedTime; 076 } 077 078 public Integer getSortOrder() { 079 return sortOrder; 080 } 081 082 public void setSortOrder(Integer sortOrder) { 083 this.sortOrder = sortOrder; 084 } 085 086 public Long getForumMessageCount() { 087 return forumMessageCount; 088 } 089 090 public void setForumMessageCount(Long forumMessageCount) { 091 this.forumMessageCount = forumMessageCount; 092 } 093 094 public ListWrapper<ForumMessageTransfer> getForumMessages() { 095 return forumMessages; 096 } 097 098 public void setForumMessages(ListWrapper<ForumMessageTransfer> forumMessages) { 099 this.forumMessages = forumMessages; 100 } 101 102 public ListWrapper<ForumForumThreadTransfer> getForumForumThreads() { 103 return forumForumThreads; 104 } 105 106 public void setForumForumThreads(ListWrapper<ForumForumThreadTransfer> forumForumThreads) { 107 this.forumForumThreads = forumForumThreads; 108 } 109 110}