Add real NoSQL sources
[jabaws.git] / webservices / compbio / nosql / cassandra / DataBase.java
diff --git a/webservices/compbio/nosql/cassandra/DataBase.java b/webservices/compbio/nosql/cassandra/DataBase.java
new file mode 100644 (file)
index 0000000..036a48d
--- /dev/null
@@ -0,0 +1,76 @@
+package combio.cassandra;
+
+import java.util.List;
+
+public class DataBase {
+       String date;
+       int total;
+       String id;
+       String prot;
+       String jpred;
+       List<String> subProt;
+       List<Integer> timeRez;
+       
+       
+       public DataBase() {}
+       
+       public DataBase(String dat, int total) {
+               this.date = dat;
+               this.total = total;
+       }
+       
+       public void  setDate(String dat) {
+               this.date = dat;
+       }
+       
+       public String getDate() {
+               return date;
+       }
+       
+       public void  setTotal(int tot) {
+               this.total = tot;
+       }
+       public int getTotal() {
+               return total;
+       }
+
+       public void  setProt(String prot) {
+               this.prot = prot;
+       }
+       
+       public String getProt() {
+               return prot;
+       }
+       
+       public void  setJpred(String jpred) {
+               this.jpred = jpred;
+       }
+       
+       public String getJpred() {
+               return jpred;
+       }
+       
+       public void  setId(String id) {
+               this.id = id;
+       }
+       
+       public String getId() {
+               return id;
+       }
+       
+       public void  setSubProt(List<String> subProt) {
+               this.subProt = subProt;
+       }
+       
+       public List<String>  getSubProt() {
+               return subProt;
+       }
+       
+       public void  setTimeRez(List<Integer> timeRez) {
+               this.timeRez = timeRez;
+       }
+       
+       public List<Integer>  getTimeRez() {
+               return timeRez;
+       }
+}