KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > communication > forum > hibernate > TopicBackup


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.services.communication.forum.hibernate;
6
7 import java.util.List JavaDoc ;
8 /**
9  * @author Tuan Nguyen (tuan08@users.sourceforge.net)
10  * @since Nov 21, 2004
11  * @version $Id$
12  */

13 public class TopicBackup {
14   private TopicImpl topic ;
15   private List JavaDoc posts ;
16   
17   public TopicBackup(TopicImpl topic , List JavaDoc posts) {
18     this.topic = topic ;
19     this.posts = posts ;
20   }
21   
22   
23   public List JavaDoc getPosts() { return posts; }
24   public void setPosts(List JavaDoc posts) { this.posts = posts; }
25   
26   public TopicImpl getTopic() { return topic; }
27   public void setTopic(TopicImpl topic) { this.topic = topic; }
28 }
Popular Tags