KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > contineo > documan > Keyword


1 package org.contineo.documan;
2
3 /**
4  * Represents a keyword.
5  * Created on 31.08.2004
6  * @author Michael Scholz
7  */

8 public class Keyword {
9     
10     private String JavaDoc word;
11     private int count;
12
13     /**
14      *
15      */

16     public Keyword() {
17         word = "";
18         count = 0;
19     }
20
21     /**
22      * @return Returns the count.
23      * @uml.property name="count"
24      */

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

33     public void setCount(int count) {
34         this.count = count;
35     }
36     
37     /**
38      * @return Returns the word.
39      * @uml.property name="word"
40      */

41     public String JavaDoc getWord() {
42         return word;
43     }
44     
45     /**
46      * @param word The word to set.
47      * @uml.property name="word"
48      */

49     public void setWord(String JavaDoc word) {
50         this.word = word;
51     }
52 }
53
Popular Tags