/**
|
* EmailEntity.java
|
*
|
* This file was auto-generated from WSDL
|
* by the Apache Axis 1.4.1-SNAPSHOT Nov 07, 2023 (07:57:58 UTC) WSDL2Java emitter.
|
*/
|
|
package com.gear.common.utils.emailsq.service;
|
|
public class EmailEntity implements java.io.Serializable {
|
private java.lang.String email;
|
|
private java.lang.String customerNo;
|
|
private com.gear.common.utils.emailsq.service.Variables[] contentVariables;
|
|
public EmailEntity() {
|
}
|
|
public EmailEntity(
|
java.lang.String email,
|
java.lang.String customerNo,
|
com.gear.common.utils.emailsq.service.Variables[] contentVariables) {
|
this.email = email;
|
this.customerNo = customerNo;
|
this.contentVariables = contentVariables;
|
}
|
|
|
/**
|
* Gets the email value for this EmailEntity.
|
*
|
* @return email
|
*/
|
public java.lang.String getEmail() {
|
return email;
|
}
|
|
|
/**
|
* Sets the email value for this EmailEntity.
|
*
|
* @param email
|
*/
|
public void setEmail(java.lang.String email) {
|
this.email = email;
|
}
|
|
|
/**
|
* Gets the customerNo value for this EmailEntity.
|
*
|
* @return customerNo
|
*/
|
public java.lang.String getCustomerNo() {
|
return customerNo;
|
}
|
|
|
/**
|
* Sets the customerNo value for this EmailEntity.
|
*
|
* @param customerNo
|
*/
|
public void setCustomerNo(java.lang.String customerNo) {
|
this.customerNo = customerNo;
|
}
|
|
|
/**
|
* Gets the contentVariables value for this EmailEntity.
|
*
|
* @return contentVariables
|
*/
|
public com.gear.common.utils.emailsq.service.Variables[] getContentVariables() {
|
return contentVariables;
|
}
|
|
|
/**
|
* Sets the contentVariables value for this EmailEntity.
|
*
|
* @param contentVariables
|
*/
|
public void setContentVariables(com.gear.common.utils.emailsq.service.Variables[] contentVariables) {
|
this.contentVariables = contentVariables;
|
}
|
|
private java.lang.Object __equalsCalc = null;
|
public synchronized boolean equals(java.lang.Object obj) {
|
if (!(obj instanceof EmailEntity)) return false;
|
EmailEntity other = (EmailEntity) obj;
|
if (this == obj) return true;
|
if (__equalsCalc != null) {
|
return (__equalsCalc == obj);
|
}
|
__equalsCalc = obj;
|
boolean _equals;
|
_equals = true &&
|
((this.email==null && other.getEmail()==null) ||
|
(this.email!=null &&
|
this.email.equals(other.getEmail()))) &&
|
((this.customerNo==null && other.getCustomerNo()==null) ||
|
(this.customerNo!=null &&
|
this.customerNo.equals(other.getCustomerNo()))) &&
|
((this.contentVariables==null && other.getContentVariables()==null) ||
|
(this.contentVariables!=null &&
|
java.util.Arrays.equals(this.contentVariables, other.getContentVariables())));
|
__equalsCalc = null;
|
return _equals;
|
}
|
|
private boolean __hashCodeCalc = false;
|
public synchronized int hashCode() {
|
if (__hashCodeCalc) {
|
return 0;
|
}
|
__hashCodeCalc = true;
|
int _hashCode = 1;
|
if (getEmail() != null) {
|
_hashCode += getEmail().hashCode();
|
}
|
if (getCustomerNo() != null) {
|
_hashCode += getCustomerNo().hashCode();
|
}
|
if (getContentVariables() != null) {
|
for (int i=0;
|
i<java.lang.reflect.Array.getLength(getContentVariables());
|
i++) {
|
java.lang.Object obj = java.lang.reflect.Array.get(getContentVariables(), i);
|
if (obj != null &&
|
!obj.getClass().isArray()) {
|
_hashCode += obj.hashCode();
|
}
|
}
|
}
|
__hashCodeCalc = false;
|
return _hashCode;
|
}
|
|
// Type metadata
|
private static org.apache.axis.description.TypeDesc typeDesc =
|
new org.apache.axis.description.TypeDesc(EmailEntity.class, true);
|
|
static {
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "EmailEntity"));
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
elemField.setFieldName("email");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Email"));
|
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("customerNo");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "CustomerNo"));
|
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("contentVariables");
|
elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "ContentVariables"));
|
elemField.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Variables"));
|
elemField.setMinOccurs(0);
|
elemField.setNillable(false);
|
elemField.setItemQName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Variables"));
|
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);
|
}
|
|
}
|