1 11 package org.jboss.portlet.forums.impl; 12 13 import java.io.Serializable ; 14 import java.util.Date ; 15 16 import org.jboss.portal.core.model.User; 17 import org.jboss.portlet.forums.model.Message; 18 import org.jboss.portlet.forums.model.Post; 19 import org.jboss.portlet.forums.model.Poster; 20 import org.jboss.portlet.forums.model.Topic; 21 22 29 public class PostImpl 30 implements Serializable , 31 Post 32 { 33 private Topic topic; 34 private User user; 35 private int count; 36 private Date date; 37 private Integer id; 38 private Date createDate; 39 private Message message; 40 private Poster poster; 41 42 45 public PostImpl() 46 { 47 } 48 49 54 public Topic getTopic() 55 { 56 return topic; 57 } 58 59 64 public void setTopic(Topic topic) 65 { 66 this.topic = topic; 67 } 68 69 74 public User getUser() 75 { 76 return user; 77 } 78 79 84 public void setUser(User user) 85 { 86 this.user = user; 87 } 88 89 95 public int getEditCount() 96 { 97 return count; 98 } 99 100 105 public void setEditCount(int count) 106 { 107 this.count = count; 108 } 109 110 116 public Date getEditDate() 117 { 118 return date; 119 } 120 121 126 public void setEditDate(Date date) 127 { 128 this.date = date; 129 } 130 131 136 public Integer getID() 137 { 138 return id; 139 } 140 141 146 public void setID(Integer id) 147 { 148 this.id = id; 149 } 150 151 157 public Date getCreateDate() 158 { 159 return createDate; 160 } 161 162 167 public void setCreateDate(Date createDate) 168 { 169 this.createDate = createDate; 170 } 171 172 176 public Message getMessage() 177 { 178 return message; 179 } 180 181 186 public void setMessage(Message message) 187 { 188 this.message = message; 189 } 190 191 196 public Poster getPoster() 197 { 198 return poster; 199 } 200 201 206 public void setPoster(Poster poster) 207 { 208 this.poster = poster; 209 } 210 } | Popular Tags |