1 7 8 43 44 package com.bluecubs.xinco.core; 45 46 public class XincoCoreDataType implements java.io.Serializable { 47 private java.lang.String designation; 48 private int id; 49 private java.lang.String description; 50 private java.util.Vector xinco_core_data_type_attributes; 51 52 public XincoCoreDataType() { 53 } 54 55 public java.lang.String getDesignation() { 56 return designation; 57 } 58 59 public void setDesignation(java.lang.String designation) { 60 this.designation = designation; 61 } 62 63 public int getId() { 64 return id; 65 } 66 67 public void setId(int id) { 68 this.id = id; 69 } 70 71 public java.lang.String getDescription() { 72 return description; 73 } 74 75 public void setDescription(java.lang.String description) { 76 this.description = description; 77 } 78 79 public java.util.Vector getXinco_core_data_type_attributes() { 80 return xinco_core_data_type_attributes; 81 } 82 83 public void setXinco_core_data_type_attributes(java.util.Vector xinco_core_data_type_attributes) { 84 this.xinco_core_data_type_attributes = xinco_core_data_type_attributes; 85 } 86 87 private java.lang.Object __equalsCalc = null; 88 public synchronized boolean equals(java.lang.Object obj) { 89 if (!(obj instanceof XincoCoreDataType)) return false; 90 XincoCoreDataType other = (XincoCoreDataType) 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.designation==null && other.getDesignation()==null) || 100 (this.designation!=null && 101 this.designation.equals(other.getDesignation()))) && 102 this.id == other.getId() && 103 ((this.description==null && other.getDescription()==null) || 104 (this.description!=null && 105 this.description.equals(other.getDescription()))) && 106 ((this.xinco_core_data_type_attributes==null && other.getXinco_core_data_type_attributes()==null) || 107 (this.xinco_core_data_type_attributes!=null && 108 this.xinco_core_data_type_attributes.equals(other.getXinco_core_data_type_attributes()))); 109 __equalsCalc = null; 110 return _equals; 111 } 112 113 private boolean __hashCodeCalc = false; 114 public synchronized int hashCode() { 115 if (__hashCodeCalc) { 116 return 0; 117 } 118 __hashCodeCalc = true; 119 int _hashCode = 1; 120 if (getDesignation() != null) { 121 _hashCode += getDesignation().hashCode(); 122 } 123 _hashCode += getId(); 124 if (getDescription() != null) { 125 _hashCode += getDescription().hashCode(); 126 } 127 if (getXinco_core_data_type_attributes() != null) { 128 _hashCode += getXinco_core_data_type_attributes().hashCode(); 129 } 130 __hashCodeCalc = false; 131 return _hashCode; 132 } 133 134 private static org.apache.axis.description.TypeDesc typeDesc = 136 new org.apache.axis.description.TypeDesc(XincoCoreDataType.class); 137 138 static { 139 typeDesc.setXmlType(new javax.xml.namespace.QName ("http://core.xinco.bluecubs.com", "XincoCoreDataType")); 140 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); 141 elemField.setFieldName("designation"); 142 elemField.setXmlName(new javax.xml.namespace.QName ("", "designation")); 143 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 144 typeDesc.addFieldDesc(elemField); 145 elemField = new org.apache.axis.description.ElementDesc(); 146 elemField.setFieldName("id"); 147 elemField.setXmlName(new javax.xml.namespace.QName ("", "id")); 148 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "int")); 149 typeDesc.addFieldDesc(elemField); 150 elemField = new org.apache.axis.description.ElementDesc(); 151 elemField.setFieldName("description"); 152 elemField.setXmlName(new javax.xml.namespace.QName ("", "description")); 153 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 154 typeDesc.addFieldDesc(elemField); 155 elemField = new org.apache.axis.description.ElementDesc(); 156 elemField.setFieldName("xinco_core_data_type_attributes"); 157 elemField.setXmlName(new javax.xml.namespace.QName ("", "xinco_core_data_type_attributes")); 158 elemField.setXmlType(new javax.xml.namespace.QName ("http://xml.apache.org/xml-soap", "Vector")); 159 typeDesc.addFieldDesc(elemField); 160 } 161 162 165 public static org.apache.axis.description.TypeDesc getTypeDesc() { 166 return typeDesc; 167 } 168 169 172 public static org.apache.axis.encoding.Serializer getSerializer( 173 java.lang.String mechType, 174 java.lang.Class _javaType, 175 javax.xml.namespace.QName _xmlType) { 176 return 177 new org.apache.axis.encoding.ser.BeanSerializer( 178 _javaType, _xmlType, typeDesc); 179 } 180 181 184 public static org.apache.axis.encoding.Deserializer getDeserializer( 185 java.lang.String mechType, 186 java.lang.Class _javaType, 187 javax.xml.namespace.QName _xmlType) { 188 return 189 new org.apache.axis.encoding.ser.BeanDeserializer( 190 _javaType, _xmlType, typeDesc); 191 } 192 193 } 194 | Popular Tags |