/** * ResultMdMapping.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.vci.ubcs.example.entity; public class ResultMdMapping implements java.io.Serializable { private java.lang.String busiDataId; private java.lang.String entityCode; private java.lang.String mdmCode; private java.lang.String message; private ResultMdMapping subMdMappings; private boolean success; public ResultMdMapping() { } public ResultMdMapping( java.lang.String busiDataId, java.lang.String entityCode, java.lang.String mdmCode, java.lang.String message, ResultMdMapping subMdMappings, boolean success) { this.busiDataId = busiDataId; this.entityCode = entityCode; this.mdmCode = mdmCode; this.message = message; this.subMdMappings = subMdMappings; this.success = success; } /** * Gets the busiDataId value for this ResultMdMapping. * * @return busiDataId */ public java.lang.String getBusiDataId() { return busiDataId; } /** * Sets the busiDataId value for this ResultMdMapping. * * @param busiDataId */ public void setBusiDataId(java.lang.String busiDataId) { this.busiDataId = busiDataId; } /** * Gets the entityCode value for this ResultMdMapping. * * @return entityCode */ public java.lang.String getEntityCode() { return entityCode; } /** * Sets the entityCode value for this ResultMdMapping. * * @param entityCode */ public void setEntityCode(java.lang.String entityCode) { this.entityCode = entityCode; } /** * Gets the mdmCode value for this ResultMdMapping. * * @return mdmCode */ public java.lang.String getMdmCode() { return mdmCode; } /** * Sets the mdmCode value for this ResultMdMapping. * * @param mdmCode */ public void setMdmCode(java.lang.String mdmCode) { this.mdmCode = mdmCode; } /** * Gets the message value for this ResultMdMapping. * * @return message */ public java.lang.String getMessage() { return message; } /** * Sets the message value for this ResultMdMapping. * * @param message */ public void setMessage(java.lang.String message) { this.message = message; } /** * Gets the subMdMappings value for this ResultMdMapping. * * @return subMdMappings */ public ResultMdMapping getSubMdMappings() { return subMdMappings; } /** * Sets the subMdMappings value for this ResultMdMapping. * * @param subMdMappings */ public void setSubMdMappings(ResultMdMapping subMdMappings) { this.subMdMappings = subMdMappings; } /** * Gets the success value for this ResultMdMapping. * * @return success */ public boolean isSuccess() { return success; } /** * Sets the success value for this ResultMdMapping. * * @param success */ public void setSuccess(boolean success) { this.success = success; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof ResultMdMapping)) return false; ResultMdMapping other = (ResultMdMapping) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.busiDataId==null && other.getBusiDataId()==null) || (this.busiDataId!=null && this.busiDataId.equals(other.getBusiDataId()))) && ((this.entityCode==null && other.getEntityCode()==null) || (this.entityCode!=null && this.entityCode.equals(other.getEntityCode()))) && ((this.mdmCode==null && other.getMdmCode()==null) || (this.mdmCode!=null && this.mdmCode.equals(other.getMdmCode()))) && ((this.message==null && other.getMessage()==null) || (this.message!=null && this.message.equals(other.getMessage()))) && ((this.subMdMappings==null && other.getSubMdMappings()==null) || (this.subMdMappings!=null && this.subMdMappings.equals(other.getSubMdMappings()))) && this.success == other.isSuccess(); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getBusiDataId() != null) { _hashCode += getBusiDataId().hashCode(); } if (getEntityCode() != null) { _hashCode += getEntityCode().hashCode(); } if (getMdmCode() != null) { _hashCode += getMdmCode().hashCode(); } if (getMessage() != null) { _hashCode += getMessage().hashCode(); } if (getSubMdMappings() != null) { _hashCode += getSubMdMappings().hashCode(); } _hashCode += (isSuccess() ? Boolean.TRUE : Boolean.FALSE).hashCode(); __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(ResultMdMapping.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "resultMdMapping")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("busiDataId"); elemField.setXmlName(new javax.xml.namespace.QName("", "busiDataId")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("entityCode"); elemField.setXmlName(new javax.xml.namespace.QName("", "entityCode")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("mdmCode"); elemField.setXmlName(new javax.xml.namespace.QName("", "mdmCode")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("message"); elemField.setXmlName(new javax.xml.namespace.QName("", "message")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("subMdMappings"); elemField.setXmlName(new javax.xml.namespace.QName("", "subMdMappings")); elemField.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "resultMdMapping")); elemField.setMinOccurs(0); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("success"); elemField.setXmlName(new javax.xml.namespace.QName("", "success")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); } /** * Return type metadata object */ public static org.apache.axis.description.TypeDesc getTypeDesc() { return typeDesc; } /** * Get Custom Serializer */ public static org.apache.axis.encoding.Serializer getSerializer( java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { return new org.apache.axis.encoding.ser.BeanSerializer( _javaType, _xmlType, typeDesc); } /** * Get Custom Deserializer */ public static org.apache.axis.encoding.Deserializer getDeserializer( java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { return new org.apache.axis.encoding.ser.BeanDeserializer( _javaType, _xmlType, typeDesc); } }