source: other-projects/trunk/greenstone3-extension/mat/src/java/org/greenstone/gsdl3_extension/mat/servlet/DocumentInfo.java@ 17365

Last change on this file since 17365 was 17365, checked in by cc108, 16 years ago

Updating Mat Source Code

File size: 756 bytes
Line 
1package org.greenstone.gsdl3_extension.mat.servlet;
2
3import java.util.ArrayList;
4
5public 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.