X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjson%2Fbinding%2Fv1%2FSequenceFeaturesPojo.java;h=f55be4690f97f53b4dfe060a690cae64f6bcb215;hb=5c9623b7296d1b1be7ca242c531489262630c477;hp=c970191ba881e69da940aca10d2edc88db3ec0d1;hpb=a40bbc57a85658544e2e5d7cc2a7596b762566dc;p=jalview.git diff --git a/src/jalview/json/binding/v1/SequenceFeaturesPojo.java b/src/jalview/json/binding/v1/SequenceFeaturesPojo.java index c970191..f55be46 100644 --- a/src/jalview/json/binding/v1/SequenceFeaturesPojo.java +++ b/src/jalview/json/binding/v1/SequenceFeaturesPojo.java @@ -5,6 +5,7 @@ import java.util.Vector; public class SequenceFeaturesPojo { + private String svid = "1.0"; private int xstart; @@ -14,14 +15,14 @@ public class SequenceFeaturesPojo private String type; - // private String fillColor; - private Float score; private String description; private Hashtable otherDetails; + private String fillColor; + private String featureGroup; private Vector links; @@ -35,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() { @@ -134,4 +135,10 @@ public class SequenceFeaturesPojo { this.sequenceRef = sequenceRef; } + + public String getSvid() + { + return svid; + } + }