JAL-1739 added svid - serial version id to hold version info for all the json objects
[jalview.git] / src / jalview / json / binding / v1 / SequencePojo.java
index 232cefb..d96da2a 100644 (file)
@@ -4,6 +4,8 @@ package jalview.json.binding.v1;
 
 public class SequencePojo
 {
+  private String svid = "1.0";
+
   private String seq;
 
   private String name;
@@ -16,8 +18,6 @@ public class SequencePojo
 
   private int end;
 
-  // private ArrayList<SequenceFeaturesPojo> features = new
-  // ArrayList<SequenceFeaturesPojo>();
 
   public SequencePojo()
   {
@@ -80,16 +80,6 @@ public class SequencePojo
     this.end = end;
   }
 
-  // public ArrayList<SequenceFeaturesPojo> getFeatures()
-  // {
-  // return features;
-  // }
-  //
-  // public void setFeatures(ArrayList<SequenceFeaturesPojo> features)
-  // {
-  // this.features = features;
-  // }
-
   public int getOrder()
   {
     return order;
@@ -99,4 +89,10 @@ public class SequencePojo
   {
     this.order = order;
   }
+
+  public String getSvid()
+  {
+    return svid;
+  }
+
 }