KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > j2biz > blogunity > util > LuceneSearchResult


1 /*
2  * $Id: LuceneSearchResult.java,v 1.1 2005/01/09 19:01:58 michelson Exp $
3  *
4  * Copyright (c) 2005 j2biz Group, http://www.j2biz.com Koeln / Duesseldorf ,
5  * Germany
6  *
7  * @author Max Kalina
8  *
9  *
10  * This program is free software; you can redistribute it and/or modify it under
11  * the terms of the GNU General Public License as published by the Free Software
12  * Foundation; either version 2 of the License, or (at your option) any later
13  * version.
14  *
15  * This program is distributed in the hope that it will be useful, but WITHOUT
16  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
18  * details.
19  *
20  * You should have received a copy of the GNU General Public License along with
21  * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
22  * Place, Suite 330, Boston, MA 02111-1307 USA
23  *
24  */

25
26 package com.j2biz.blogunity.util;
27
28 public class LuceneSearchResult {
29
30     private String JavaDoc permalink;
31
32     private String JavaDoc title;
33
34     private String JavaDoc author;
35
36     private String JavaDoc createTime;
37
38     /**
39      *
40      */

41     public LuceneSearchResult(String JavaDoc title, String JavaDoc permalink, String JavaDoc author, String JavaDoc createTime) {
42         this.title = title;
43         this.permalink = permalink;
44         this.author = author;
45         this.createTime = createTime;
46     }
47
48     public String JavaDoc getPermalink() {
49         return permalink;
50     }
51
52     public void setPermalink(String JavaDoc permalink) {
53         this.permalink = permalink;
54     }
55
56     public String JavaDoc getTitle() {
57         return title;
58     }
59
60     public void setTitle(String JavaDoc title) {
61         this.title = title;
62     }
63
64     public String JavaDoc getAuthor() {
65         return author;
66     }
67
68     public void setAuthor(String JavaDoc author) {
69         this.author = author;
70     }
71
72     public String JavaDoc getCreateTime() {
73         return createTime;
74     }
75
76     public void setCreateTime(String JavaDoc createTime) {
77         this.createTime = createTime;
78     }
79 }
Popular Tags