1 7 8 43 44 package com.bluecubs.xinco.core; 45 46 public class XincoCoreGroup implements java.io.Serializable { 47 private java.lang.String designation; 48 private int id; 49 private int status_number; 50 51 public XincoCoreGroup() { 52 } 53 54 public java.lang.String getDesignation() { 55 return designation; 56 } 57 58 public void setDesignation(java.lang.String designation) { 59 this.designation = designation; 60 } 61 62 public int getId() { 63 return id; 64 } 65 66 public void setId(int id) { 67 this.id = id; 68 } 69 70 public int getStatus_number() { 71 return status_number; 72 } 73 74 public void setStatus_number(int status_number) { 75 this.status_number = status_number; 76 } 77 78 private java.lang.Object __equalsCalc = null; 79 public synchronized boolean equals(java.lang.Object obj) { 80 if (!(obj instanceof XincoCoreGroup)) return false; 81 XincoCoreGroup other = (XincoCoreGroup) obj; 82 if (obj == null) return false; 83 if (this == obj) return true; 84 if (__equalsCalc != null) { 85 return (__equalsCalc == obj); 86 } 87 __equalsCalc = obj; 88 boolean _equals; 89 _equals = true && 90 ((this.designation==null && other.getDesignation()==null) || 91 (this.designation!=null && 92 this.designation.equals(other.getDesignation()))) && 93 this.id == other.getId() && 94 this.status_number == other.getStatus_number(); 95 __equalsCalc = null; 96 return _equals; 97 } 98 99 private boolean __hashCodeCalc = false; 100 public synchronized int hashCode() { 101 if (__hashCodeCalc) { 102 return 0; 103 } 104 __hashCodeCalc = true; 105 int _hashCode = 1; 106 if (getDesignation() != null) { 107 _hashCode += getDesignation().hashCode(); 108 } 109 _hashCode += getId(); 110 _hashCode += getStatus_number(); 111 __hashCodeCalc = false; 112 return _hashCode; 113 } 114 115 private static org.apache.axis.description.TypeDesc typeDesc = 117 new org.apache.axis.description.TypeDesc(XincoCoreGroup.class); 118 119 static { 120 typeDesc.setXmlType(new javax.xml.namespace.QName ("http://core.xinco.bluecubs.com", "XincoCoreGroup")); 121 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); 122 elemField.setFieldName("designation"); 123 elemField.setXmlName(new javax.xml.namespace.QName ("", "designation")); 124 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string")); 125 typeDesc.addFieldDesc(elemField); 126 elemField = new org.apache.axis.description.ElementDesc(); 127 elemField.setFieldName("id"); 128 elemField.setXmlName(new javax.xml.namespace.QName ("", "id")); 129 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "int")); 130 typeDesc.addFieldDesc(elemField); 131 elemField = new org.apache.axis.description.ElementDesc(); 132 elemField.setFieldName("status_number"); 133 elemField.setXmlName(new javax.xml.namespace.QName ("", "status_number")); 134 elemField.setXmlType(new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "int")); 135 typeDesc.addFieldDesc(elemField); 136 } 137 138 141 public static org.apache.axis.description.TypeDesc getTypeDesc() { 142 return typeDesc; 143 } 144 145 148 public static org.apache.axis.encoding.Serializer getSerializer( 149 java.lang.String mechType, 150 java.lang.Class _javaType, 151 javax.xml.namespace.QName _xmlType) { 152 return 153 new org.apache.axis.encoding.ser.BeanSerializer( 154 _javaType, _xmlType, typeDesc); 155 } 156 157 160 public static org.apache.axis.encoding.Deserializer getDeserializer( 161 java.lang.String mechType, 162 java.lang.Class _javaType, 163 javax.xml.namespace.QName _xmlType) { 164 return 165 new org.apache.axis.encoding.ser.BeanDeserializer( 166 _javaType, _xmlType, typeDesc); 167 } 168 169 } 170 | Popular Tags |