JAL-2375 JAL-2376 First commit of implementation for Phyre2 result browsing, template...
[jalview.git] / src / jalview / ws / phyre2 / Phyre2SummaryPojo.java
diff --git a/src/jalview/ws/phyre2/Phyre2SummaryPojo.java b/src/jalview/ws/phyre2/Phyre2SummaryPojo.java
new file mode 100644 (file)
index 0000000..f568fd7
--- /dev/null
@@ -0,0 +1,97 @@
+package jalview.ws.phyre2;
+
+public class Phyre2SummaryPojo
+{
+  private String templateId;
+
+  private String templateSummary;
+
+  private String coverage;
+
+  private String alignedRange;
+
+  private double confidence;
+
+  private int pid;
+
+  private int serialNo;
+
+  public String getTemplateId()
+  {
+    return templateId;
+  }
+
+  public void setTemplateId(String templateId)
+  {
+    this.templateId = templateId;
+  }
+
+  public String getTemplateSummary()
+  {
+    return templateSummary;
+  }
+
+  public void setTemplateSummary(String templateSummary)
+  {
+    this.templateSummary = templateSummary;
+  }
+
+  public double getConfidence()
+  {
+    return confidence;
+  }
+
+  public void setConfidence(double confidence)
+  {
+    this.confidence = confidence;
+  }
+
+  public int getPid()
+  {
+    return pid;
+  }
+
+  public void setPid(int pid)
+  {
+    this.pid = pid;
+  }
+
+  public int getSerialNo()
+  {
+    return serialNo;
+  }
+
+  public void setSerialNo(int serialNo)
+  {
+    this.serialNo = serialNo;
+  }
+
+  @Override
+  public String toString()
+  {
+    return this.serialNo + "\t" + this.templateId + "\t"
+            + this.alignedRange + "\t" + this.coverage + "\t"
+            + this.confidence + "\t" + this.pid + "\t"
+            + this.templateSummary;
+  }
+
+  public String getCoverage()
+  {
+    return coverage;
+  }
+
+  public void setCoverage(String coverage)
+  {
+    this.coverage = coverage;
+  }
+
+  public String getAlignedRange()
+  {
+    return alignedRange;
+  }
+
+  public void setAlignedRange(String alignedRange)
+  {
+    this.alignedRange = alignedRange;
+  }
+}