JAL-1641 cherry-picked changes into develop compatible branch
[jalview.git] / src / jalview / json / binding / v1 / SequenceGrpPojo.java
diff --git a/src/jalview/json/binding/v1/SequenceGrpPojo.java b/src/jalview/json/binding/v1/SequenceGrpPojo.java
new file mode 100644 (file)
index 0000000..bb0e724
--- /dev/null
@@ -0,0 +1,126 @@
+package jalview.json.binding.v1;
+
+import java.util.ArrayList;
+
+public class SequenceGrpPojo
+{
+  private String colourScheme;
+
+  private String groupName;
+
+  private String description;
+
+  private boolean displayBoxes;
+
+  private boolean displayText;
+
+  private boolean colourText;
+
+  private boolean showNonconserved;
+
+  private int startRes;
+
+  private int endRes;
+
+  private ArrayList<String> seqsHash = new ArrayList<String>();
+
+  public String getColourScheme()
+  {
+    return colourScheme;
+  }
+
+  public void setColourScheme(String colourScheme)
+  {
+    this.colourScheme = colourScheme;
+  }
+
+  public String getGroupName()
+  {
+    return groupName;
+  }
+
+  public void setGroupName(String groupName)
+  {
+    this.groupName = groupName;
+  }
+
+  public String getDescription()
+  {
+    return description;
+  }
+
+  public void setDescription(String description)
+  {
+    this.description = description;
+  }
+
+  public boolean isDisplayBoxes()
+  {
+    return displayBoxes;
+  }
+
+  public void setDisplayBoxes(boolean displayBoxes)
+  {
+    this.displayBoxes = displayBoxes;
+  }
+
+  public boolean isDisplayText()
+  {
+    return displayText;
+  }
+
+  public void setDisplayText(boolean displayText)
+  {
+    this.displayText = displayText;
+  }
+
+  public boolean isColourText()
+  {
+    return colourText;
+  }
+
+  public void setColourText(boolean colourText)
+  {
+    this.colourText = colourText;
+  }
+
+  public boolean isShowNonconserved()
+  {
+    return showNonconserved;
+  }
+
+  public void setShowNonconserved(boolean showNonconserved)
+  {
+    this.showNonconserved = showNonconserved;
+  }
+
+  public int getStartRes()
+  {
+    return startRes;
+  }
+
+  public void setStartRes(int startRes)
+  {
+    this.startRes = startRes;
+  }
+
+  public int getEndRes()
+  {
+    return endRes;
+  }
+
+  public void setEndRes(int endRes)
+  {
+    this.endRes = endRes;
+  }
+
+  public ArrayList<String> getSeqsHash()
+  {
+    return seqsHash;
+  }
+
+  public void setSeqsHash(ArrayList<String> seqsHash)
+  {
+    this.seqsHash = seqsHash;
+  }
+}