1
7
8 package com.liferay.client.soap.portlet.softwarecatalog.model;
9
10 public class SCProductVersionSoap implements java.io.Serializable {
11 private java.lang.String changeLog;
12
13 private long companyId;
14
15 private java.util.Calendar createDate;
16
17 private java.lang.String directDownloadURL;
18
19 private java.lang.String downloadPageURL;
20
21 private java.util.Calendar modifiedDate;
22
23 private long primaryKey;
24
25 private long productEntryId;
26
27 private long productVersionId;
28
29 private boolean repoStoreArtifact;
30
31 private long userId;
32
33 private java.lang.String userName;
34
35 private java.lang.String version;
36
37 public SCProductVersionSoap() {
38 }
39
40 public SCProductVersionSoap(
41 java.lang.String changeLog,
42 long companyId,
43 java.util.Calendar createDate,
44 java.lang.String directDownloadURL,
45 java.lang.String downloadPageURL,
46 java.util.Calendar modifiedDate,
47 long primaryKey,
48 long productEntryId,
49 long productVersionId,
50 boolean repoStoreArtifact,
51 long userId,
52 java.lang.String userName,
53 java.lang.String version) {
54 this.changeLog = changeLog;
55 this.companyId = companyId;
56 this.createDate = createDate;
57 this.directDownloadURL = directDownloadURL;
58 this.downloadPageURL = downloadPageURL;
59 this.modifiedDate = modifiedDate;
60 this.primaryKey = primaryKey;
61 this.productEntryId = productEntryId;
62 this.productVersionId = productVersionId;
63 this.repoStoreArtifact = repoStoreArtifact;
64 this.userId = userId;
65 this.userName = userName;
66 this.version = version;
67 }
68
69
70
75 public java.lang.String getChangeLog() {
76 return changeLog;
77 }
78
79
80
85 public void setChangeLog(java.lang.String changeLog) {
86 this.changeLog = changeLog;
87 }
88
89
90
95 public long getCompanyId() {
96 return companyId;
97 }
98
99
100
105 public void setCompanyId(long companyId) {
106 this.companyId = companyId;
107 }
108
109
110
115 public java.util.Calendar getCreateDate() {
116 return createDate;
117 }
118
119
120
125 public void setCreateDate(java.util.Calendar createDate) {
126 this.createDate = createDate;
127 }
128
129
130
135 public java.lang.String getDirectDownloadURL() {
136 return directDownloadURL;
137 }
138
139
140
145 public void setDirectDownloadURL(java.lang.String directDownloadURL) {
146 this.directDownloadURL = directDownloadURL;
147 }
148
149
150
155 public java.lang.String getDownloadPageURL() {
156 return downloadPageURL;
157 }
158
159
160
165 public void setDownloadPageURL(java.lang.String downloadPageURL) {
166 this.downloadPageURL = downloadPageURL;
167 }
168
169
170
175 public java.util.Calendar getModifiedDate() {
176 return modifiedDate;
177 }
178
179
180
185 public void setModifiedDate(java.util.Calendar modifiedDate) {
186 this.modifiedDate = modifiedDate;
187 }
188
189
190
195 public long getPrimaryKey() {
196 return primaryKey;
197 }
198
199
200
205 public void setPrimaryKey(long primaryKey) {
206 this.primaryKey = primaryKey;
207 }
208
209
210
215 public long getProductEntryId() {
216 return productEntryId;
217 }
218
219
220
225 public void setProductEntryId(long productEntryId) {
226 this.productEntryId = productEntryId;
227 }
228
229
230
235 public long getProductVersionId() {
236 return productVersionId;
237 }
238
239
240
245 public void setProductVersionId(long productVersionId) {
246 this.productVersionId = productVersionId;
247 }
248
249
250
255 public boolean isRepoStoreArtifact() {
256 return repoStoreArtifact;
257 }
258
259
260
265 public void setRepoStoreArtifact(boolean repoStoreArtifact) {
266 this.repoStoreArtifact = repoStoreArtifact;
267 }
268
269
270
275 public long getUserId() {
276 return userId;
277 }
278
279
280
285 public void setUserId(long userId) {
286 this.userId = userId;
287 }
288
289
290
295 public java.lang.String getUserName() {
296 return userName;
297 }
298
299
300
305 public void setUserName(java.lang.String userName) {
306 this.userName = userName;
307 }
308
309
310
315 public java.lang.String getVersion() {
316 return version;
317 }
318
319
320
325 public void setVersion(java.lang.String version) {
326 this.version = version;
327 }
328
329 private java.lang.Object __equalsCalc = null;
330 public synchronized boolean equals(java.lang.Object obj) {
331 if (!(obj instanceof SCProductVersionSoap)) return false;
332 SCProductVersionSoap other = (SCProductVersionSoap) obj;
333 if (obj == null) return false;
334 if (this == obj) return true;
335 if (__equalsCalc != null) {
336 return (__equalsCalc == obj);
337 }
338 __equalsCalc = obj;
339 boolean _equals;
340 _equals = true &&
341 ((this.changeLog==null && other.getChangeLog()==null) ||
342 (this.changeLog!=null &&
343 this.changeLog.equals(other.getChangeLog()))) &&
344 this.companyId == other.getCompanyId() &&
345 ((this.createDate==null && other.getCreateDate()==null) ||
346 (this.createDate!=null &&
347 this.createDate.equals(other.getCreateDate()))) &&
348 ((this.directDownloadURL==null && other.getDirectDownloadURL()==null) ||
349 (this.directDownloadURL!=null &&
350 this.directDownloadURL.equals(other.getDirectDownloadURL()))) &&
351 ((this.downloadPageURL==null && other.getDownloadPageURL()==null) ||
352 (this.downloadPageURL!=null &&
353 this.downloadPageURL.equals(other.getDownloadPageURL()))) &&
354 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
355 (this.modifiedDate!=null &&
356 this.modifiedDate.equals(other.getModifiedDate()))) &&
357 this.primaryKey == other.getPrimaryKey() &&
358 this.productEntryId == other.getProductEntryId() &&
359 this.productVersionId == other.getProductVersionId() &&
360 this.repoStoreArtifact == other.isRepoStoreArtifact() &&
361 this.userId == other.getUserId() &&
362 ((this.userName==null && other.getUserName()==null) ||
363 (this.userName!=null &&
364 this.userName.equals(other.getUserName()))) &&
365 ((this.version==null && other.getVersion()==null) ||
366 (this.version!=null &&
367 this.version.equals(other.getVersion())));
368 __equalsCalc = null;
369 return _equals;
370 }
371
372 private boolean __hashCodeCalc = false;
373 public synchronized int hashCode() {
374 if (__hashCodeCalc) {
375 return 0;
376 }
377 __hashCodeCalc = true;
378 int _hashCode = 1;
379 if (getChangeLog() != null) {
380 _hashCode += getChangeLog().hashCode();
381 }
382 _hashCode += new Long(getCompanyId()).hashCode();
383 if (getCreateDate() != null) {
384 _hashCode += getCreateDate().hashCode();
385 }
386 if (getDirectDownloadURL() != null) {
387 _hashCode += getDirectDownloadURL().hashCode();
388 }
389 if (getDownloadPageURL() != null) {
390 _hashCode += getDownloadPageURL().hashCode();
391 }
392 if (getModifiedDate() != null) {
393 _hashCode += getModifiedDate().hashCode();
394 }
395 _hashCode += new Long(getPrimaryKey()).hashCode();
396 _hashCode += new Long(getProductEntryId()).hashCode();
397 _hashCode += new Long(getProductVersionId()).hashCode();
398 _hashCode += (isRepoStoreArtifact() ? Boolean.TRUE : Boolean.FALSE).hashCode();
399 _hashCode += new Long(getUserId()).hashCode();
400 if (getUserName() != null) {
401 _hashCode += getUserName().hashCode();
402 }
403 if (getVersion() != null) {
404 _hashCode += getVersion().hashCode();
405 }
406 __hashCodeCalc = false;
407 return _hashCode;
408 }
409
410 private static org.apache.axis.description.TypeDesc typeDesc =
412 new org.apache.axis.description.TypeDesc(SCProductVersionSoap.class, true);
413
414 static {
415 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.softwarecatalog.portlet.liferay.com", "SCProductVersionSoap"));
416 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
417 elemField.setFieldName("changeLog");
418 elemField.setXmlName(new javax.xml.namespace.QName("", "changeLog"));
419 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
420 elemField.setNillable(true);
421 typeDesc.addFieldDesc(elemField);
422 elemField = new org.apache.axis.description.ElementDesc();
423 elemField.setFieldName("companyId");
424 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
425 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
426 elemField.setNillable(false);
427 typeDesc.addFieldDesc(elemField);
428 elemField = new org.apache.axis.description.ElementDesc();
429 elemField.setFieldName("createDate");
430 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
431 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
432 elemField.setNillable(true);
433 typeDesc.addFieldDesc(elemField);
434 elemField = new org.apache.axis.description.ElementDesc();
435 elemField.setFieldName("directDownloadURL");
436 elemField.setXmlName(new javax.xml.namespace.QName("", "directDownloadURL"));
437 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
438 elemField.setNillable(true);
439 typeDesc.addFieldDesc(elemField);
440 elemField = new org.apache.axis.description.ElementDesc();
441 elemField.setFieldName("downloadPageURL");
442 elemField.setXmlName(new javax.xml.namespace.QName("", "downloadPageURL"));
443 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
444 elemField.setNillable(true);
445 typeDesc.addFieldDesc(elemField);
446 elemField = new org.apache.axis.description.ElementDesc();
447 elemField.setFieldName("modifiedDate");
448 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
449 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
450 elemField.setNillable(true);
451 typeDesc.addFieldDesc(elemField);
452 elemField = new org.apache.axis.description.ElementDesc();
453 elemField.setFieldName("primaryKey");
454 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
455 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
456 elemField.setNillable(false);
457 typeDesc.addFieldDesc(elemField);
458 elemField = new org.apache.axis.description.ElementDesc();
459 elemField.setFieldName("productEntryId");
460 elemField.setXmlName(new javax.xml.namespace.QName("", "productEntryId"));
461 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
462 elemField.setNillable(false);
463 typeDesc.addFieldDesc(elemField);
464 elemField = new org.apache.axis.description.ElementDesc();
465 elemField.setFieldName("productVersionId");
466 elemField.setXmlName(new javax.xml.namespace.QName("", "productVersionId"));
467 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
468 elemField.setNillable(false);
469 typeDesc.addFieldDesc(elemField);
470 elemField = new org.apache.axis.description.ElementDesc();
471 elemField.setFieldName("repoStoreArtifact");
472 elemField.setXmlName(new javax.xml.namespace.QName("", "repoStoreArtifact"));
473 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
474 elemField.setNillable(false);
475 typeDesc.addFieldDesc(elemField);
476 elemField = new org.apache.axis.description.ElementDesc();
477 elemField.setFieldName("userId");
478 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
479 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
480 elemField.setNillable(false);
481 typeDesc.addFieldDesc(elemField);
482 elemField = new org.apache.axis.description.ElementDesc();
483 elemField.setFieldName("userName");
484 elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
485 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
486 elemField.setNillable(true);
487 typeDesc.addFieldDesc(elemField);
488 elemField = new org.apache.axis.description.ElementDesc();
489 elemField.setFieldName("version");
490 elemField.setXmlName(new javax.xml.namespace.QName("", "version"));
491 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
492 elemField.setNillable(true);
493 typeDesc.addFieldDesc(elemField);
494 }
495
496
499 public static org.apache.axis.description.TypeDesc getTypeDesc() {
500 return typeDesc;
501 }
502
503
506 public static org.apache.axis.encoding.Serializer getSerializer(
507 java.lang.String mechType,
508 java.lang.Class _javaType,
509 javax.xml.namespace.QName _xmlType) {
510 return
511 new org.apache.axis.encoding.ser.BeanSerializer(
512 _javaType, _xmlType, typeDesc);
513 }
514
515
518 public static org.apache.axis.encoding.Deserializer getDeserializer(
519 java.lang.String mechType,
520 java.lang.Class _javaType,
521 javax.xml.namespace.QName _xmlType) {
522 return
523 new org.apache.axis.encoding.ser.BeanDeserializer(
524 _javaType, _xmlType, typeDesc);
525 }
526
527 }
528