FileDocCategorySizeDatePackage
ResponseType.javaAPI DocExample3739Tue Feb 24 00:10:08 GMT 2004com.develop.ss.axis

ResponseType

public class ResponseType extends Object implements Serializable
ResponseType.java This file was auto-generated from WSDL by the Apache Axis WSDL2Java emitter.

Fields Summary
private org.apache.axis.types.URI
url
private float
score
private Object
__equalsCalc
private boolean
__hashCodeCalc
private static org.apache.axis.description.TypeDesc
typeDesc
Constructors Summary
public ResponseType()

    
Methods Summary
public synchronized booleanequals(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.DeserializergetDeserializer(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 floatgetScore()

        return score;
    
public static org.apache.axis.encoding.SerializergetSerializer(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.TypeDescgetTypeDesc()
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.URIgetUrl()

        return url;
    
public synchronized inthashCode()

        
        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 voidsetScore(float score)

        this.score = score;
    
public voidsetUrl(org.apache.axis.types.URI url)

        this.url = url;