KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > contineo > searchengine > SearchDocument


1 package org.contineo.searchengine;
2
3 /**
4  * Created on 08.12.2004
5  * @author Michael Scholz
6  */

7 public class SearchDocument {
8
9     private int luceneId;
10     private int menuId;
11     private String JavaDoc index;
12     
13     /**
14      *
15      */

16     public SearchDocument() {
17         luceneId = 0;
18         menuId = 0;
19         index = "english";
20     }
21     
22     /**
23      * @return Returns the luceneId.
24      * @uml.property name="luceneId"
25      */

26     public int getLuceneId() {
27         return luceneId;
28     }
29     
30     /**
31      * @param luceneId The luceneId to set.
32      * @uml.property name="luceneId"
33      */

34     public void setLuceneId(int luceneId) {
35         this.luceneId = luceneId;
36     }
37     
38     /**
39      * @return Returns the menuId.
40      * @uml.property name="menuId"
41      */

42     public int getMenuId() {
43         return menuId;
44     }
45     
46     /**
47      * @param menuId The menuId to set.
48      * @uml.property name="menuId"
49      */

50     public void setMenuId(int menuId) {
51         this.menuId = menuId;
52     }
53     
54     /**
55      * @return Returns the index.
56      * @uml.property name="index"
57      */

58     public String JavaDoc getIndex() {
59         return index;
60     }
61     
62     /**
63      * @param index The index to set.
64      * @uml.property name="index"
65      */

66     public void setIndex(String JavaDoc index) {
67         this.index = index;
68     }
69 }
70
Popular Tags