1
7
8 package com.liferay.client.soap.portlet.tags.model;
9
10 public class TagsEntrySoap implements java.io.Serializable {
11 private long companyId;
12
13 private java.util.Calendar createDate;
14
15 private long entryId;
16
17 private java.util.Calendar modifiedDate;
18
19 private java.lang.String name;
20
21 private long primaryKey;
22
23 private long userId;
24
25 private java.lang.String userName;
26
27 public TagsEntrySoap() {
28 }
29
30 public TagsEntrySoap(
31 long companyId,
32 java.util.Calendar createDate,
33 long entryId,
34 java.util.Calendar modifiedDate,
35 java.lang.String name,
36 long primaryKey,
37 long userId,
38 java.lang.String userName) {
39 this.companyId = companyId;
40 this.createDate = createDate;
41 this.entryId = entryId;
42 this.modifiedDate = modifiedDate;
43 this.name = name;
44 this.primaryKey = primaryKey;
45 this.userId = userId;
46 this.userName = userName;
47 }
48
49
50
55 public long getCompanyId() {
56 return companyId;
57 }
58
59
60
65 public void setCompanyId(long companyId) {
66 this.companyId = companyId;
67 }
68
69
70
75 public java.util.Calendar getCreateDate() {
76 return createDate;
77 }
78
79
80
85 public void setCreateDate(java.util.Calendar createDate) {
86 this.createDate = createDate;
87 }
88
89
90
95 public long getEntryId() {
96 return entryId;
97 }
98
99
100
105 public void setEntryId(long entryId) {
106 this.entryId = entryId;
107 }
108
109
110
115 public java.util.Calendar getModifiedDate() {
116 return modifiedDate;
117 }
118
119
120
125 public void setModifiedDate(java.util.Calendar modifiedDate) {
126 this.modifiedDate = modifiedDate;
127 }
128
129
130
135 public java.lang.String getName() {
136 return name;
137 }
138
139
140
145 public void setName(java.lang.String name) {
146 this.name = name;
147 }
148
149
150
155 public long getPrimaryKey() {
156 return primaryKey;
157 }
158
159
160
165 public void setPrimaryKey(long primaryKey) {
166 this.primaryKey = primaryKey;
167 }
168
169
170
175 public long getUserId() {
176 return userId;
177 }
178
179
180
185 public void setUserId(long userId) {
186 this.userId = userId;
187 }
188
189
190
195 public java.lang.String getUserName() {
196 return userName;
197 }
198
199
200
205 public void setUserName(java.lang.String userName) {
206 this.userName = userName;
207 }
208
209 private java.lang.Object __equalsCalc = null;
210 public synchronized boolean equals(java.lang.Object obj) {
211 if (!(obj instanceof TagsEntrySoap)) return false;
212 TagsEntrySoap other = (TagsEntrySoap) obj;
213 if (obj == null) return false;
214 if (this == obj) return true;
215 if (__equalsCalc != null) {
216 return (__equalsCalc == obj);
217 }
218 __equalsCalc = obj;
219 boolean _equals;
220 _equals = true &&
221 this.companyId == other.getCompanyId() &&
222 ((this.createDate==null && other.getCreateDate()==null) ||
223 (this.createDate!=null &&
224 this.createDate.equals(other.getCreateDate()))) &&
225 this.entryId == other.getEntryId() &&
226 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
227 (this.modifiedDate!=null &&
228 this.modifiedDate.equals(other.getModifiedDate()))) &&
229 ((this.name==null && other.getName()==null) ||
230 (this.name!=null &&
231 this.name.equals(other.getName()))) &&
232 this.primaryKey == other.getPrimaryKey() &&
233 this.userId == other.getUserId() &&
234 ((this.userName==null && other.getUserName()==null) ||
235 (this.userName!=null &&
236 this.userName.equals(other.getUserName())));
237 __equalsCalc = null;
238 return _equals;
239 }
240
241 private boolean __hashCodeCalc = false;
242 public synchronized int hashCode() {
243 if (__hashCodeCalc) {
244 return 0;
245 }
246 __hashCodeCalc = true;
247 int _hashCode = 1;
248 _hashCode += new Long(getCompanyId()).hashCode();
249 if (getCreateDate() != null) {
250 _hashCode += getCreateDate().hashCode();
251 }
252 _hashCode += new Long(getEntryId()).hashCode();
253 if (getModifiedDate() != null) {
254 _hashCode += getModifiedDate().hashCode();
255 }
256 if (getName() != null) {
257 _hashCode += getName().hashCode();
258 }
259 _hashCode += new Long(getPrimaryKey()).hashCode();
260 _hashCode += new Long(getUserId()).hashCode();
261 if (getUserName() != null) {
262 _hashCode += getUserName().hashCode();
263 }
264 __hashCodeCalc = false;
265 return _hashCode;
266 }
267
268 private static org.apache.axis.description.TypeDesc typeDesc =
270 new org.apache.axis.description.TypeDesc(TagsEntrySoap.class, true);
271
272 static {
273 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.tags.portlet.liferay.com", "TagsEntrySoap"));
274 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
275 elemField.setFieldName("companyId");
276 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
277 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
278 elemField.setNillable(false);
279 typeDesc.addFieldDesc(elemField);
280 elemField = new org.apache.axis.description.ElementDesc();
281 elemField.setFieldName("createDate");
282 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
283 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
284 elemField.setNillable(true);
285 typeDesc.addFieldDesc(elemField);
286 elemField = new org.apache.axis.description.ElementDesc();
287 elemField.setFieldName("entryId");
288 elemField.setXmlName(new javax.xml.namespace.QName("", "entryId"));
289 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
290 elemField.setNillable(false);
291 typeDesc.addFieldDesc(elemField);
292 elemField = new org.apache.axis.description.ElementDesc();
293 elemField.setFieldName("modifiedDate");
294 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
295 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
296 elemField.setNillable(true);
297 typeDesc.addFieldDesc(elemField);
298 elemField = new org.apache.axis.description.ElementDesc();
299 elemField.setFieldName("name");
300 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
301 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
302 elemField.setNillable(true);
303 typeDesc.addFieldDesc(elemField);
304 elemField = new org.apache.axis.description.ElementDesc();
305 elemField.setFieldName("primaryKey");
306 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
307 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
308 elemField.setNillable(false);
309 typeDesc.addFieldDesc(elemField);
310 elemField = new org.apache.axis.description.ElementDesc();
311 elemField.setFieldName("userId");
312 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
313 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
314 elemField.setNillable(false);
315 typeDesc.addFieldDesc(elemField);
316 elemField = new org.apache.axis.description.ElementDesc();
317 elemField.setFieldName("userName");
318 elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
319 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
320 elemField.setNillable(true);
321 typeDesc.addFieldDesc(elemField);
322 }
323
324
327 public static org.apache.axis.description.TypeDesc getTypeDesc() {
328 return typeDesc;
329 }
330
331
334 public static org.apache.axis.encoding.Serializer getSerializer(
335 java.lang.String mechType,
336 java.lang.Class _javaType,
337 javax.xml.namespace.QName _xmlType) {
338 return
339 new org.apache.axis.encoding.ser.BeanSerializer(
340 _javaType, _xmlType, typeDesc);
341 }
342
343
346 public static org.apache.axis.encoding.Deserializer getDeserializer(
347 java.lang.String mechType,
348 java.lang.Class _javaType,
349 javax.xml.namespace.QName _xmlType) {
350 return
351 new org.apache.axis.encoding.ser.BeanDeserializer(
352 _javaType, _xmlType, typeDesc);
353 }
354
355 }
356