01: /*
02: * Created on 16.11.2004
03: */
04: package org.contineo.core.text.analyze;
05:
06: /**
07: * @author Administrator
08: */
09: public class WordEntry {
10: private int value;
11: private String originWord;
12:
13: /**
14: *
15: */
16: public WordEntry() {
17: value = 0;
18: originWord = "";
19: } // end ctor WordEntry
20:
21: /**
22: * @return Returns the originWord.
23: * @uml.property name="originWord"
24: */
25: public String getOriginWord() {
26: return originWord;
27: } // end method getOriginWord
28:
29: /**
30: * @param originWord The originWord to set.
31: * @uml.property name="originWord"
32: */
33: public void setOriginWord(String originWord) {
34: this .originWord = originWord;
35: } // end method setOriginWord
36:
37: /**
38: * @return Returns the value.
39: * @uml.property name="value"
40: */
41: public int getValue() {
42: return value;
43: } // end method getValue
44:
45: /**
46: * @param value The value to set.
47: * @uml.property name="value"
48: */
49: public void setValue(int value) {
50: this .value = value;
51: } // end method setValue
52:
53: /**
54: * Increments the value of this entry.
55: *
56: */
57: public void incValue() {
58: value++;
59: } // end method incValue
60:
61: /**
62: * Decrements the value of this entry.
63: *
64: */
65: public void decValue() {
66: value--;
67: } // end method decValue
68: } // end class WordEntry
|