/**
|
* 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<java.lang.reflect.Array.getLength(getMasterData());
|
i++) {
|
java.lang.Object obj = java.lang.reflect.Array.get(getMasterData(), i);
|
if (obj != null &&
|
!obj.getClass().isArray()) {
|
_hashCode += obj.hashCode();
|
}
|
}
|
}
|
if (getMdType() != null) {
|
_hashCode += getMdType().hashCode();
|
}
|
if (getMsg() != null) {
|
_hashCode += getMsg().hashCode();
|
}
|
if (getSystemCode() != null) {
|
_hashCode += getSystemCode().hashCode();
|
}
|
__hashCodeCalc = false;
|
return _hashCode;
|
}
|
|
// Type metadata
|
private static org.apache.axis.description.TypeDesc typeDesc =
|
new org.apache.axis.description.TypeDesc(PersonData.class, true);
|
|
static {
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "personData"));
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("action");
|
elemField.setXmlName(new javax.xml.namespace.QName("", "action"));
|
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("code");
|
elemField.setXmlName(new javax.xml.namespace.QName("", "code"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
elemField.setNillable(false);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("distributeToken");
|
elemField.setXmlName(new javax.xml.namespace.QName("", "distributeToken"));
|
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("masterData");
|
elemField.setXmlName(new javax.xml.namespace.QName("", "masterData"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://code.ubcs.vci.com/", "personMasterData"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(true);
|
elemField.setMaxOccursUnbounded(true);
|
typeDesc.addFieldDesc(elemField);
|
elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("mdType");
|
elemField.setXmlName(new javax.xml.namespace.QName("", "mdType"));
|
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("msg");
|
elemField.setXmlName(new javax.xml.namespace.QName("", "msg"));
|
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("systemCode");
|
elemField.setXmlName(new javax.xml.namespace.QName("", "systemCode"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
elemField.setMinOccurs(0);
|
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);
|
}
|
|
}
|