the new query jobs by ip
[proteocache.git] / datadb / compbio / cassandra / DataBase.java
index c6777fc..26a019a 100644 (file)
@@ -14,6 +14,7 @@ public class DataBase {
        private int totalJobs;
        private int totalId;                            // total jobs for current protein sequence
        private String id;
+       private String ip;
        private String prot;                            // protein sequence
        private String jpred;
        private List<String> subProt;           // protein sequence divided by several parts for highlighting the particular part
@@ -116,6 +117,14 @@ public class DataBase {
        public String getId() {
                return id;
        }
+       
+       public void setIp(String ip) {
+               this.ip = ip;
+       }
+
+       public String getIp() {
+               return ip;
+       }
 
        public void setSubProt(List<String> subProt) {
                this.subProt = subProt;