zj
2025-01-06 0e7b38c2b3af72ea2a7f8a2fcbaad4d78e2c1977
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
/**
 * SubscriberCampaignContent.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 SubscriberCampaignContent  implements java.io.Serializable {
    private com.gear.common.utils.emailsq.service.EmailEntity[] toEmails;
 
    private java.lang.String[] categoryNames;
 
    private java.lang.String subject;
 
    private java.lang.String content;
 
    public SubscriberCampaignContent() {
    }
 
    public SubscriberCampaignContent(
           com.gear.common.utils.emailsq.service.EmailEntity[] toEmails,
           java.lang.String[] categoryNames,
           java.lang.String subject,
           java.lang.String content) {
           this.toEmails = toEmails;
           this.categoryNames = categoryNames;
           this.subject = subject;
           this.content = content;
    }
 
 
    /**
     * Gets the toEmails value for this SubscriberCampaignContent.
     * 
     * @return toEmails
     */
    public com.gear.common.utils.emailsq.service.EmailEntity[] getToEmails() {
        return toEmails;
    }
 
 
    /**
     * Sets the toEmails value for this SubscriberCampaignContent.
     * 
     * @param toEmails
     */
    public void setToEmails(com.gear.common.utils.emailsq.service.EmailEntity[] toEmails) {
        this.toEmails = toEmails;
    }
 
 
    /**
     * Gets the categoryNames value for this SubscriberCampaignContent.
     * 
     * @return categoryNames
     */
    public java.lang.String[] getCategoryNames() {
        return categoryNames;
    }
 
 
    /**
     * Sets the categoryNames value for this SubscriberCampaignContent.
     * 
     * @param categoryNames
     */
    public void setCategoryNames(java.lang.String[] categoryNames) {
        this.categoryNames = categoryNames;
    }
 
 
    /**
     * Gets the subject value for this SubscriberCampaignContent.
     * 
     * @return subject
     */
    public java.lang.String getSubject() {
        return subject;
    }
 
 
    /**
     * Sets the subject value for this SubscriberCampaignContent.
     * 
     * @param subject
     */
    public void setSubject(java.lang.String subject) {
        this.subject = subject;
    }
 
 
    /**
     * Gets the content value for this SubscriberCampaignContent.
     * 
     * @return content
     */
    public java.lang.String getContent() {
        return content;
    }
 
 
    /**
     * Sets the content value for this SubscriberCampaignContent.
     * 
     * @param content
     */
    public void setContent(java.lang.String content) {
        this.content = content;
    }
 
    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof SubscriberCampaignContent)) return false;
        SubscriberCampaignContent other = (SubscriberCampaignContent) obj;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.toEmails==null && other.getToEmails()==null) || 
             (this.toEmails!=null &&
              java.util.Arrays.equals(this.toEmails, other.getToEmails()))) &&
            ((this.categoryNames==null && other.getCategoryNames()==null) || 
             (this.categoryNames!=null &&
              java.util.Arrays.equals(this.categoryNames, other.getCategoryNames()))) &&
            ((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())));
        __equalsCalc = null;
        return _equals;
    }
 
    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getToEmails() != null) {
            for (int i=0;
                 i<java.lang.reflect.Array.getLength(getToEmails());
                 i++) {
                java.lang.Object obj = java.lang.reflect.Array.get(getToEmails(), i);
                if (obj != null &&
                    !obj.getClass().isArray()) {
                    _hashCode += obj.hashCode();
                }
            }
        }
        if (getCategoryNames() != null) {
            for (int i=0;
                 i<java.lang.reflect.Array.getLength(getCategoryNames());
                 i++) {
                java.lang.Object obj = java.lang.reflect.Array.get(getCategoryNames(), i);
                if (obj != null &&
                    !obj.getClass().isArray()) {
                    _hashCode += obj.hashCode();
                }
            }
        }
        if (getSubject() != null) {
            _hashCode += getSubject().hashCode();
        }
        if (getContent() != null) {
            _hashCode += getContent().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }
 
    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(SubscriberCampaignContent.class, true);
 
    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "SubscriberCampaignContent"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("toEmails");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "ToEmails"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "EmailEntity"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        elemField.setItemQName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "EmailEntity"));
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("categoryNames");
        elemField.setXmlName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "CategoryNames"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        elemField.setItemQName(new javax.xml.namespace.QName("http://service.reasonablespread.com/", "string"));
        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);
    }
 
    /**
     * 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);
    }
 
}