Last change
on this file since 21927 was 21927, checked in by sjm84, 14 years ago |
Renamed package to org.greenstone.mat from org.greenstone.gsdl3_extension.mat
|
File size:
740 bytes
|
Rev | Line | |
---|
[21927] | 1 | package org.greenstone.mat.servlet;
|
---|
[18107] | 2 |
|
---|
| 3 | import java.util.ArrayList;
|
---|
| 4 |
|
---|
| 5 | public class DocumentInfo {
|
---|
| 6 |
|
---|
| 7 | private String DocumentID;
|
---|
| 8 | private ArrayList ActualValue;
|
---|
| 9 | private int Frequence;
|
---|
| 10 |
|
---|
| 11 | public DocumentInfo(){
|
---|
| 12 | DocumentID = null;
|
---|
| 13 | ActualValue = new ArrayList();
|
---|
| 14 | Frequence = 0;
|
---|
| 15 | }
|
---|
| 16 |
|
---|
| 17 | public void IncreaseFrequence(){
|
---|
| 18 | Frequence++;
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | public void addActualValue(String v){
|
---|
| 22 | ActualValue.add(v);
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | public void setDocumentID(String ID){
|
---|
| 26 | DocumentID = ID;
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | public ArrayList getActualValue(){
|
---|
| 30 | return ActualValue;
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | public int getFrequence(){
|
---|
| 34 | return Frequence;
|
---|
| 35 | }
|
---|
| 36 |
|
---|
| 37 | public String getDocumentID(){
|
---|
| 38 | return DocumentID;
|
---|
| 39 | }
|
---|
| 40 |
|
---|
| 41 | }
|
---|
| 42 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.