/** * Campaign.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 Campaign implements java.io.Serializable { private java.lang.String campaignName; private java.lang.String fromEmail; private java.lang.String from; private java.lang.String subject; private java.lang.String content; private java.lang.String signature; private java.util.Calendar schedule; public Campaign() { } public Campaign( java.lang.String campaignName, java.lang.String fromEmail, java.lang.String from, java.lang.String subject, java.lang.String content, java.lang.String signature, java.util.Calendar schedule) { this.campaignName = campaignName; this.fromEmail = fromEmail; this.from = from; this.subject = subject; this.content = content; this.signature = signature; this.schedule = schedule; } /** * Gets the campaignName value for this Campaign. * * @return campaignName */ public java.lang.String getCampaignName() { return campaignName; } /** * Sets the campaignName value for this Campaign. * * @param campaignName */ public void setCampaignName(java.lang.String campaignName) { this.campaignName = campaignName; } /** * Gets the fromEmail value for this Campaign. * * @return fromEmail */ public java.lang.String getFromEmail() { return fromEmail; } /** * Sets the fromEmail value for this Campaign. * * @param fromEmail */ public void setFromEmail(java.lang.String fromEmail) { this.fromEmail = fromEmail; } /** * Gets the from value for this Campaign. * * @return from */ public java.lang.String getFrom() { return from; } /** * Sets the from value for this Campaign. * * @param from */ public void setFrom(java.lang.String from) { this.from = from; } /** * Gets the subject value for this Campaign. * * @return subject */ public java.lang.String getSubject() { return subject; } /** * Sets the subject value for this Campaign. * * @param subject */ public void setSubject(java.lang.String subject) { this.subject = subject; } /** * Gets the content value for this Campaign. * * @return content */ public java.lang.String getContent() { return content; } /** * Sets the content value for this Campaign. * * @param content */ public void setContent(java.lang.String content) { this.content = content; } /** * Gets the signature value for this Campaign. * * @return signature */ public java.lang.String getSignature() { return signature; } /** * Sets the signature value for this Campaign. * * @param signature */ public void setSignature(java.lang.String signature) { this.signature = signature; } /** * Gets the schedule value for this Campaign. * * @return schedule */ public java.util.Calendar getSchedule() { return schedule; } /** * Sets the schedule value for this Campaign. * * @param schedule */ public void setSchedule(java.util.Calendar schedule) { this.schedule = schedule; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof Campaign)) return false; Campaign other = (Campaign) obj; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.campaignName==null && other.getCampaignName()==null) || (this.campaignName!=null && this.campaignName.equals(other.getCampaignName()))) && ((this.fromEmail==null && other.getFromEmail()==null) || (this.fromEmail!=null && this.fromEmail.equals(other.getFromEmail()))) && ((this.from==null && other.getFrom()==null) || (this.from!=null && this.from.equals(other.getFrom()))) && ((this.subject==null && other.getSubject()==null) || (this.subject!=null && this.subject.equals(other.getSubject()))) && ((this.content==null && other.getContent()==null) || (this.content!=null && this.content.equals(other.getContent()))) && ((this.signature==null && other.getSignature()==null) || (this.signature!=null && this.signature.equals(other.getSignature()))) && ((this.schedule==null && other.getSchedule()==null) || (this.schedule!=null && this.schedule.equals(other.getSchedule()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getCampaignName() != null) { _hashCode += getCampaignName().hashCode(); } if (getFromEmail() != null) { _hashCode += getFromEmail().hashCode(); } if (getFrom() != null) { _hashCode += getFrom().hashCode(); } if (getSubject() != null) { _hashCode += getSubject().hashCode(); } if (getContent() != null) { _hashCode += getContent().hashCode(); } if (getSignature() != null) { _hashCode += getSignature().hashCode(); } if (getSchedule() != null) { _hashCode += getSchedule().hashCode(); } __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(Campaign.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "Campaign")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("campaignName"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "campaignName")); 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("fromEmail"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "fromEmail")); 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("from"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "from")); 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("subject"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "subject")); 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("content"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "content")); 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("signature"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "signature")); 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("schedule"); elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "schedule")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); 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); } }