diff src/main/java/de/mpiwg/gazetteer/db/DBSection.java @ 43:9dbbbfd474f4

new: 1.existing topic in search result. 2.difference-set of book for topic
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Wed, 23 Dec 2015 16:03:32 +0100
parents 35ed4e650a53
children
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/gazetteer/db/DBSection.java	Fri Dec 18 11:50:24 2015 +0100
+++ b/src/main/java/de/mpiwg/gazetteer/db/DBSection.java	Wed Dec 23 16:03:32 2015 +0100
@@ -5,6 +5,8 @@
 import java.util.List;
 
 import de.mpiwg.gazetteer.bo.LGBranch;
+import de.mpiwg.gazetteer.bo.LGTopic;
+import de.mpiwg.gazetteer.bo.LGTopicSectionRelation;
 
 public class DBSection implements Comparable<DBSection>{
 
@@ -19,6 +21,7 @@
 	private Integer end_page;
 	
 	private List<LGBranch> branches;
+	private List<LGTopicSectionRelation> topicSectionRelation;
 	
 	/*
 	public DBSection(Long id){
@@ -94,6 +97,16 @@
 		this.branches = branches;
 	}
 	
+
+	public List<LGTopicSectionRelation> getTopicSectionRelation() {
+		return topicSectionRelation;
+	}
+
+	public void setTopicSectionRelation(
+			List<LGTopicSectionRelation> topicSectionRelation) {
+		this.topicSectionRelation = topicSectionRelation;
+	}
+
 	public Integer getStart_page() {
 		return start_page;
 	}