1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package uk.ac.ebi.www; |
22 |
|
|
|
|
| 0% |
Uncovered Elements: 66 (66) |
Complexity: 18 |
Complexity Density: 0.44 |
|
23 |
|
public class WSFile implements java.io.Serializable |
24 |
|
{ |
25 |
|
private java.lang.String type; |
26 |
|
|
27 |
|
private java.lang.String ext; |
28 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
29 |
0 |
public WSFile()... |
30 |
|
{ |
31 |
|
} |
32 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
33 |
0 |
public java.lang.String getType()... |
34 |
|
{ |
35 |
0 |
return type; |
36 |
|
} |
37 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
38 |
0 |
public void setType(java.lang.String type)... |
39 |
|
{ |
40 |
0 |
this.type = type; |
41 |
|
} |
42 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
0 |
public java.lang.String getExt()... |
44 |
|
{ |
45 |
0 |
return ext; |
46 |
|
} |
47 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
48 |
0 |
public void setExt(java.lang.String ext)... |
49 |
|
{ |
50 |
0 |
this.ext = ext; |
51 |
|
} |
52 |
|
|
53 |
|
private java.lang.Object __equalsCalc = null; |
54 |
|
|
|
|
| 0% |
Uncovered Elements: 22 (22) |
Complexity: 5 |
Complexity Density: 0.36 |
|
55 |
0 |
@Override... |
56 |
|
public synchronized boolean equals(java.lang.Object obj) |
57 |
|
{ |
58 |
0 |
if (obj == null) |
59 |
|
{ |
60 |
0 |
return false; |
61 |
|
} |
62 |
0 |
if (!(obj instanceof WSFile)) |
63 |
|
{ |
64 |
0 |
return false; |
65 |
|
} |
66 |
0 |
WSFile other = (WSFile) obj; |
67 |
0 |
if (this == obj) |
68 |
|
{ |
69 |
0 |
return true; |
70 |
|
} |
71 |
0 |
if (__equalsCalc != null) |
72 |
|
{ |
73 |
0 |
return (__equalsCalc == obj); |
74 |
|
} |
75 |
0 |
__equalsCalc = obj; |
76 |
0 |
boolean _equals; |
77 |
0 |
_equals = true |
78 |
|
&& ((type == null && other.getType() == null) |
79 |
|
|| (type != null && type.equals(other.getType()))) |
80 |
|
&& ((ext == null && other.getExt() == null) |
81 |
|
|| (ext != null && ext.equals(other.getExt()))); |
82 |
0 |
__equalsCalc = null; |
83 |
0 |
return _equals; |
84 |
|
} |
85 |
|
|
86 |
|
private boolean __hashCodeCalc = false; |
87 |
|
|
|
|
| 0% |
Uncovered Elements: 16 (16) |
Complexity: 4 |
Complexity Density: 0.4 |
|
88 |
0 |
@Override... |
89 |
|
public synchronized int hashCode() |
90 |
|
{ |
91 |
0 |
if (__hashCodeCalc) |
92 |
|
{ |
93 |
0 |
return 0; |
94 |
|
} |
95 |
0 |
__hashCodeCalc = true; |
96 |
0 |
int _hashCode = 1; |
97 |
0 |
if (getType() != null) |
98 |
|
{ |
99 |
0 |
_hashCode += getType().hashCode(); |
100 |
|
} |
101 |
0 |
if (getExt() != null) |
102 |
|
{ |
103 |
0 |
_hashCode += getExt().hashCode(); |
104 |
|
} |
105 |
0 |
__hashCodeCalc = false; |
106 |
0 |
return _hashCode; |
107 |
|
} |
108 |
|
|
109 |
|
|
110 |
|
private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc( |
111 |
|
WSFile.class); |
112 |
|
|
|
|
| 0% |
Uncovered Elements: 10 (10) |
Complexity: 1 |
Complexity Density: 0.1 |
|
113 |
0 |
static... |
114 |
|
{ |
115 |
0 |
org.apache.axis.description.FieldDesc field = new org.apache.axis.description.ElementDesc(); |
116 |
0 |
field.setFieldName("type"); |
117 |
0 |
field.setXmlName(new javax.xml.namespace.QName("", "type")); |
118 |
0 |
field.setXmlType(new javax.xml.namespace.QName( |
119 |
|
"http://www.w3.org/2001/XMLSchema", "string")); |
120 |
0 |
typeDesc.addFieldDesc(field); |
121 |
0 |
field = new org.apache.axis.description.ElementDesc(); |
122 |
0 |
field.setFieldName("ext"); |
123 |
0 |
field.setXmlName(new javax.xml.namespace.QName("", "ext")); |
124 |
0 |
field.setXmlType(new javax.xml.namespace.QName( |
125 |
|
"http://www.w3.org/2001/XMLSchema", "string")); |
126 |
0 |
typeDesc.addFieldDesc(field); |
127 |
|
}; |
128 |
|
|
129 |
|
|
130 |
|
|
131 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
132 |
0 |
public static org.apache.axis.description.TypeDesc getTypeDesc()... |
133 |
|
{ |
134 |
0 |
return typeDesc; |
135 |
|
} |
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
140 |
0 |
public static org.apache.axis.encoding.Serializer getSerializer(... |
141 |
|
java.lang.String mechType, java.lang.Class _javaType, |
142 |
|
javax.xml.namespace.QName _xmlType) |
143 |
|
{ |
144 |
0 |
return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, |
145 |
|
_xmlType, typeDesc); |
146 |
|
} |
147 |
|
|
148 |
|
|
149 |
|
|
150 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
151 |
0 |
public static org.apache.axis.encoding.Deserializer getDeserializer(... |
152 |
|
java.lang.String mechType, java.lang.Class _javaType, |
153 |
|
javax.xml.namespace.QName _xmlType) |
154 |
|
{ |
155 |
0 |
return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, |
156 |
|
_xmlType, typeDesc); |
157 |
|
} |
158 |
|
|
159 |
|
} |