1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 package org.utgenome.gwt.utgb.client.track.bean;
26
27 import java.util.ArrayList;
28
29 import com.google.gwt.user.client.rpc.IsSerializable;
30
31 public class Result implements IsSerializable {
32 private int id = -1;
33 private String species;
34 private String revision;
35 private String target;
36 private int start;
37 private int end;
38
39
40
41 private ArrayList<String> keywords = new ArrayList<String>();
42
43
44
45
46 public Result() {
47 }
48
49 public int getId() {
50 return id;
51 }
52
53 public void setId(int id) {
54 this.id = id;
55 }
56
57 public String getSpecies() {
58 return species;
59 }
60
61 public void setSpecies(String species) {
62 this.species = species;
63 }
64
65 public String getRevision() {
66 return revision;
67 }
68
69 public void setRevision(String revision) {
70 this.revision = revision;
71 }
72
73 public String getTarget() {
74 return target;
75 }
76
77 public void setTarget(String scaffold) {
78 this.target = scaffold;
79 }
80
81 public int getStart() {
82 return start;
83 }
84
85 public void setStart(int startpos) {
86 this.start = startpos;
87 }
88
89 public int getEnd() {
90 return end;
91 }
92
93 public void setEnd(int endpos) {
94 this.end = endpos;
95 }
96
97 public ArrayList<String> getKeywordList() {
98 return keywords;
99 }
100
101 public void addKeyword(String keyword) {
102 keywords.add(keyword);
103 }
104
105 public void addName(String keyword) {
106 keywords.add(keyword);
107 }
108
109 public void clearKeyword() {
110 keywords.clear();
111 }
112
113 }