Methods Summary |
---|
public synchronized boolean | equals(java.lang.Object obj)
if (!(obj instanceof ResponseType)) return false;
ResponseType other = (ResponseType) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.url==null && other.getUrl()==null) ||
(this.url!=null &&
this.url.equals(other.getUrl()))) &&
this.score == other.getScore();
__equalsCalc = null;
return _equals;
|
public static org.apache.axis.encoding.Deserializer | getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)Get Custom Deserializer
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
|
public float | getScore()
return score;
|
public static org.apache.axis.encoding.Serializer | getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)Get Custom Serializer
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
|
public static org.apache.axis.description.TypeDesc | getTypeDesc()Return type metadata object
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.halloway.net/SiteSearch", "responseType"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("url");
elemField.setXmlName(new javax.xml.namespace.QName("", "url"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "anyURI"));
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("score");
elemField.setXmlName(new javax.xml.namespace.QName("", "score"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
typeDesc.addFieldDesc(elemField);
return typeDesc;
|
public org.apache.axis.types.URI | getUrl()
return url;
|
public synchronized int | hashCode()
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getUrl() != null) {
_hashCode += getUrl().hashCode();
}
_hashCode += new Float(getScore()).hashCode();
__hashCodeCalc = false;
return _hashCode;
|
public void | setScore(float score)
this.score = score;
|
public void | setUrl(org.apache.axis.types.URI url)
this.url = url;
|