JAL-2446 merged to spike branch
[jalview.git] / src / jalview / datamodel / xdb / uniprot / UniprotFeature.java
1 package jalview.datamodel.xdb.uniprot;
2
3 /**
4  * A data model class for binding from Uniprot XML via uniprot_mapping.xml
5  */
6 public class UniprotFeature
7 {
8   private String type;
9
10   private String description;
11
12   private String status;
13
14   private int begin;
15
16   private int end;
17
18   public String getType()
19   {
20     return type;
21   }
22
23   public void setType(String t)
24   {
25     this.type = t;
26   }
27
28   public String getDescription()
29   {
30     return description;
31   }
32
33   public void setDescription(String d)
34   {
35     this.description = d;
36   }
37
38   public String getStatus()
39   {
40     return status;
41   }
42
43   public void setStatus(String s)
44   {
45     this.status = s;
46   }
47
48   public int getBegin()
49   {
50     return begin;
51   }
52
53   public void setBegin(int b)
54   {
55     this.begin = b;
56   }
57
58   public int getEnd()
59   {
60     return end;
61   }
62
63   public void setEnd(int e)
64   {
65     this.end = e;
66   }
67
68   public int getPosition()
69   {
70     return begin;
71   }
72
73   public void setPosition(int p)
74   {
75     this.begin = p;
76     this.end = p;
77   }
78 }