Mercurial > hg > LGServices
diff src/main/java/de/mpiwg/gazetteer/bo/LGTopic.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 | ba9515f22897 |
children | 13555aff1f88 |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/gazetteer/bo/LGTopic.java Fri Dec 18 11:50:24 2015 +0100 +++ b/src/main/java/de/mpiwg/gazetteer/bo/LGTopic.java Wed Dec 23 16:03:32 2015 +0100 @@ -46,6 +46,9 @@ @Column(name="description") private String description; + @Column(name="keywords") + private String keywords; + @Transient private List<Long> contributorsList; @@ -204,6 +207,18 @@ + public String getKeywords() { + return keywords; + } + + + public void setKeywords(String keywords) { + this.keywords = keywords; + } + + + + public void setContributorsList(List<Long> contributorsList) { this.contributorsList = contributorsList; } @@ -216,7 +231,10 @@ public DuplexKey<Long, Long> getKey(){ return new DuplexKey<Long, Long>(this.userId, this.id); } - + + public String info() { + return nameEn + "(" + nameCh + ", " + namePinyin + ")"; + } @Override public String toString(){ @@ -224,4 +242,6 @@ } + + }