1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package ext.vamsas; |
22 |
|
|
|
|
| 0% |
Uncovered Elements: 63 (63) |
Complexity: 19 |
Complexity Density: 0.51 |
|
23 |
|
public class ServiceHandles implements java.io.Serializable |
24 |
|
{ |
25 |
|
private ext.vamsas.ServiceHandle[] services; |
26 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
27 |
0 |
public ServiceHandles()... |
28 |
|
{ |
29 |
|
} |
30 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
31 |
0 |
public ServiceHandles(ext.vamsas.ServiceHandle[] services)... |
32 |
|
{ |
33 |
0 |
this.services = services; |
34 |
|
} |
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
@return |
40 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
41 |
0 |
public ext.vamsas.ServiceHandle[] getServices()... |
42 |
|
{ |
43 |
0 |
return services; |
44 |
|
} |
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
@param |
50 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
0 |
public void setServices(ext.vamsas.ServiceHandle[] services)... |
52 |
|
{ |
53 |
0 |
this.services = services; |
54 |
|
} |
55 |
|
|
56 |
|
private java.lang.Object __equalsCalc = null; |
57 |
|
|
|
|
| 0% |
Uncovered Elements: 22 (22) |
Complexity: 5 |
Complexity Density: 0.36 |
|
58 |
0 |
public synchronized boolean equals(java.lang.Object obj)... |
59 |
|
{ |
60 |
0 |
if (obj == null) |
61 |
|
{ |
62 |
0 |
return false; |
63 |
|
} |
64 |
0 |
if (!(obj instanceof ServiceHandles)) |
65 |
|
{ |
66 |
0 |
return false; |
67 |
|
} |
68 |
0 |
ServiceHandles other = (ServiceHandles) obj; |
69 |
0 |
if (this == obj) |
70 |
|
{ |
71 |
0 |
return true; |
72 |
|
} |
73 |
0 |
if (__equalsCalc != null) |
74 |
|
{ |
75 |
0 |
return (__equalsCalc == obj); |
76 |
|
} |
77 |
0 |
__equalsCalc = obj; |
78 |
0 |
boolean _equals; |
79 |
0 |
_equals = true |
80 |
|
&& ((this.services == null && other.getServices() == null) |
81 |
|
|| (this.services != null && java.util.Arrays |
82 |
|
.equals(this.services, other.getServices()))); |
83 |
0 |
__equalsCalc = null; |
84 |
0 |
return _equals; |
85 |
|
} |
86 |
|
|
87 |
|
private boolean __hashCodeCalc = false; |
88 |
|
|
|
|
| 0% |
Uncovered Elements: 19 (19) |
Complexity: 6 |
Complexity Density: 0.55 |
|
89 |
0 |
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 (getServices() != null) |
98 |
|
{ |
99 |
0 |
for (int i = 0; i < java.lang.reflect.Array |
100 |
|
.getLength(getServices()); i++) |
101 |
|
{ |
102 |
0 |
java.lang.Object obj = java.lang.reflect.Array.get(getServices(), |
103 |
|
i); |
104 |
0 |
if (obj != null && !obj.getClass().isArray()) |
105 |
|
{ |
106 |
0 |
_hashCode += obj.hashCode(); |
107 |
|
} |
108 |
|
} |
109 |
|
} |
110 |
0 |
__hashCodeCalc = false; |
111 |
0 |
return _hashCode; |
112 |
|
} |
113 |
|
|
114 |
|
|
115 |
|
private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc( |
116 |
|
ServiceHandles.class, true); |
117 |
|
|
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 1 |
Complexity Density: 0.17 |
|
118 |
0 |
static... |
119 |
|
{ |
120 |
0 |
typeDesc.setXmlType(new javax.xml.namespace.QName( |
121 |
|
"registry.objects.vamsas", "ServiceHandles")); |
122 |
0 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); |
123 |
0 |
elemField.setFieldName("services"); |
124 |
0 |
elemField.setXmlName(new javax.xml.namespace.QName("", "services")); |
125 |
0 |
elemField.setXmlType(new javax.xml.namespace.QName( |
126 |
|
"registry.objects.vamsas", "ServiceHandle")); |
127 |
0 |
typeDesc.addFieldDesc(elemField); |
128 |
|
} |
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
133 |
0 |
public static org.apache.axis.description.TypeDesc getTypeDesc()... |
134 |
|
{ |
135 |
0 |
return typeDesc; |
136 |
|
} |
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
141 |
0 |
public static org.apache.axis.encoding.Serializer getSerializer(... |
142 |
|
java.lang.String mechType, java.lang.Class _javaType, |
143 |
|
javax.xml.namespace.QName _xmlType) |
144 |
|
{ |
145 |
0 |
return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, |
146 |
|
_xmlType, typeDesc); |
147 |
|
} |
148 |
|
|
149 |
|
|
150 |
|
|
151 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
152 |
0 |
public static org.apache.axis.encoding.Deserializer getDeserializer(... |
153 |
|
java.lang.String mechType, java.lang.Class _javaType, |
154 |
|
javax.xml.namespace.QName _xmlType) |
155 |
|
{ |
156 |
0 |
return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, |
157 |
|
_xmlType, typeDesc); |
158 |
|
} |
159 |
|
|
160 |
|
} |