/** * PersonData.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 PersonData implements java.io.Serializable { private java.lang.String action; private int code; private java.lang.String distributeToken; private PersonMasterData[] masterData; private java.lang.String mdType; private java.lang.String msg; private java.lang.String systemCode; public PersonData() { } public PersonData( java.lang.String action, int code, java.lang.String distributeToken, PersonMasterData[] masterData, java.lang.String mdType, java.lang.String msg, java.lang.String systemCode) { this.action = action; this.code = code; this.distributeToken = distributeToken; this.masterData = masterData; this.mdType = mdType; this.msg = msg; this.systemCode = systemCode; } /** * Gets the action value for this PersonData. * * @return action */ public java.lang.String getAction() { return action; } /** * Sets the action value for this PersonData. * * @param action */ public void setAction(java.lang.String action) { this.action = action; } /** * Gets the code value for this PersonData. * * @return code */ public int getCode() { return code; } /** * Sets the code value for this PersonData. * * @param code */ public void setCode(int code) { this.code = code; } /** * Gets the distributeToken value for this PersonData. * * @return distributeToken */ public java.lang.String getDistributeToken() { return distributeToken; } /** * Sets the distributeToken value for this PersonData. * * @param distributeToken */ public void setDistributeToken(java.lang.String distributeToken) { this.distributeToken = distributeToken; } /** * Gets the masterData value for this PersonData. * * @return masterData */ public PersonMasterData[] getMasterData() { return masterData; } /** * Sets the masterData value for this PersonData. * * @param masterData */ public void setMasterData(PersonMasterData[] masterData) { this.masterData = masterData; } public PersonMasterData getMasterData(int i) { return this.masterData[i]; } public void setMasterData(int i, PersonMasterData _value) { this.masterData[i] = _value; } /** * Gets the mdType value for this PersonData. * * @return mdType */ public java.lang.String getMdType() { return mdType; } /** * Sets the mdType value for this PersonData. * * @param mdType */ public void setMdType(java.lang.String mdType) { this.mdType = mdType; } /** * Gets the msg value for this PersonData. * * @return msg */ public java.lang.String getMsg() { return msg; } /** * Sets the msg value for this PersonData. * * @param msg */ public void setMsg(java.lang.String msg) { this.msg = msg; } /** * Gets the systemCode value for this PersonData. * * @return systemCode */ public java.lang.String getSystemCode() { return systemCode; } /** * Sets the systemCode value for this PersonData. * * @param systemCode */ public void setSystemCode(java.lang.String systemCode) { this.systemCode = systemCode; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof PersonData)) return false; PersonData other = (PersonData) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.action==null && other.getAction()==null) || (this.action!=null && this.action.equals(other.getAction()))) && this.code == other.getCode() && ((this.distributeToken==null && other.getDistributeToken()==null) || (this.distributeToken!=null && this.distributeToken.equals(other.getDistributeToken()))) && ((this.masterData==null && other.getMasterData()==null) || (this.masterData!=null && java.util.Arrays.equals(this.masterData, other.getMasterData()))) && ((this.mdType==null && other.getMdType()==null) || (this.mdType!=null && this.mdType.equals(other.getMdType()))) && ((this.msg==null && other.getMsg()==null) || (this.msg!=null && this.msg.equals(other.getMsg()))) && ((this.systemCode==null && other.getSystemCode()==null) || (this.systemCode!=null && this.systemCode.equals(other.getSystemCode()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getAction() != null) { _hashCode += getAction().hashCode(); } _hashCode += getCode(); if (getDistributeToken() != null) { _hashCode += getDistributeToken().hashCode(); } if (getMasterData() != null) { for (int i=0; i