Merge branch 'features/JAL-1541_BioJsMSA' into develop
[jalview.git] / src / jalview / json / binding / v1 / SequenceFeaturesPojo.java
1 package jalview.json.binding.v1;
2
3 import java.util.Hashtable;
4 import java.util.Vector;
5
6 public class SequenceFeaturesPojo
7 {
8
9   private int xstart;
10
11   private int xend;
12
13   private String sequenceRef;
14
15   private String type;
16
17   private Float score;
18
19   private String description;
20
21   private Hashtable otherDetails;
22
23   private String fillColor;
24
25   private String featureGroup;
26
27   private Vector<String> links;
28
29   public SequenceFeaturesPojo()
30   {
31   }
32
33   public SequenceFeaturesPojo(String sequenceRef)
34   {
35     this.sequenceRef = sequenceRef;
36   }
37
38   public String getFillColor()
39   {
40     return "#" + fillColor;
41   }
42
43   public void setFillColor(String fillColor)
44   {
45     this.fillColor = fillColor;
46   }
47
48   public int getXstart()
49   {
50     return xstart;
51   }
52
53   public void setXstart(int xstart)
54   {
55     this.xstart = xstart;
56   }
57
58   public int getXend()
59   {
60     return xend;
61   }
62
63   public void setXend(int xend)
64   {
65     this.xend = xend;
66   }
67
68   public String getType()
69   {
70     return type;
71   }
72
73   public void setType(String type)
74   {
75     this.type = type;
76   }
77
78   public Float getScore()
79   {
80     return score;
81   }
82
83   public void setScore(Float score)
84   {
85     this.score = score;
86   }
87
88   public String getDescription()
89   {
90     return description;
91   }
92
93   public void setDescription(String description)
94   {
95     this.description = description;
96   }
97
98   public Hashtable getOtherDetails()
99   {
100     return otherDetails;
101   }
102
103   public void setOtherDetails(Hashtable otherDetails)
104   {
105     this.otherDetails = otherDetails;
106   }
107
108   public Vector<String> getLinks()
109   {
110     return links;
111   }
112
113   public void setLinks(Vector<String> links)
114   {
115     this.links = links;
116   }
117
118   public String getFeatureGroup()
119   {
120     return featureGroup;
121   }
122
123   public void setFeatureGroup(String featureGroup)
124   {
125     this.featureGroup = featureGroup;
126   }
127
128   public String getSequenceRef()
129   {
130     return sequenceRef;
131   }
132
133   public void setSequenceRef(String sequenceRef)
134   {
135     this.sequenceRef = sequenceRef;
136   }
137 }