JAL-1739 added svid - serial version id to hold version info for all the json objects
[jalview.git] / src / jalview / json / binding / v1 / SequenceFeaturesPojo.java
index d8508ad..f55be46 100644 (file)
@@ -5,6 +5,7 @@ import java.util.Vector;
 
 public class SequenceFeaturesPojo
 {
+  private String svid = "1.0";
 
   private int xstart;
 
@@ -20,6 +21,8 @@ public class SequenceFeaturesPojo
 
   private Hashtable otherDetails;
 
+  private String fillColor;
+
   private String featureGroup;
 
   private Vector<String> links;
@@ -33,15 +36,15 @@ public class SequenceFeaturesPojo
     this.sequenceRef = sequenceRef;
   }
 
-  // public String getFillColor()
-  // {
-  // return "#" + fillColor;
-  // }
-  //
-  // public void setFillColor(String fillColor)
-  // {
-  // this.fillColor = fillColor;
-  // }
+  public String getFillColor()
+  {
+    return "#" + fillColor;
+  }
+
+  public void setFillColor(String fillColor)
+  {
+    this.fillColor = fillColor;
+  }
 
   public int getXstart()
   {
@@ -132,4 +135,10 @@ public class SequenceFeaturesPojo
   {
     this.sequenceRef = sequenceRef;
   }
+
+  public String getSvid()
+  {
+    return svid;
+  }
+
 }