GetQuotesResponse.java
上传用户:shen332233
上传日期:2021-09-03
资源大小:7478k
文件大小:4k
源码类别:

Ajax

开发平台:

Java

  1. /**
  2.  * GetQuotesResponse.java
  3.  *
  4.  * This file was auto-generated from WSDL
  5.  * by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
  6.  */
  7. package ajaxdashboard.ws.stockquote;
  8. public class GetQuotesResponse  implements java.io.Serializable {
  9.     private ajaxdashboard.ws.stockquote.ArrayOfQuote getQuotesResult;
  10.     public GetQuotesResponse() {
  11.     }
  12.     public GetQuotesResponse(
  13.            ajaxdashboard.ws.stockquote.ArrayOfQuote getQuotesResult) {
  14.            this.getQuotesResult = getQuotesResult;
  15.     }
  16.     /**
  17.      * Gets the getQuotesResult value for this GetQuotesResponse.
  18.      * 
  19.      * @return getQuotesResult
  20.      */
  21.     public ajaxdashboard.ws.stockquote.ArrayOfQuote getGetQuotesResult() {
  22.         return getQuotesResult;
  23.     }
  24.     /**
  25.      * Sets the getQuotesResult value for this GetQuotesResponse.
  26.      * 
  27.      * @param getQuotesResult
  28.      */
  29.     public void setGetQuotesResult(ajaxdashboard.ws.stockquote.ArrayOfQuote getQuotesResult) {
  30.         this.getQuotesResult = getQuotesResult;
  31.     }
  32.     private java.lang.Object __equalsCalc = null;
  33.     public synchronized boolean equals(java.lang.Object obj) {
  34.         if (!(obj instanceof GetQuotesResponse)) return false;
  35.         GetQuotesResponse other = (GetQuotesResponse) obj;
  36.         if (obj == null) return false;
  37.         if (this == obj) return true;
  38.         if (__equalsCalc != null) {
  39.             return (__equalsCalc == obj);
  40.         }
  41.         __equalsCalc = obj;
  42.         boolean _equals;
  43.         _equals = true && 
  44.             ((this.getQuotesResult==null && other.getGetQuotesResult()==null) || 
  45.              (this.getQuotesResult!=null &&
  46.               this.getQuotesResult.equals(other.getGetQuotesResult())));
  47.         __equalsCalc = null;
  48.         return _equals;
  49.     }
  50.     private boolean __hashCodeCalc = false;
  51.     public synchronized int hashCode() {
  52.         if (__hashCodeCalc) {
  53.             return 0;
  54.         }
  55.         __hashCodeCalc = true;
  56.         int _hashCode = 1;
  57.         if (getGetQuotesResult() != null) {
  58.             _hashCode += getGetQuotesResult().hashCode();
  59.         }
  60.         __hashCodeCalc = false;
  61.         return _hashCode;
  62.     }
  63.     // Type metadata
  64.     private static org.apache.axis.description.TypeDesc typeDesc =
  65.         new org.apache.axis.description.TypeDesc(GetQuotesResponse.class, true);
  66.     static {
  67.         typeDesc.setXmlType(new javax.xml.namespace.QName("http://swanandmokashi.com", ">GetQuotesResponse"));
  68.         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
  69.         elemField.setFieldName("getQuotesResult");
  70.         elemField.setXmlName(new javax.xml.namespace.QName("http://swanandmokashi.com", "GetQuotesResult"));
  71.         elemField.setXmlType(new javax.xml.namespace.QName("http://swanandmokashi.com", "ArrayOfQuote"));
  72.         elemField.setMinOccurs(0);
  73.         elemField.setNillable(false);
  74.         typeDesc.addFieldDesc(elemField);
  75.     }
  76.     /**
  77.      * Return type metadata object
  78.      */
  79.     public static org.apache.axis.description.TypeDesc getTypeDesc() {
  80.         return typeDesc;
  81.     }
  82.     /**
  83.      * Get Custom Serializer
  84.      */
  85.     public static org.apache.axis.encoding.Serializer getSerializer(
  86.            java.lang.String mechType, 
  87.            java.lang.Class _javaType,  
  88.            javax.xml.namespace.QName _xmlType) {
  89.         return 
  90.           new  org.apache.axis.encoding.ser.BeanSerializer(
  91.             _javaType, _xmlType, typeDesc);
  92.     }
  93.     /**
  94.      * Get Custom Deserializer
  95.      */
  96.     public static org.apache.axis.encoding.Deserializer getDeserializer(
  97.            java.lang.String mechType, 
  98.            java.lang.Class _javaType,  
  99.            javax.xml.namespace.QName _xmlType) {
  100.         return 
  101.           new  org.apache.axis.encoding.ser.BeanDeserializer(
  102.             _javaType, _xmlType, typeDesc);
  103.     }
  104. }