Merge branch 'features/JAL-1641_JSON_' 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 featureGroup;
24
25   private Vector<String> links;
26
27   public SequenceFeaturesPojo()
28   {
29   }
30
31   public SequenceFeaturesPojo(String sequenceRef)
32   {
33     this.sequenceRef = sequenceRef;
34   }
35
36   // public String getFillColor()
37   // {
38   // return "#" + fillColor;
39   // }
40   //
41   // public void setFillColor(String fillColor)
42   // {
43   // this.fillColor = fillColor;
44   // }
45
46   public int getXstart()
47   {
48     return xstart;
49   }
50
51   public void setXstart(int xstart)
52   {
53     this.xstart = xstart;
54   }
55
56   public int getXend()
57   {
58     return xend;
59   }
60
61   public void setXend(int xend)
62   {
63     this.xend = xend;
64   }
65
66   public String getType()
67   {
68     return type;
69   }
70
71   public void setType(String type)
72   {
73     this.type = type;
74   }
75
76   public Float getScore()
77   {
78     return score;
79   }
80
81   public void setScore(Float score)
82   {
83     this.score = score;
84   }
85
86   public String getDescription()
87   {
88     return description;
89   }
90
91   public void setDescription(String description)
92   {
93     this.description = description;
94   }
95
96   public Hashtable getOtherDetails()
97   {
98     return otherDetails;
99   }
100
101   public void setOtherDetails(Hashtable otherDetails)
102   {
103     this.otherDetails = otherDetails;
104   }
105
106   public Vector<String> getLinks()
107   {
108     return links;
109   }
110
111   public void setLinks(Vector<String> links)
112   {
113     this.links = links;
114   }
115
116   public String getFeatureGroup()
117   {
118     return featureGroup;
119   }
120
121   public void setFeatureGroup(String featureGroup)
122   {
123     this.featureGroup = featureGroup;
124   }
125
126   public String getSequenceRef()
127   {
128     return sequenceRef;
129   }
130
131   public void setSequenceRef(String sequenceRef)
132   {
133     this.sequenceRef = sequenceRef;
134   }
135 }