1 5 package org.exoplatform.services.communication.forum.hibernate; 6 7 import java.util.List ; 8 13 public class TopicBackup { 14 private TopicImpl topic ; 15 private List posts ; 16 17 public TopicBackup(TopicImpl topic , List posts) { 18 this.topic = topic ; 19 this.posts = posts ; 20 } 21 22 23 public List getPosts() { return posts; } 24 public void setPosts(List posts) { this.posts = posts; } 25 26 public TopicImpl getTopic() { return topic; } 27 public void setTopic(TopicImpl topic) { this.topic = topic; } 28 } | Popular Tags |