1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package jalview.json.binding.biojson.v1; |
22 |
|
|
23 |
|
import java.util.ArrayList; |
24 |
|
|
25 |
|
import com.github.reinert.jjschema.Attributes; |
26 |
|
|
|
|
| 95% |
Uncovered Elements: 2 (40) |
Complexity: 20 |
Complexity Density: 1 |
|
27 |
|
public class SequenceGrpPojo |
28 |
|
{ |
29 |
|
@Attributes( |
30 |
|
required = false, |
31 |
|
description = "The <a href=\"#colourScheme\">Colour Scheme</a> applied to the Sequence Group") |
32 |
|
private String colourScheme; |
33 |
|
|
34 |
|
@Attributes( |
35 |
|
required = true, |
36 |
|
description = "The name assigned to the seqGroup") |
37 |
|
private String groupName; |
38 |
|
|
39 |
|
@Attributes( |
40 |
|
required = false, |
41 |
|
description = "Serial version identifier for the <b>seqGroup</b> object model") |
42 |
|
private String description; |
43 |
|
|
44 |
|
@Attributes( |
45 |
|
required = false, |
46 |
|
description = "Determines if the seqGroup border should be visible or not") |
47 |
|
private boolean displayBoxes; |
48 |
|
|
49 |
|
@Attributes( |
50 |
|
required = false, |
51 |
|
description = "Determines if the texts of the group is displayed or not") |
52 |
|
private boolean displayText; |
53 |
|
|
54 |
|
@Attributes( |
55 |
|
required = false, |
56 |
|
description = "Determines if the residues text for the group is coloured") |
57 |
|
private boolean colourText; |
58 |
|
|
59 |
|
@Attributes( |
60 |
|
required = false, |
61 |
|
description = "Boolean value indicating whether residues should only be shown <br/>that are different from current reference or consensus sequence") |
62 |
|
private boolean showNonconserved; |
63 |
|
|
64 |
|
@Attributes( |
65 |
|
required = true, |
66 |
|
description = "The index of the group’s first residue in the alignment space") |
67 |
|
private int startRes; |
68 |
|
|
69 |
|
@Attributes( |
70 |
|
required = true, |
71 |
|
description = "The index of the group’s last residue in the alignment space") |
72 |
|
private int endRes; |
73 |
|
|
74 |
|
@Attributes( |
75 |
|
required = true, |
76 |
|
minItems = 1, |
77 |
|
uniqueItems = true, |
78 |
|
description = "An array of the unique id's for the sequences belonging to the group") |
79 |
|
private ArrayList<String> sequenceRefs = new ArrayList<String>(); |
80 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
81 |
6 |
public String getColourScheme()... |
82 |
|
{ |
83 |
6 |
return colourScheme; |
84 |
|
} |
85 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
86 |
6 |
public void setColourScheme(String colourScheme)... |
87 |
|
{ |
88 |
6 |
this.colourScheme = colourScheme; |
89 |
|
} |
90 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
91 |
6 |
public String getGroupName()... |
92 |
|
{ |
93 |
6 |
return groupName; |
94 |
|
} |
95 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
96 |
6 |
public void setGroupName(String groupName)... |
97 |
|
{ |
98 |
6 |
this.groupName = groupName; |
99 |
|
} |
100 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
101 |
6 |
public String getDescription()... |
102 |
|
{ |
103 |
6 |
return description; |
104 |
|
} |
105 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
106 |
6 |
public void setDescription(String description)... |
107 |
|
{ |
108 |
6 |
this.description = description; |
109 |
|
} |
110 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
111 |
6 |
public boolean isDisplayBoxes()... |
112 |
|
{ |
113 |
6 |
return displayBoxes; |
114 |
|
} |
115 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
116 |
6 |
public void setDisplayBoxes(boolean displayBoxes)... |
117 |
|
{ |
118 |
6 |
this.displayBoxes = displayBoxes; |
119 |
|
} |
120 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
121 |
6 |
public boolean isDisplayText()... |
122 |
|
{ |
123 |
6 |
return displayText; |
124 |
|
} |
125 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
126 |
6 |
public void setDisplayText(boolean displayText)... |
127 |
|
{ |
128 |
6 |
this.displayText = displayText; |
129 |
|
} |
130 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
131 |
6 |
public boolean isColourText()... |
132 |
|
{ |
133 |
6 |
return colourText; |
134 |
|
} |
135 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
136 |
6 |
public void setColourText(boolean colourText)... |
137 |
|
{ |
138 |
6 |
this.colourText = colourText; |
139 |
|
} |
140 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
141 |
6 |
public boolean isShowNonconserved()... |
142 |
|
{ |
143 |
6 |
return showNonconserved; |
144 |
|
} |
145 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
146 |
6 |
public void setShowNonconserved(boolean showNonconserved)... |
147 |
|
{ |
148 |
6 |
this.showNonconserved = showNonconserved; |
149 |
|
} |
150 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
151 |
6 |
public int getStartRes()... |
152 |
|
{ |
153 |
6 |
return startRes; |
154 |
|
} |
155 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
156 |
6 |
public void setStartRes(int startRes)... |
157 |
|
{ |
158 |
6 |
this.startRes = startRes; |
159 |
|
} |
160 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
161 |
6 |
public int getEndRes()... |
162 |
|
{ |
163 |
6 |
return endRes; |
164 |
|
} |
165 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
166 |
6 |
public void setEndRes(int endRes)... |
167 |
|
{ |
168 |
6 |
this.endRes = endRes; |
169 |
|
} |
170 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
171 |
30 |
public ArrayList<String> getSequenceRefs()... |
172 |
|
{ |
173 |
30 |
return sequenceRefs; |
174 |
|
} |
175 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
176 |
0 |
public void setSequenceRefs(ArrayList<String> sequenceRefs)... |
177 |
|
{ |
178 |
0 |
this.sequenceRefs = sequenceRefs; |
179 |
|
} |
180 |
|
|
181 |
|
} |