1 7 8 package com.sun.j2ee.blueprints.admin.webservice; 9 10 public class AdminService_OrderApprovalTO implements java.io.Serializable { 11 private java.lang.String[] statuses; 12 private java.lang.String[] orderIds; 13 14 public AdminService_OrderApprovalTO() { 15 } 16 17 public java.lang.String[] getStatuses() { 18 return statuses; 19 } 20 21 public void setStatuses(java.lang.String[] statuses) { 22 this.statuses = statuses; 23 } 24 25 public java.lang.String[] getOrderIds() { 26 return orderIds; 27 } 28 29 public void setOrderIds(java.lang.String[] orderIds) { 30 this.orderIds = orderIds; 31 } 32 33 private java.lang.Object __equalsCalc = null; 34 public synchronized boolean equals(java.lang.Object obj) { 35 if (!(obj instanceof AdminService_OrderApprovalTO)) return false; 36 AdminService_OrderApprovalTO other = (AdminService_OrderApprovalTO) obj; 37 if (obj == null) return false; 38 if (this == obj) return true; 39 if (__equalsCalc != null) { 40 return (__equalsCalc == obj); 41 } 42 __equalsCalc = obj; 43 boolean _equals; 44 _equals = true && 45 ((this.statuses==null && other.getStatuses()==null) || 46 (this.statuses!=null && 47 java.util.Arrays.equals(this.statuses, other.getStatuses()))) && 48 ((this.orderIds==null && other.getOrderIds()==null) || 49 (this.orderIds!=null && 50 java.util.Arrays.equals(this.orderIds, other.getOrderIds()))); 51 __equalsCalc = null; 52 return _equals; 53 } 54 55 private boolean __hashCodeCalc = false; 56 public synchronized int hashCode() { 57 if (__hashCodeCalc) { 58 return 0; 59 } 60 __hashCodeCalc = true; 61 int _hashCode = 1; 62 if (getStatuses() != null) { 63 for (int i=0; 64 i<java.lang.reflect.Array.getLength(getStatuses()); 65 i++) { 66 java.lang.Object obj = java.lang.reflect.Array.get(getStatuses(), i); 67 if (obj != null && 68 !obj.getClass().isArray()) { 69 _hashCode += obj.hashCode(); 70 } 71 } 72 } 73 if (getOrderIds() != null) { 74 for (int i=0; 75 i<java.lang.reflect.Array.getLength(getOrderIds()); 76 i++) { 77 java.lang.Object obj = java.lang.reflect.Array.get(getOrderIds(), i); 78 if (obj != null && 79 !obj.getClass().isArray()) { 80 _hashCode += obj.hashCode(); 81 } 82 } 83 } 84 __hashCodeCalc = false; 85 return _hashCode; 86 } 87 88 private static org.apache.axis.description.TypeDesc typeDesc = 90 new org.apache.axis.description.TypeDesc(AdminService_OrderApprovalTO.class); 91 92 static { 93 typeDesc.setXmlType(new javax.xml.namespace.QName("webservice.admin.blueprints.j2ee.sun.com", "AdminService_OrderApprovalTO")); 94 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); 95 elemField.setFieldName("statuses"); 96 elemField.setXmlName(new javax.xml.namespace.QName("", "statuses")); 97 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); 98 typeDesc.addFieldDesc(elemField); 99 elemField = new org.apache.axis.description.ElementDesc(); 100 elemField.setFieldName("orderIds"); 101 elemField.setXmlName(new javax.xml.namespace.QName("", "orderIds")); 102 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); 103 typeDesc.addFieldDesc(elemField); 104 } 105 106 109 public static org.apache.axis.description.TypeDesc getTypeDesc() { 110 return typeDesc; 111 } 112 113 116 public static org.apache.axis.encoding.Serializer getSerializer( 117 java.lang.String mechType, 118 java.lang.Class _javaType, 119 javax.xml.namespace.QName _xmlType) { 120 return 121 new org.apache.axis.encoding.ser.BeanSerializer( 122 _javaType, _xmlType, typeDesc); 123 } 124 125 128 public static org.apache.axis.encoding.Deserializer getDeserializer( 129 java.lang.String mechType, 130 java.lang.Class _javaType, 131 javax.xml.namespace.QName _xmlType) { 132 return 133 new org.apache.axis.encoding.ser.BeanDeserializer( 134 _javaType, _xmlType, typeDesc); 135 } 136 137 } 138 | Popular Tags |