Add real NoSQL sources
[jabaws.git] / webservices / compbio / nosql / cassandra / DataBase.java
1 package combio.cassandra;
2
3 import java.util.List;
4
5 public class DataBase {
6         String date;
7         int total;
8         String id;
9         String prot;
10         String jpred;
11         List<String> subProt;
12         List<Integer> timeRez;
13         
14         
15         public DataBase() {}
16         
17         public DataBase(String dat, int total) {
18                 this.date = dat;
19                 this.total = total;
20         }
21         
22         public void  setDate(String dat) {
23                 this.date = dat;
24         }
25         
26         public String getDate() {
27                 return date;
28         }
29         
30         public void  setTotal(int tot) {
31                 this.total = tot;
32         }
33         public int getTotal() {
34                 return total;
35         }
36
37         public void  setProt(String prot) {
38                 this.prot = prot;
39         }
40         
41         public String getProt() {
42                 return prot;
43         }
44         
45         public void  setJpred(String jpred) {
46                 this.jpred = jpred;
47         }
48         
49         public String getJpred() {
50                 return jpred;
51         }
52         
53         public void  setId(String id) {
54                 this.id = id;
55         }
56         
57         public String getId() {
58                 return id;
59         }
60         
61         public void  setSubProt(List<String> subProt) {
62                 this.subProt = subProt;
63         }
64         
65         public List<String>  getSubProt() {
66                 return subProt;
67         }
68         
69         public void  setTimeRez(List<Integer> timeRez) {
70                 this.timeRez = timeRez;
71         }
72         
73         public List<Integer>  getTimeRez() {
74                 return timeRez;
75         }
76 }