1   /**
2    * SCProductEntrySoap.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6    */
7   
8   package com.liferay.client.soap.portlet.softwarecatalog.model;
9   
10  public class SCProductEntrySoap  implements java.io.Serializable {
11      private java.lang.String author;
12  
13      private long companyId;
14  
15      private java.util.Calendar createDate;
16  
17      private long groupId;
18  
19      private java.lang.String longDescription;
20  
21      private java.util.Calendar modifiedDate;
22  
23      private java.lang.String name;
24  
25      private java.lang.String pageURL;
26  
27      private long primaryKey;
28  
29      private long productEntryId;
30  
31      private java.lang.String repoArtifactId;
32  
33      private java.lang.String repoGroupId;
34  
35      private java.lang.String shortDescription;
36  
37      private java.lang.String tags;
38  
39      private java.lang.String type;
40  
41      private long userId;
42  
43      private java.lang.String userName;
44  
45      public SCProductEntrySoap() {
46      }
47  
48      public SCProductEntrySoap(
49             java.lang.String author,
50             long companyId,
51             java.util.Calendar createDate,
52             long groupId,
53             java.lang.String longDescription,
54             java.util.Calendar modifiedDate,
55             java.lang.String name,
56             java.lang.String pageURL,
57             long primaryKey,
58             long productEntryId,
59             java.lang.String repoArtifactId,
60             java.lang.String repoGroupId,
61             java.lang.String shortDescription,
62             java.lang.String tags,
63             java.lang.String type,
64             long userId,
65             java.lang.String userName) {
66             this.author = author;
67             this.companyId = companyId;
68             this.createDate = createDate;
69             this.groupId = groupId;
70             this.longDescription = longDescription;
71             this.modifiedDate = modifiedDate;
72             this.name = name;
73             this.pageURL = pageURL;
74             this.primaryKey = primaryKey;
75             this.productEntryId = productEntryId;
76             this.repoArtifactId = repoArtifactId;
77             this.repoGroupId = repoGroupId;
78             this.shortDescription = shortDescription;
79             this.tags = tags;
80             this.type = type;
81             this.userId = userId;
82             this.userName = userName;
83      }
84  
85  
86      /**
87       * Gets the author value for this SCProductEntrySoap.
88       * 
89       * @return author
90       */
91      public java.lang.String getAuthor() {
92          return author;
93      }
94  
95  
96      /**
97       * Sets the author value for this SCProductEntrySoap.
98       * 
99       * @param author
100      */
101     public void setAuthor(java.lang.String author) {
102         this.author = author;
103     }
104 
105 
106     /**
107      * Gets the companyId value for this SCProductEntrySoap.
108      * 
109      * @return companyId
110      */
111     public long getCompanyId() {
112         return companyId;
113     }
114 
115 
116     /**
117      * Sets the companyId value for this SCProductEntrySoap.
118      * 
119      * @param companyId
120      */
121     public void setCompanyId(long companyId) {
122         this.companyId = companyId;
123     }
124 
125 
126     /**
127      * Gets the createDate value for this SCProductEntrySoap.
128      * 
129      * @return createDate
130      */
131     public java.util.Calendar getCreateDate() {
132         return createDate;
133     }
134 
135 
136     /**
137      * Sets the createDate value for this SCProductEntrySoap.
138      * 
139      * @param createDate
140      */
141     public void setCreateDate(java.util.Calendar createDate) {
142         this.createDate = createDate;
143     }
144 
145 
146     /**
147      * Gets the groupId value for this SCProductEntrySoap.
148      * 
149      * @return groupId
150      */
151     public long getGroupId() {
152         return groupId;
153     }
154 
155 
156     /**
157      * Sets the groupId value for this SCProductEntrySoap.
158      * 
159      * @param groupId
160      */
161     public void setGroupId(long groupId) {
162         this.groupId = groupId;
163     }
164 
165 
166     /**
167      * Gets the longDescription value for this SCProductEntrySoap.
168      * 
169      * @return longDescription
170      */
171     public java.lang.String getLongDescription() {
172         return longDescription;
173     }
174 
175 
176     /**
177      * Sets the longDescription value for this SCProductEntrySoap.
178      * 
179      * @param longDescription
180      */
181     public void setLongDescription(java.lang.String longDescription) {
182         this.longDescription = longDescription;
183     }
184 
185 
186     /**
187      * Gets the modifiedDate value for this SCProductEntrySoap.
188      * 
189      * @return modifiedDate
190      */
191     public java.util.Calendar getModifiedDate() {
192         return modifiedDate;
193     }
194 
195 
196     /**
197      * Sets the modifiedDate value for this SCProductEntrySoap.
198      * 
199      * @param modifiedDate
200      */
201     public void setModifiedDate(java.util.Calendar modifiedDate) {
202         this.modifiedDate = modifiedDate;
203     }
204 
205 
206     /**
207      * Gets the name value for this SCProductEntrySoap.
208      * 
209      * @return name
210      */
211     public java.lang.String getName() {
212         return name;
213     }
214 
215 
216     /**
217      * Sets the name value for this SCProductEntrySoap.
218      * 
219      * @param name
220      */
221     public void setName(java.lang.String name) {
222         this.name = name;
223     }
224 
225 
226     /**
227      * Gets the pageURL value for this SCProductEntrySoap.
228      * 
229      * @return pageURL
230      */
231     public java.lang.String getPageURL() {
232         return pageURL;
233     }
234 
235 
236     /**
237      * Sets the pageURL value for this SCProductEntrySoap.
238      * 
239      * @param pageURL
240      */
241     public void setPageURL(java.lang.String pageURL) {
242         this.pageURL = pageURL;
243     }
244 
245 
246     /**
247      * Gets the primaryKey value for this SCProductEntrySoap.
248      * 
249      * @return primaryKey
250      */
251     public long getPrimaryKey() {
252         return primaryKey;
253     }
254 
255 
256     /**
257      * Sets the primaryKey value for this SCProductEntrySoap.
258      * 
259      * @param primaryKey
260      */
261     public void setPrimaryKey(long primaryKey) {
262         this.primaryKey = primaryKey;
263     }
264 
265 
266     /**
267      * Gets the productEntryId value for this SCProductEntrySoap.
268      * 
269      * @return productEntryId
270      */
271     public long getProductEntryId() {
272         return productEntryId;
273     }
274 
275 
276     /**
277      * Sets the productEntryId value for this SCProductEntrySoap.
278      * 
279      * @param productEntryId
280      */
281     public void setProductEntryId(long productEntryId) {
282         this.productEntryId = productEntryId;
283     }
284 
285 
286     /**
287      * Gets the repoArtifactId value for this SCProductEntrySoap.
288      * 
289      * @return repoArtifactId
290      */
291     public java.lang.String getRepoArtifactId() {
292         return repoArtifactId;
293     }
294 
295 
296     /**
297      * Sets the repoArtifactId value for this SCProductEntrySoap.
298      * 
299      * @param repoArtifactId
300      */
301     public void setRepoArtifactId(java.lang.String repoArtifactId) {
302         this.repoArtifactId = repoArtifactId;
303     }
304 
305 
306     /**
307      * Gets the repoGroupId value for this SCProductEntrySoap.
308      * 
309      * @return repoGroupId
310      */
311     public java.lang.String getRepoGroupId() {
312         return repoGroupId;
313     }
314 
315 
316     /**
317      * Sets the repoGroupId value for this SCProductEntrySoap.
318      * 
319      * @param repoGroupId
320      */
321     public void setRepoGroupId(java.lang.String repoGroupId) {
322         this.repoGroupId = repoGroupId;
323     }
324 
325 
326     /**
327      * Gets the shortDescription value for this SCProductEntrySoap.
328      * 
329      * @return shortDescription
330      */
331     public java.lang.String getShortDescription() {
332         return shortDescription;
333     }
334 
335 
336     /**
337      * Sets the shortDescription value for this SCProductEntrySoap.
338      * 
339      * @param shortDescription
340      */
341     public void setShortDescription(java.lang.String shortDescription) {
342         this.shortDescription = shortDescription;
343     }
344 
345 
346     /**
347      * Gets the tags value for this SCProductEntrySoap.
348      * 
349      * @return tags
350      */
351     public java.lang.String getTags() {
352         return tags;
353     }
354 
355 
356     /**
357      * Sets the tags value for this SCProductEntrySoap.
358      * 
359      * @param tags
360      */
361     public void setTags(java.lang.String tags) {
362         this.tags = tags;
363     }
364 
365 
366     /**
367      * Gets the type value for this SCProductEntrySoap.
368      * 
369      * @return type
370      */
371     public java.lang.String getType() {
372         return type;
373     }
374 
375 
376     /**
377      * Sets the type value for this SCProductEntrySoap.
378      * 
379      * @param type
380      */
381     public void setType(java.lang.String type) {
382         this.type = type;
383     }
384 
385 
386     /**
387      * Gets the userId value for this SCProductEntrySoap.
388      * 
389      * @return userId
390      */
391     public long getUserId() {
392         return userId;
393     }
394 
395 
396     /**
397      * Sets the userId value for this SCProductEntrySoap.
398      * 
399      * @param userId
400      */
401     public void setUserId(long userId) {
402         this.userId = userId;
403     }
404 
405 
406     /**
407      * Gets the userName value for this SCProductEntrySoap.
408      * 
409      * @return userName
410      */
411     public java.lang.String getUserName() {
412         return userName;
413     }
414 
415 
416     /**
417      * Sets the userName value for this SCProductEntrySoap.
418      * 
419      * @param userName
420      */
421     public void setUserName(java.lang.String userName) {
422         this.userName = userName;
423     }
424 
425     private java.lang.Object __equalsCalc = null;
426     public synchronized boolean equals(java.lang.Object obj) {
427         if (!(obj instanceof SCProductEntrySoap)) return false;
428         SCProductEntrySoap other = (SCProductEntrySoap) obj;
429         if (obj == null) return false;
430         if (this == obj) return true;
431         if (__equalsCalc != null) {
432             return (__equalsCalc == obj);
433         }
434         __equalsCalc = obj;
435         boolean _equals;
436         _equals = true && 
437             ((this.author==null && other.getAuthor()==null) || 
438              (this.author!=null &&
439               this.author.equals(other.getAuthor()))) &&
440             this.companyId == other.getCompanyId() &&
441             ((this.createDate==null && other.getCreateDate()==null) || 
442              (this.createDate!=null &&
443               this.createDate.equals(other.getCreateDate()))) &&
444             this.groupId == other.getGroupId() &&
445             ((this.longDescription==null && other.getLongDescription()==null) || 
446              (this.longDescription!=null &&
447               this.longDescription.equals(other.getLongDescription()))) &&
448             ((this.modifiedDate==null && other.getModifiedDate()==null) || 
449              (this.modifiedDate!=null &&
450               this.modifiedDate.equals(other.getModifiedDate()))) &&
451             ((this.name==null && other.getName()==null) || 
452              (this.name!=null &&
453               this.name.equals(other.getName()))) &&
454             ((this.pageURL==null && other.getPageURL()==null) || 
455              (this.pageURL!=null &&
456               this.pageURL.equals(other.getPageURL()))) &&
457             this.primaryKey == other.getPrimaryKey() &&
458             this.productEntryId == other.getProductEntryId() &&
459             ((this.repoArtifactId==null && other.getRepoArtifactId()==null) || 
460              (this.repoArtifactId!=null &&
461               this.repoArtifactId.equals(other.getRepoArtifactId()))) &&
462             ((this.repoGroupId==null && other.getRepoGroupId()==null) || 
463              (this.repoGroupId!=null &&
464               this.repoGroupId.equals(other.getRepoGroupId()))) &&
465             ((this.shortDescription==null && other.getShortDescription()==null) || 
466              (this.shortDescription!=null &&
467               this.shortDescription.equals(other.getShortDescription()))) &&
468             ((this.tags==null && other.getTags()==null) || 
469              (this.tags!=null &&
470               this.tags.equals(other.getTags()))) &&
471             ((this.type==null && other.getType()==null) || 
472              (this.type!=null &&
473               this.type.equals(other.getType()))) &&
474             this.userId == other.getUserId() &&
475             ((this.userName==null && other.getUserName()==null) || 
476              (this.userName!=null &&
477               this.userName.equals(other.getUserName())));
478         __equalsCalc = null;
479         return _equals;
480     }
481 
482     private boolean __hashCodeCalc = false;
483     public synchronized int hashCode() {
484         if (__hashCodeCalc) {
485             return 0;
486         }
487         __hashCodeCalc = true;
488         int _hashCode = 1;
489         if (getAuthor() != null) {
490             _hashCode += getAuthor().hashCode();
491         }
492         _hashCode += new Long(getCompanyId()).hashCode();
493         if (getCreateDate() != null) {
494             _hashCode += getCreateDate().hashCode();
495         }
496         _hashCode += new Long(getGroupId()).hashCode();
497         if (getLongDescription() != null) {
498             _hashCode += getLongDescription().hashCode();
499         }
500         if (getModifiedDate() != null) {
501             _hashCode += getModifiedDate().hashCode();
502         }
503         if (getName() != null) {
504             _hashCode += getName().hashCode();
505         }
506         if (getPageURL() != null) {
507             _hashCode += getPageURL().hashCode();
508         }
509         _hashCode += new Long(getPrimaryKey()).hashCode();
510         _hashCode += new Long(getProductEntryId()).hashCode();
511         if (getRepoArtifactId() != null) {
512             _hashCode += getRepoArtifactId().hashCode();
513         }
514         if (getRepoGroupId() != null) {
515             _hashCode += getRepoGroupId().hashCode();
516         }
517         if (getShortDescription() != null) {
518             _hashCode += getShortDescription().hashCode();
519         }
520         if (getTags() != null) {
521             _hashCode += getTags().hashCode();
522         }
523         if (getType() != null) {
524             _hashCode += getType().hashCode();
525         }
526         _hashCode += new Long(getUserId()).hashCode();
527         if (getUserName() != null) {
528             _hashCode += getUserName().hashCode();
529         }
530         __hashCodeCalc = false;
531         return _hashCode;
532     }
533 
534     // Type metadata
535     private static org.apache.axis.description.TypeDesc typeDesc =
536         new org.apache.axis.description.TypeDesc(SCProductEntrySoap.class, true);
537 
538     static {
539         typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.softwarecatalog.portlet.liferay.com", "SCProductEntrySoap"));
540         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
541         elemField.setFieldName("author");
542         elemField.setXmlName(new javax.xml.namespace.QName("", "author"));
543         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
544         elemField.setNillable(true);
545         typeDesc.addFieldDesc(elemField);
546         elemField = new org.apache.axis.description.ElementDesc();
547         elemField.setFieldName("companyId");
548         elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
549         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
550         elemField.setNillable(false);
551         typeDesc.addFieldDesc(elemField);
552         elemField = new org.apache.axis.description.ElementDesc();
553         elemField.setFieldName("createDate");
554         elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
555         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
556         elemField.setNillable(true);
557         typeDesc.addFieldDesc(elemField);
558         elemField = new org.apache.axis.description.ElementDesc();
559         elemField.setFieldName("groupId");
560         elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
561         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
562         elemField.setNillable(false);
563         typeDesc.addFieldDesc(elemField);
564         elemField = new org.apache.axis.description.ElementDesc();
565         elemField.setFieldName("longDescription");
566         elemField.setXmlName(new javax.xml.namespace.QName("", "longDescription"));
567         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
568         elemField.setNillable(true);
569         typeDesc.addFieldDesc(elemField);
570         elemField = new org.apache.axis.description.ElementDesc();
571         elemField.setFieldName("modifiedDate");
572         elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
573         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
574         elemField.setNillable(true);
575         typeDesc.addFieldDesc(elemField);
576         elemField = new org.apache.axis.description.ElementDesc();
577         elemField.setFieldName("name");
578         elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
579         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
580         elemField.setNillable(true);
581         typeDesc.addFieldDesc(elemField);
582         elemField = new org.apache.axis.description.ElementDesc();
583         elemField.setFieldName("pageURL");
584         elemField.setXmlName(new javax.xml.namespace.QName("", "pageURL"));
585         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
586         elemField.setNillable(true);
587         typeDesc.addFieldDesc(elemField);
588         elemField = new org.apache.axis.description.ElementDesc();
589         elemField.setFieldName("primaryKey");
590         elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
591         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
592         elemField.setNillable(false);
593         typeDesc.addFieldDesc(elemField);
594         elemField = new org.apache.axis.description.ElementDesc();
595         elemField.setFieldName("productEntryId");
596         elemField.setXmlName(new javax.xml.namespace.QName("", "productEntryId"));
597         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
598         elemField.setNillable(false);
599         typeDesc.addFieldDesc(elemField);
600         elemField = new org.apache.axis.description.ElementDesc();
601         elemField.setFieldName("repoArtifactId");
602         elemField.setXmlName(new javax.xml.namespace.QName("", "repoArtifactId"));
603         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
604         elemField.setNillable(true);
605         typeDesc.addFieldDesc(elemField);
606         elemField = new org.apache.axis.description.ElementDesc();
607         elemField.setFieldName("repoGroupId");
608         elemField.setXmlName(new javax.xml.namespace.QName("", "repoGroupId"));
609         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
610         elemField.setNillable(true);
611         typeDesc.addFieldDesc(elemField);
612         elemField = new org.apache.axis.description.ElementDesc();
613         elemField.setFieldName("shortDescription");
614         elemField.setXmlName(new javax.xml.namespace.QName("", "shortDescription"));
615         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
616         elemField.setNillable(true);
617         typeDesc.addFieldDesc(elemField);
618         elemField = new org.apache.axis.description.ElementDesc();
619         elemField.setFieldName("tags");
620         elemField.setXmlName(new javax.xml.namespace.QName("", "tags"));
621         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
622         elemField.setNillable(true);
623         typeDesc.addFieldDesc(elemField);
624         elemField = new org.apache.axis.description.ElementDesc();
625         elemField.setFieldName("type");
626         elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
627         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
628         elemField.setNillable(true);
629         typeDesc.addFieldDesc(elemField);
630         elemField = new org.apache.axis.description.ElementDesc();
631         elemField.setFieldName("userId");
632         elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
633         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
634         elemField.setNillable(false);
635         typeDesc.addFieldDesc(elemField);
636         elemField = new org.apache.axis.description.ElementDesc();
637         elemField.setFieldName("userName");
638         elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
639         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
640         elemField.setNillable(true);
641         typeDesc.addFieldDesc(elemField);
642     }
643 
644     /**
645      * Return type metadata object
646      */
647     public static org.apache.axis.description.TypeDesc getTypeDesc() {
648         return typeDesc;
649     }
650 
651     /**
652      * Get Custom Serializer
653      */
654     public static org.apache.axis.encoding.Serializer getSerializer(
655            java.lang.String mechType, 
656            java.lang.Class _javaType,  
657            javax.xml.namespace.QName _xmlType) {
658         return 
659           new  org.apache.axis.encoding.ser.BeanSerializer(
660             _javaType, _xmlType, typeDesc);
661     }
662 
663     /**
664      * Get Custom Deserializer
665      */
666     public static org.apache.axis.encoding.Deserializer getDeserializer(
667            java.lang.String mechType, 
668            java.lang.Class _javaType,  
669            javax.xml.namespace.QName _xmlType) {
670         return 
671           new  org.apache.axis.encoding.ser.BeanDeserializer(
672             _javaType, _xmlType, typeDesc);
673     }
674 
675 }
676