X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjson%2Fbinding%2Fv1%2FSequenceFeaturesPojo.java;h=f55be4690f97f53b4dfe060a690cae64f6bcb215;hb=fddf3084802b37e5cee17829e32692a4aac3e60d;hp=d8508adc7abdf8fb16194cb067a6257fe2ba1608;hpb=7431a6e01992d55b94a0b4113e19ef65932ca723;p=jalview.git diff --git a/src/jalview/json/binding/v1/SequenceFeaturesPojo.java b/src/jalview/json/binding/v1/SequenceFeaturesPojo.java index d8508ad..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; @@ -20,6 +21,8 @@ public class SequenceFeaturesPojo private Hashtable otherDetails; + private String fillColor; + private String featureGroup; private Vector 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; + } + }