FileDocCategorySizeDatePackage
QueryType.javaAPI DocExample3864Tue Feb 24 00:10:08 GMT 2004com.develop.ss.axis

QueryType

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

Fields Summary
private String
seachString
private float
threshold
private Object
__equalsCalc
private boolean
__hashCodeCalc
private static org.apache.axis.description.TypeDesc
typeDesc
Constructors Summary
public QueryType()

    
Methods Summary
public synchronized booleanequals(java.lang.Object obj)

         
        if (!(obj instanceof QueryType)) return false;
        QueryType other = (QueryType) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.seachString==null && other.getSeachString()==null) || 
             (this.seachString!=null &&
              this.seachString.equals(other.getSeachString()))) &&
            this.threshold == other.getThreshold();
        __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 java.lang.StringgetSeachString()

        return seachString;
    
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 floatgetThreshold()

        return threshold;
    
public static org.apache.axis.description.TypeDescgetTypeDesc()
Return type metadata object


     
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.halloway.net/SiteSearch", "queryType"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("seachString");
        elemField.setXmlName(new javax.xml.namespace.QName("", "seachString"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("threshold");
        elemField.setXmlName(new javax.xml.namespace.QName("", "threshold"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
        typeDesc.addFieldDesc(elemField);
    
        return typeDesc;
    
public synchronized inthashCode()

        
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getSeachString() != null) {
            _hashCode += getSeachString().hashCode();
        }
        _hashCode += new Float(getThreshold()).hashCode();
        __hashCodeCalc = false;
        return _hashCode;
    
public voidsetSeachString(java.lang.String seachString)

        this.seachString = seachString;
    
public voidsetThreshold(float threshold)

        this.threshold = threshold;