1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package vamsas.objects.simple; |
22 |
|
|
|
|
| 0% |
Uncovered Elements: 52 (52) |
Complexity: 15 |
Complexity Density: 0.5 |
|
23 |
|
public class JpredResult extends vamsas.objects.simple.Result |
24 |
|
implements java.io.Serializable |
25 |
|
{ |
26 |
|
private java.lang.String aligfile; |
27 |
|
|
28 |
|
private java.lang.String predfile; |
29 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
30 |
0 |
public JpredResult()... |
31 |
|
{ |
32 |
|
} |
33 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
34 |
0 |
public JpredResult(java.lang.String aligfile, java.lang.String predfile)... |
35 |
|
{ |
36 |
0 |
this.aligfile = aligfile; |
37 |
0 |
this.predfile = predfile; |
38 |
|
} |
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
@return |
44 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
45 |
0 |
public java.lang.String getAligfile()... |
46 |
|
{ |
47 |
0 |
return aligfile; |
48 |
|
} |
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
@param |
54 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
0 |
public void setAligfile(java.lang.String aligfile)... |
56 |
|
{ |
57 |
0 |
this.aligfile = aligfile; |
58 |
|
} |
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
@return |
64 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
65 |
0 |
public java.lang.String getPredfile()... |
66 |
|
{ |
67 |
0 |
return predfile; |
68 |
|
} |
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
@param |
74 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
75 |
0 |
public void setPredfile(java.lang.String predfile)... |
76 |
|
{ |
77 |
0 |
this.predfile = predfile; |
78 |
|
} |
79 |
|
|
80 |
|
private java.lang.Object __equalsCalc = null; |
81 |
|
|
|
|
| 0% |
Uncovered Elements: 22 (22) |
Complexity: 5 |
Complexity Density: 0.36 |
|
82 |
0 |
@Override... |
83 |
|
public synchronized boolean equals(java.lang.Object obj) |
84 |
|
{ |
85 |
0 |
if (obj == null) |
86 |
|
{ |
87 |
0 |
return false; |
88 |
|
} |
89 |
0 |
if (!(obj instanceof JpredResult)) |
90 |
|
{ |
91 |
0 |
return false; |
92 |
|
} |
93 |
0 |
JpredResult other = (JpredResult) obj; |
94 |
0 |
if (this == obj) |
95 |
|
{ |
96 |
0 |
return true; |
97 |
|
} |
98 |
0 |
if (__equalsCalc != null) |
99 |
|
{ |
100 |
0 |
return (__equalsCalc == obj); |
101 |
|
} |
102 |
0 |
__equalsCalc = obj; |
103 |
0 |
boolean _equals; |
104 |
0 |
_equals = super.equals(obj) |
105 |
|
&& ((this.aligfile == null && other.getAligfile() == null) |
106 |
|
|| (this.aligfile != null |
107 |
|
&& this.aligfile.equals(other.getAligfile()))) |
108 |
|
&& ((this.predfile == null && other.getPredfile() == null) |
109 |
|
|| (this.predfile != null |
110 |
|
&& this.predfile.equals(other.getPredfile()))); |
111 |
0 |
__equalsCalc = null; |
112 |
0 |
return _equals; |
113 |
|
} |
114 |
|
|
115 |
|
private boolean __hashCodeCalc = false; |
116 |
|
|
|
|
| 0% |
Uncovered Elements: 16 (16) |
Complexity: 4 |
Complexity Density: 0.4 |
|
117 |
0 |
@Override... |
118 |
|
public synchronized int hashCode() |
119 |
|
{ |
120 |
0 |
if (__hashCodeCalc) |
121 |
|
{ |
122 |
0 |
return 0; |
123 |
|
} |
124 |
0 |
__hashCodeCalc = true; |
125 |
0 |
int _hashCode = super.hashCode(); |
126 |
0 |
if (getAligfile() != null) |
127 |
|
{ |
128 |
0 |
_hashCode += getAligfile().hashCode(); |
129 |
|
} |
130 |
0 |
if (getPredfile() != null) |
131 |
|
{ |
132 |
0 |
_hashCode += getPredfile().hashCode(); |
133 |
|
} |
134 |
0 |
__hashCodeCalc = false; |
135 |
0 |
return _hashCode; |
136 |
|
} |
137 |
|
|
138 |
|
} |