/** * BirthdayTriggerLogResult.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 BirthdayTriggerLogResult implements java.io.Serializable { private int campaignId; private int categoryId; private int subscriberId; private java.lang.Integer statusId; private java.util.Calendar birthday; private java.util.Calendar recentBirthday; private java.util.Calendar triggerDate; private java.util.Calendar expirationDate; public BirthdayTriggerLogResult() { } public BirthdayTriggerLogResult( int campaignId, int categoryId, int subscriberId, java.lang.Integer statusId, java.util.Calendar birthday, java.util.Calendar recentBirthday, java.util.Calendar triggerDate, java.util.Calendar expirationDate) { this.campaignId = campaignId; this.categoryId = categoryId; this.subscriberId = subscriberId; this.statusId = statusId; this.birthday = birthday; this.recentBirthday = recentBirthday; this.triggerDate = triggerDate; this.expirationDate = expirationDate; } /** * Gets the campaignId value for this BirthdayTriggerLogResult. * * @return campaignId */ public int getCampaignId() { return campaignId; } /** * Sets the campaignId value for this BirthdayTriggerLogResult. * * @param campaignId */ public void setCampaignId(int campaignId) { this.campaignId = campaignId; } /** * Gets the categoryId value for this BirthdayTriggerLogResult. * * @return categoryId */ public int getCategoryId() { return categoryId; } /** * Sets the categoryId value for this BirthdayTriggerLogResult. * * @param categoryId */ public void setCategoryId(int categoryId) { this.categoryId = categoryId; } /** * Gets the subscriberId value for this BirthdayTriggerLogResult. * * @return subscriberId */ public int getSubscriberId() { return subscriberId; } /** * Sets the subscriberId value for this BirthdayTriggerLogResult. * * @param subscriberId */ public void setSubscriberId(int subscriberId) { this.subscriberId = subscriberId; } /** * Gets the statusId value for this BirthdayTriggerLogResult. * * @return statusId */ public java.lang.Integer getStatusId() { return statusId; } /** * Sets the statusId value for this BirthdayTriggerLogResult. * * @param statusId */ public void setStatusId(java.lang.Integer statusId) { this.statusId = statusId; } /** * Gets the birthday value for this BirthdayTriggerLogResult. * * @return birthday */ public java.util.Calendar getBirthday() { return birthday; } /** * Sets the birthday value for this BirthdayTriggerLogResult. * * @param birthday */ public void setBirthday(java.util.Calendar birthday) { this.birthday = birthday; } /** * Gets the recentBirthday value for this BirthdayTriggerLogResult. * * @return recentBirthday */ public java.util.Calendar getRecentBirthday() { return recentBirthday; } /** * Sets the recentBirthday value for this BirthdayTriggerLogResult. * * @param recentBirthday */ public void setRecentBirthday(java.util.Calendar recentBirthday) { this.recentBirthday = recentBirthday; } /** * Gets the triggerDate value for this BirthdayTriggerLogResult. * * @return triggerDate */ public java.util.Calendar getTriggerDate() { return triggerDate; } /** * Sets the triggerDate value for this BirthdayTriggerLogResult. * * @param triggerDate */ public void setTriggerDate(java.util.Calendar triggerDate) { this.triggerDate = triggerDate; } /** * Gets the expirationDate value for this BirthdayTriggerLogResult. * * @return expirationDate */ public java.util.Calendar getExpirationDate() { return expirationDate; } /** * Sets the expirationDate value for this BirthdayTriggerLogResult. * * @param expirationDate */ public void setExpirationDate(java.util.Calendar expirationDate) { this.expirationDate = expirationDate; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof BirthdayTriggerLogResult)) return false; BirthdayTriggerLogResult other = (BirthdayTriggerLogResult) obj; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && this.campaignId == other.getCampaignId() && this.categoryId == other.getCategoryId() && this.subscriberId == other.getSubscriberId() && ((this.statusId==null && other.getStatusId()==null) || (this.statusId!=null && this.statusId.equals(other.getStatusId()))) && ((this.birthday==null && other.getBirthday()==null) || (this.birthday!=null && this.birthday.equals(other.getBirthday()))) && ((this.recentBirthday==null && other.getRecentBirthday()==null) || (this.recentBirthday!=null && this.recentBirthday.equals(other.getRecentBirthday()))) && ((this.triggerDate==null && other.getTriggerDate()==null) || (this.triggerDate!=null && this.triggerDate.equals(other.getTriggerDate()))) && ((this.expirationDate==null && other.getExpirationDate()==null) || (this.expirationDate!=null && this.expirationDate.equals(other.getExpirationDate()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; _hashCode += getCampaignId(); _hashCode += getCategoryId(); _hashCode += getSubscriberId(); if (getStatusId() != null) { _hashCode += getStatusId().hashCode(); } if (getBirthday() != null) { _hashCode += getBirthday().hashCode(); } if (getRecentBirthday() != null) { _hashCode += getRecentBirthday().hashCode(); } if (getTriggerDate() != null) { _hashCode += getTriggerDate().hashCode(); } if (getExpirationDate() != null) { _hashCode += getExpirationDate().hashCode(); } __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(BirthdayTriggerLogResult.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "BirthdayTriggerLogResult")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("campaignId"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "CampaignId")); 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("categoryId"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "CategoryId")); 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("subscriberId"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "SubscriberId")); 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("statusId"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "StatusId")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("birthday"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Birthday")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("recentBirthday"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "RecentBirthday")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("triggerDate"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "TriggerDate")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("expirationDate"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "ExpirationDate")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); elemField.setNillable(true); 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); } }