First working code
[proteocache.git] / datadb / compbio / cassandra / DataBase.java
diff --git a/datadb/compbio/cassandra/DataBase.java b/datadb/compbio/cassandra/DataBase.java
new file mode 100644 (file)
index 0000000..c661e77
--- /dev/null
@@ -0,0 +1,87 @@
+package compbio.cassandra;
+
+import java.util.List;
+
+public class DataBase {
+       String date;
+       int total;
+       int totalId;
+       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 setTotalId(int totId) {
+               this.totalId = totId;
+       }
+
+       public int getTotalId() {
+               return totalId;
+       }
+
+       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;
+       }
+
+}