1 7 8 43 44 package com.bluecubs.xinco.add; 45 46 public class XincoAddAttribute implements java.io.Serializable { 47 private java.util.Calendar attrib_datetime; 48 private double attrib_double; 49 private int attrib_int; 50 private java.lang.String attrib_text; 51 private long attrib_unsignedint; 52 private java.lang.String attrib_varchar; 53 private int attribute_id; 54 private int xinco_core_data_id; 55 56 public XincoAddAttribute() { 57 } 58 59 public java.util.Calendar getAttrib_datetime() { 60 return attrib_datetime; 61 } 62 63 public void setAttrib_datetime(java.util.Calendar attrib_datetime) { 64 this.attrib_datetime = attrib_datetime; 65 } 66 67 public double getAttrib_double() { 68 return attrib_double; 69 } 70 71 public void setAttrib_double(double attrib_double) { 72 this.attrib_double = attrib_double; 73 } 74 75 public int getAttrib_int() { 76 return attrib_int; 77 } 78 79 public void setAttrib_int(int attrib_int) { 80 this.attrib_int = attrib_int; 81 } 82 83 public java.lang.String getAttrib_text() { 84 return attrib_text; 85 } 86 87 public void setAttrib_text(java.lang.String attrib_text) { 88 this.attrib_text = attrib_text; 89 } 90 91 public long getAttrib_unsignedint() { 92 return attrib_unsignedint; 93 } 94 95 public void setAttrib_unsignedint(long attrib_unsignedint) { 96 this.attrib_unsignedint = attrib_unsignedint; 97 } 98 99 public java.lang.String getAttrib_varchar() { 100 return attrib_varchar; 101 } 102 103 public void setAttrib_varchar(java.lang.String attrib_varchar) { 104 this.attrib_varchar = attrib_varchar; 105 } 106 107 public int getAttribute_id() { 108 return attribute_id; 109 } 110 111 public void setAttribute_id(int attribute_id) { 112 this.attribute_id = attribute_id; 113 } 114 115 public int getXinco_core_data_id() { 116 return xinco_core_data_id; 117 } 118 119 public void setXinco_core_data_id(int xinco_core_data_id) { 120 this.xinco_core_data_id = xinco_core_data_id; 121 } 122 123 private java.lang.Object __equalsCalc = null; 124 public synchronized boolean equals(java.lang.Object obj) { 125 if (!(obj instanceof XincoAddAttribute)) return false; 126 XincoAddAttribute other = (XincoAddAttribute) obj; 127 if (obj == null) return false; 128 if (this == obj) return true; 129 if (__equalsCalc != null) { 130 return (__equalsCalc == obj); 131 } 132 __equalsCalc = obj; 133 boolean _equals; 134 _equals = true && 135 ((this.attrib_datetime==null && other.getAttrib_datetime()==null) || 136 (this.attrib_datetime!=null && 137 this.attrib_datetime.equals(other.getAttrib_datetime()))) && 138 this.attrib_double == other.getAttrib_double() && 139 this.attrib_int == other.getAttrib_int() && 140 ((this.attrib_text==null && other.getAttrib_text()==null) || 141 (this.attrib_text!=null && 142 this.attrib_text.equals(other.getAttrib_text()))) && 143 this.attrib_unsignedint == other.getAttrib_unsignedint() && 144 ((this.attrib_varchar==null && other.getAttrib_varchar()==null) || 145 (this.attrib_varchar!=null && 146 this.attrib_varchar.equals(other.getAttrib_varchar()))) && 147 this.attribute_id == other.getAttribute_id() && 148 this.xinco_core_data_id == other.getXinco_core_data_id(); 149 __equalsCalc = null; 150 return _equals; 151 } 152 153 private boolean __hashCodeCalc = false; 154 public synchronized int hashCode() { 155 if (__hashCodeCalc) { 156 return 0; 157 } 158 __hashCodeCalc = true; 159 int _hashCode = 1; 160 if (getAttrib_datetime() != null) { 161 _hashCode += getAttrib_datetime().hashCode(); 162 } 163 _hashCode += new Double (getAttrib_double()).hashCode(); 164 _hashCode += getAttrib_int(); 165 if (getAttrib_text() != null) { 166 _hashCode += getAttrib_text().hashCode(); 167 } 168 _hashCode += new Long (getAttrib_unsignedint()).hashCode(); 169 if (getAttrib_varchar() != null) { 170 _hashCode += getAttrib_varchar().hashCode(); 171 } 172 _hashCode += getAttribute_id(); 173 _hashCode += getXinco_core_data_id(); 174 __hashCodeCalc = false; 175 return _hashCode; 176 } 177 178 private static org.apache.axis.description.TypeDesc typeDesc = 180 new org.apache.axis.description.TypeDesc(XincoAddAttribute.class); 181 182 static { 183 typeDesc.setXmlType(new javax.xml.namespace.QName ("http://add.xinco.bluecubs.com", "XincoAddAttribute")); 184 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); 185 elemField.setFieldName("attrib_datetime"); 186 elemField.setXmlName(new javax.xml.namespace.QName ("", "attrib_datetime")); 187 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "dateTime")); 188 typeDesc.addFieldDesc(elemField); 189 elemField = new org.apache.axis.description.ElementDesc(); 190 elemField.setFieldName("attrib_double"); 191 elemField.setXmlName(new javax.xml.namespace.QName ("", "attrib_double")); 192 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "double")); 193 typeDesc.addFieldDesc(elemField); 194 elemField = new org.apache.axis.description.ElementDesc(); 195 elemField.setFieldName("attrib_int"); 196 elemField.setXmlName(new javax.xml.namespace.QName ("", "attrib_int")); 197 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "int")); 198 typeDesc.addFieldDesc(elemField); 199 elemField = new org.apache.axis.description.ElementDesc(); 200 elemField.setFieldName("attrib_text"); 201 elemField.setXmlName(new javax.xml.namespace.QName ("", "attrib_text")); 202 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 203 typeDesc.addFieldDesc(elemField); 204 elemField = new org.apache.axis.description.ElementDesc(); 205 elemField.setFieldName("attrib_unsignedint"); 206 elemField.setXmlName(new javax.xml.namespace.QName ("", "attrib_unsignedint")); 207 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "long")); 208 typeDesc.addFieldDesc(elemField); 209 elemField = new org.apache.axis.description.ElementDesc(); 210 elemField.setFieldName("attrib_varchar"); 211 elemField.setXmlName(new javax.xml.namespace.QName ("", "attrib_varchar")); 212 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 213 typeDesc.addFieldDesc(elemField); 214 elemField = new org.apache.axis.description.ElementDesc(); 215 elemField.setFieldName("attribute_id"); 216 elemField.setXmlName(new javax.xml.namespace.QName ("", "attribute_id")); 217 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "int")); 218 typeDesc.addFieldDesc(elemField); 219 elemField = new org.apache.axis.description.ElementDesc(); 220 elemField.setFieldName("xinco_core_data_id"); 221 elemField.setXmlName(new javax.xml.namespace.QName ("", "xinco_core_data_id")); 222 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "int")); 223 typeDesc.addFieldDesc(elemField); 224 } 225 226 229 public static org.apache.axis.description.TypeDesc getTypeDesc() { 230 return typeDesc; 231 } 232 233 236 public static org.apache.axis.encoding.Serializer getSerializer( 237 java.lang.String mechType, 238 java.lang.Class _javaType, 239 javax.xml.namespace.QName _xmlType) { 240 return 241 new org.apache.axis.encoding.ser.BeanSerializer( 242 _javaType, _xmlType, typeDesc); 243 } 244 245 248 public static org.apache.axis.encoding.Deserializer getDeserializer( 249 java.lang.String mechType, 250 java.lang.Class _javaType, 251 javax.xml.namespace.QName _xmlType) { 252 return 253 new org.apache.axis.encoding.ser.BeanDeserializer( 254 _javaType, _xmlType, typeDesc); 255 } 256 257 } 258 | Popular Tags |