1 7 8 package com.epok.auth; 9 10 public class SomeType implements java.io.Serializable { 11 private java.lang.String z; 12 private java.lang.String a; 13 private java.lang.String b; 14 15 public SomeType() { 16 } 17 18 public SomeType( 19 java.lang.String z, 20 java.lang.String a, 21 java.lang.String b) { 22 this.z = z; 23 this.a = a; 24 this.b = b; 25 } 26 27 28 33 public java.lang.String getZ() { 34 return z; 35 } 36 37 38 43 public void setZ(java.lang.String z) { 44 this.z = z; 45 } 46 47 48 53 public java.lang.String getA() { 54 return a; 55 } 56 57 58 63 public void setA(java.lang.String a) { 64 this.a = a; 65 } 66 67 68 73 public java.lang.String getB() { 74 return b; 75 } 76 77 78 83 public void setB(java.lang.String b) { 84 this.b = b; 85 } 86 87 private java.lang.Object __equalsCalc = null; 88 public synchronized boolean equals(java.lang.Object obj) { 89 if (!(obj instanceof SomeType)) return false; 90 SomeType other = (SomeType) obj; 91 if (obj == null) return false; 92 if (this == obj) return true; 93 if (__equalsCalc != null) { 94 return (__equalsCalc == obj); 95 } 96 __equalsCalc = obj; 97 boolean _equals; 98 _equals = true && 99 ((this.z==null && other.getZ()==null) || 100 (this.z!=null && 101 this.z.equals(other.getZ()))) && 102 ((this.a==null && other.getA()==null) || 103 (this.a!=null && 104 this.a.equals(other.getA()))) && 105 ((this.b==null && other.getB()==null) || 106 (this.b!=null && 107 this.b.equals(other.getB()))); 108 __equalsCalc = null; 109 return _equals; 110 } 111 112 private boolean __hashCodeCalc = false; 113 public synchronized int hashCode() { 114 if (__hashCodeCalc) { 115 return 0; 116 } 117 __hashCodeCalc = true; 118 int _hashCode = 1; 119 if (getZ() != null) { 120 _hashCode += getZ().hashCode(); 121 } 122 if (getA() != null) { 123 _hashCode += getA().hashCode(); 124 } 125 if (getB() != null) { 126 _hashCode += getB().hashCode(); 127 } 128 __hashCodeCalc = false; 129 return _hashCode; 130 } 131 132 private static org.apache.axis.description.TypeDesc typeDesc = 134 new org.apache.axis.description.TypeDesc(SomeType.class, true); 135 136 static { 137 typeDesc.setXmlType(new javax.xml.namespace.QName ("urn:auth:epok:com", "SomeType")); 138 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); 139 elemField.setFieldName("z"); 140 elemField.setXmlName(new javax.xml.namespace.QName ("", "z")); 141 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 142 typeDesc.addFieldDesc(elemField); 143 elemField = new org.apache.axis.description.ElementDesc(); 144 elemField.setFieldName("a"); 145 elemField.setXmlName(new javax.xml.namespace.QName ("", "a")); 146 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 147 typeDesc.addFieldDesc(elemField); 148 elemField = new org.apache.axis.description.ElementDesc(); 149 elemField.setFieldName("b"); 150 elemField.setXmlName(new javax.xml.namespace.QName ("", "b")); 151 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 152 typeDesc.addFieldDesc(elemField); 153 } 154 155 158 public static org.apache.axis.description.TypeDesc getTypeDesc() { 159 return typeDesc; 160 } 161 162 165 public static org.apache.axis.encoding.Serializer getSerializer( 166 java.lang.String mechType, 167 java.lang.Class _javaType, 168 javax.xml.namespace.QName _xmlType) { 169 return 170 new org.apache.axis.encoding.ser.BeanSerializer( 171 _javaType, _xmlType, typeDesc); 172 } 173 174 177 public static org.apache.axis.encoding.Deserializer getDeserializer( 178 java.lang.String mechType, 179 java.lang.Class _javaType, 180 javax.xml.namespace.QName _xmlType) { 181 return 182 new org.apache.axis.encoding.ser.BeanDeserializer( 183 _javaType, _xmlType, typeDesc); 184 } 185 186 } 187 | Popular Tags |