Last change
on this file since 22272 was 22272, checked in by sjm84, 14 years ago |
Initial version of ATLAS as an extension
|
File size:
670 bytes
|
Line | |
---|
1 | package org.greenstone.server;
|
---|
2 |
|
---|
3 | public class Word
|
---|
4 | {
|
---|
5 | private String _value = null;
|
---|
6 | private String _classification = null;
|
---|
7 | private long _index = -1;
|
---|
8 |
|
---|
9 | public void setValue(String value)
|
---|
10 | {
|
---|
11 | _value = value;
|
---|
12 | }
|
---|
13 |
|
---|
14 | public void setClassification(String classification)
|
---|
15 | {
|
---|
16 | _classification = classification;
|
---|
17 | }
|
---|
18 |
|
---|
19 | public void setIndex(long index)
|
---|
20 | {
|
---|
21 | _index = index;
|
---|
22 | }
|
---|
23 |
|
---|
24 | public String getValue()
|
---|
25 | {
|
---|
26 | return _value;
|
---|
27 | }
|
---|
28 |
|
---|
29 | public String getClassification()
|
---|
30 | {
|
---|
31 | return _classification;
|
---|
32 | }
|
---|
33 |
|
---|
34 | public long getIndex()
|
---|
35 | {
|
---|
36 | return _index;
|
---|
37 | }
|
---|
38 |
|
---|
39 | public String toString()
|
---|
40 | {
|
---|
41 | return "Index = " + _index + " value = " + _value + " classification = " + _classification;
|
---|
42 | }
|
---|
43 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.