| 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: 98 (98) |
Complexity: 25 |
Complexity Density: 0.39 |
|
| 23 |
|
public class ServiceHandle implements java.io.Serializable |
| 24 |
|
{ |
| 25 |
|
private java.lang.String abstractName; |
| 26 |
|
|
| 27 |
|
private java.lang.String description; |
| 28 |
|
|
| 29 |
|
private java.lang.String endpointURL; |
| 30 |
|
|
| 31 |
|
private java.lang.String name; |
| 32 |
|
|
| |
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
| 33 |
0 |
public ServiceHandle()... |
| 34 |
|
{ |
| 35 |
|
} |
| 36 |
|
|
| |
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 1 |
Complexity Density: 0.25 |
|
| 37 |
0 |
public ServiceHandle(java.lang.String abstractName,... |
| 38 |
|
java.lang.String description, java.lang.String endpointURL, |
| 39 |
|
java.lang.String name) |
| 40 |
|
{ |
| 41 |
0 |
this.abstractName = abstractName; |
| 42 |
0 |
this.description = description; |
| 43 |
0 |
this.endpointURL = endpointURL; |
| 44 |
0 |
this.name = name; |
| 45 |
|
} |
| 46 |
|
|
| 47 |
|
|
| 48 |
|
|
| 49 |
|
|
| 50 |
|
@return |
| 51 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 52 |
0 |
public java.lang.String getAbstractName()... |
| 53 |
|
{ |
| 54 |
0 |
return abstractName; |
| 55 |
|
} |
| 56 |
|
|
| 57 |
|
|
| 58 |
|
|
| 59 |
|
|
| 60 |
|
@param |
| 61 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 62 |
0 |
public void setAbstractName(java.lang.String abstractName)... |
| 63 |
|
{ |
| 64 |
0 |
this.abstractName = abstractName; |
| 65 |
|
} |
| 66 |
|
|
| 67 |
|
|
| 68 |
|
|
| 69 |
|
|
| 70 |
|
@return |
| 71 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 72 |
0 |
public java.lang.String getDescription()... |
| 73 |
|
{ |
| 74 |
0 |
return description; |
| 75 |
|
} |
| 76 |
|
|
| 77 |
|
|
| 78 |
|
|
| 79 |
|
|
| 80 |
|
@param |
| 81 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 82 |
0 |
public void setDescription(java.lang.String description)... |
| 83 |
|
{ |
| 84 |
0 |
this.description = description; |
| 85 |
|
} |
| 86 |
|
|
| 87 |
|
|
| 88 |
|
|
| 89 |
|
|
| 90 |
|
@return |
| 91 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 92 |
0 |
public java.lang.String getEndpointURL()... |
| 93 |
|
{ |
| 94 |
0 |
return endpointURL; |
| 95 |
|
} |
| 96 |
|
|
| 97 |
|
|
| 98 |
|
|
| 99 |
|
|
| 100 |
|
@param |
| 101 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 102 |
0 |
public void setEndpointURL(java.lang.String endpointURL)... |
| 103 |
|
{ |
| 104 |
0 |
this.endpointURL = endpointURL; |
| 105 |
|
} |
| 106 |
|
|
| 107 |
|
|
| 108 |
|
|
| 109 |
|
|
| 110 |
|
@return |
| 111 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 112 |
0 |
public java.lang.String getName()... |
| 113 |
|
{ |
| 114 |
0 |
return name; |
| 115 |
|
} |
| 116 |
|
|
| 117 |
|
|
| 118 |
|
|
| 119 |
|
|
| 120 |
|
@param |
| 121 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 122 |
0 |
public void setName(java.lang.String name)... |
| 123 |
|
{ |
| 124 |
0 |
this.name = name; |
| 125 |
|
} |
| 126 |
|
|
| 127 |
|
private java.lang.Object __equalsCalc = null; |
| 128 |
|
|
| |
|
| 0% |
Uncovered Elements: 22 (22) |
Complexity: 5 |
Complexity Density: 0.36 |
|
| 129 |
0 |
public synchronized boolean equals(java.lang.Object obj)... |
| 130 |
|
{ |
| 131 |
0 |
if (obj == null) |
| 132 |
|
{ |
| 133 |
0 |
return false; |
| 134 |
|
} |
| 135 |
0 |
if (!(obj instanceof ServiceHandle)) |
| 136 |
|
{ |
| 137 |
0 |
return false; |
| 138 |
|
} |
| 139 |
0 |
ServiceHandle other = (ServiceHandle) obj; |
| 140 |
0 |
if (this == obj) |
| 141 |
|
{ |
| 142 |
0 |
return true; |
| 143 |
|
} |
| 144 |
0 |
if (__equalsCalc != null) |
| 145 |
|
{ |
| 146 |
0 |
return (__equalsCalc == obj); |
| 147 |
|
} |
| 148 |
0 |
__equalsCalc = obj; |
| 149 |
0 |
boolean _equals; |
| 150 |
0 |
_equals = true |
| 151 |
|
&& ((this.abstractName == null |
| 152 |
|
&& other.getAbstractName() == null) |
| 153 |
|
|| (this.abstractName != null && this.abstractName |
| 154 |
|
.equals(other.getAbstractName()))) |
| 155 |
|
&& ((this.description == null && other.getDescription() == null) |
| 156 |
|
|| (this.description != null && this.description |
| 157 |
|
.equals(other.getDescription()))) |
| 158 |
|
&& ((this.endpointURL == null && other.getEndpointURL() == null) |
| 159 |
|
|| (this.endpointURL != null && this.endpointURL |
| 160 |
|
.equals(other.getEndpointURL()))) |
| 161 |
|
&& ((this.name == null && other.getName() == null) |
| 162 |
|
|| (this.name != null |
| 163 |
|
&& this.name.equals(other.getName()))); |
| 164 |
0 |
__equalsCalc = null; |
| 165 |
0 |
return _equals; |
| 166 |
|
} |
| 167 |
|
|
| 168 |
|
private boolean __hashCodeCalc = false; |
| 169 |
|
|
| |
|
| 0% |
Uncovered Elements: 24 (24) |
Complexity: 6 |
Complexity Density: 0.43 |
|
| 170 |
0 |
public synchronized int hashCode()... |
| 171 |
|
{ |
| 172 |
0 |
if (__hashCodeCalc) |
| 173 |
|
{ |
| 174 |
0 |
return 0; |
| 175 |
|
} |
| 176 |
0 |
__hashCodeCalc = true; |
| 177 |
0 |
int _hashCode = 1; |
| 178 |
0 |
if (getAbstractName() != null) |
| 179 |
|
{ |
| 180 |
0 |
_hashCode += getAbstractName().hashCode(); |
| 181 |
|
} |
| 182 |
0 |
if (getDescription() != null) |
| 183 |
|
{ |
| 184 |
0 |
_hashCode += getDescription().hashCode(); |
| 185 |
|
} |
| 186 |
0 |
if (getEndpointURL() != null) |
| 187 |
|
{ |
| 188 |
0 |
_hashCode += getEndpointURL().hashCode(); |
| 189 |
|
} |
| 190 |
0 |
if (getName() != null) |
| 191 |
|
{ |
| 192 |
0 |
_hashCode += getName().hashCode(); |
| 193 |
|
} |
| 194 |
0 |
__hashCodeCalc = false; |
| 195 |
0 |
return _hashCode; |
| 196 |
|
} |
| 197 |
|
|
| 198 |
|
|
| 199 |
|
private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc( |
| 200 |
|
ServiceHandle.class, true); |
| 201 |
|
|
| |
|
| 0% |
Uncovered Elements: 21 (21) |
Complexity: 1 |
Complexity Density: 0.05 |
|
| 202 |
0 |
static... |
| 203 |
|
{ |
| 204 |
0 |
typeDesc.setXmlType(new javax.xml.namespace.QName( |
| 205 |
|
"registry.objects.vamsas", "ServiceHandle")); |
| 206 |
0 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); |
| 207 |
0 |
elemField.setFieldName("abstractName"); |
| 208 |
0 |
elemField.setXmlName(new javax.xml.namespace.QName("", "abstractName")); |
| 209 |
0 |
elemField.setXmlType(new javax.xml.namespace.QName( |
| 210 |
|
"http://schemas.xmlsoap.org/soap/encoding/", "string")); |
| 211 |
0 |
typeDesc.addFieldDesc(elemField); |
| 212 |
0 |
elemField = new org.apache.axis.description.ElementDesc(); |
| 213 |
0 |
elemField.setFieldName("description"); |
| 214 |
0 |
elemField.setXmlName(new javax.xml.namespace.QName("", "description")); |
| 215 |
0 |
elemField.setXmlType(new javax.xml.namespace.QName( |
| 216 |
|
"http://schemas.xmlsoap.org/soap/encoding/", "string")); |
| 217 |
0 |
typeDesc.addFieldDesc(elemField); |
| 218 |
0 |
elemField = new org.apache.axis.description.ElementDesc(); |
| 219 |
0 |
elemField.setFieldName("endpointURL"); |
| 220 |
0 |
elemField.setXmlName(new javax.xml.namespace.QName("", "endpointURL")); |
| 221 |
0 |
elemField.setXmlType(new javax.xml.namespace.QName( |
| 222 |
|
"http://schemas.xmlsoap.org/soap/encoding/", "string")); |
| 223 |
0 |
typeDesc.addFieldDesc(elemField); |
| 224 |
0 |
elemField = new org.apache.axis.description.ElementDesc(); |
| 225 |
0 |
elemField.setFieldName("name"); |
| 226 |
0 |
elemField.setXmlName(new javax.xml.namespace.QName("", "name")); |
| 227 |
0 |
elemField.setXmlType(new javax.xml.namespace.QName( |
| 228 |
|
"http://schemas.xmlsoap.org/soap/encoding/", "string")); |
| 229 |
0 |
typeDesc.addFieldDesc(elemField); |
| 230 |
|
} |
| 231 |
|
|
| 232 |
|
|
| 233 |
|
|
| 234 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 235 |
0 |
public static org.apache.axis.description.TypeDesc getTypeDesc()... |
| 236 |
|
{ |
| 237 |
0 |
return typeDesc; |
| 238 |
|
} |
| 239 |
|
|
| 240 |
|
|
| 241 |
|
|
| 242 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 243 |
0 |
public static org.apache.axis.encoding.Serializer getSerializer(... |
| 244 |
|
java.lang.String mechType, java.lang.Class _javaType, |
| 245 |
|
javax.xml.namespace.QName _xmlType) |
| 246 |
|
{ |
| 247 |
0 |
return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, |
| 248 |
|
_xmlType, typeDesc); |
| 249 |
|
} |
| 250 |
|
|
| 251 |
|
|
| 252 |
|
|
| 253 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 254 |
0 |
public static org.apache.axis.encoding.Deserializer getDeserializer(... |
| 255 |
|
java.lang.String mechType, java.lang.Class _javaType, |
| 256 |
|
javax.xml.namespace.QName _xmlType) |
| 257 |
|
{ |
| 258 |
0 |
return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, |
| 259 |
|
_xmlType, typeDesc); |
| 260 |
|
} |
| 261 |
|
|
| 262 |
|
} |