1   /**
2    * AssetEntryQuery.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.asset.service.persistence;
9   
10  public class AssetEntryQuery  implements java.io.Serializable {
11      private long[] allCategoryIds;
12  
13      private long[] allLeftAndRightCategoryIds;
14  
15      private long[] allTagIds;
16  
17      private long[] anyCategoryIds;
18  
19      private long[] anyLeftAndRightCategoryIds;
20  
21      private long[] anyTagIds;
22  
23      private java.lang.String className;
24  
25      private long[] classNameIds;
26  
27      private int end;
28  
29      private boolean excludeZeroViewCount;
30  
31      private java.util.Calendar expirationDate;
32  
33      private long[] groupIds;
34  
35      private long[] notAllCategoryIds;
36  
37      private long[] notAllLeftAndRightCategoryIds;
38  
39      private long[] notAllTagIds;
40  
41      private long[] notAnyCategoryIds;
42  
43      private long[] notAnyLeftAndRightCategoryIds;
44  
45      private long[] notAnyTagIds;
46  
47      private java.lang.String orderByCol1;
48  
49      private java.lang.String orderByCol2;
50  
51      private java.lang.String orderByType1;
52  
53      private java.lang.String orderByType2;
54  
55      private java.util.Calendar publishDate;
56  
57      private int start;
58  
59      private java.lang.Boolean visible;
60  
61      public AssetEntryQuery() {
62      }
63  
64      public AssetEntryQuery(
65             long[] allCategoryIds,
66             long[] allLeftAndRightCategoryIds,
67             long[] allTagIds,
68             long[] anyCategoryIds,
69             long[] anyLeftAndRightCategoryIds,
70             long[] anyTagIds,
71             java.lang.String className,
72             long[] classNameIds,
73             int end,
74             boolean excludeZeroViewCount,
75             java.util.Calendar expirationDate,
76             long[] groupIds,
77             long[] notAllCategoryIds,
78             long[] notAllLeftAndRightCategoryIds,
79             long[] notAllTagIds,
80             long[] notAnyCategoryIds,
81             long[] notAnyLeftAndRightCategoryIds,
82             long[] notAnyTagIds,
83             java.lang.String orderByCol1,
84             java.lang.String orderByCol2,
85             java.lang.String orderByType1,
86             java.lang.String orderByType2,
87             java.util.Calendar publishDate,
88             int start,
89             java.lang.Boolean visible) {
90             this.allCategoryIds = allCategoryIds;
91             this.allLeftAndRightCategoryIds = allLeftAndRightCategoryIds;
92             this.allTagIds = allTagIds;
93             this.anyCategoryIds = anyCategoryIds;
94             this.anyLeftAndRightCategoryIds = anyLeftAndRightCategoryIds;
95             this.anyTagIds = anyTagIds;
96             this.className = className;
97             this.classNameIds = classNameIds;
98             this.end = end;
99             this.excludeZeroViewCount = excludeZeroViewCount;
100            this.expirationDate = expirationDate;
101            this.groupIds = groupIds;
102            this.notAllCategoryIds = notAllCategoryIds;
103            this.notAllLeftAndRightCategoryIds = notAllLeftAndRightCategoryIds;
104            this.notAllTagIds = notAllTagIds;
105            this.notAnyCategoryIds = notAnyCategoryIds;
106            this.notAnyLeftAndRightCategoryIds = notAnyLeftAndRightCategoryIds;
107            this.notAnyTagIds = notAnyTagIds;
108            this.orderByCol1 = orderByCol1;
109            this.orderByCol2 = orderByCol2;
110            this.orderByType1 = orderByType1;
111            this.orderByType2 = orderByType2;
112            this.publishDate = publishDate;
113            this.start = start;
114            this.visible = visible;
115     }
116 
117 
118     /**
119      * Gets the allCategoryIds value for this AssetEntryQuery.
120      * 
121      * @return allCategoryIds
122      */
123     public long[] getAllCategoryIds() {
124         return allCategoryIds;
125     }
126 
127 
128     /**
129      * Sets the allCategoryIds value for this AssetEntryQuery.
130      * 
131      * @param allCategoryIds
132      */
133     public void setAllCategoryIds(long[] allCategoryIds) {
134         this.allCategoryIds = allCategoryIds;
135     }
136 
137 
138     /**
139      * Gets the allLeftAndRightCategoryIds value for this AssetEntryQuery.
140      * 
141      * @return allLeftAndRightCategoryIds
142      */
143     public long[] getAllLeftAndRightCategoryIds() {
144         return allLeftAndRightCategoryIds;
145     }
146 
147 
148     /**
149      * Sets the allLeftAndRightCategoryIds value for this AssetEntryQuery.
150      * 
151      * @param allLeftAndRightCategoryIds
152      */
153     public void setAllLeftAndRightCategoryIds(long[] allLeftAndRightCategoryIds) {
154         this.allLeftAndRightCategoryIds = allLeftAndRightCategoryIds;
155     }
156 
157 
158     /**
159      * Gets the allTagIds value for this AssetEntryQuery.
160      * 
161      * @return allTagIds
162      */
163     public long[] getAllTagIds() {
164         return allTagIds;
165     }
166 
167 
168     /**
169      * Sets the allTagIds value for this AssetEntryQuery.
170      * 
171      * @param allTagIds
172      */
173     public void setAllTagIds(long[] allTagIds) {
174         this.allTagIds = allTagIds;
175     }
176 
177 
178     /**
179      * Gets the anyCategoryIds value for this AssetEntryQuery.
180      * 
181      * @return anyCategoryIds
182      */
183     public long[] getAnyCategoryIds() {
184         return anyCategoryIds;
185     }
186 
187 
188     /**
189      * Sets the anyCategoryIds value for this AssetEntryQuery.
190      * 
191      * @param anyCategoryIds
192      */
193     public void setAnyCategoryIds(long[] anyCategoryIds) {
194         this.anyCategoryIds = anyCategoryIds;
195     }
196 
197 
198     /**
199      * Gets the anyLeftAndRightCategoryIds value for this AssetEntryQuery.
200      * 
201      * @return anyLeftAndRightCategoryIds
202      */
203     public long[] getAnyLeftAndRightCategoryIds() {
204         return anyLeftAndRightCategoryIds;
205     }
206 
207 
208     /**
209      * Sets the anyLeftAndRightCategoryIds value for this AssetEntryQuery.
210      * 
211      * @param anyLeftAndRightCategoryIds
212      */
213     public void setAnyLeftAndRightCategoryIds(long[] anyLeftAndRightCategoryIds) {
214         this.anyLeftAndRightCategoryIds = anyLeftAndRightCategoryIds;
215     }
216 
217 
218     /**
219      * Gets the anyTagIds value for this AssetEntryQuery.
220      * 
221      * @return anyTagIds
222      */
223     public long[] getAnyTagIds() {
224         return anyTagIds;
225     }
226 
227 
228     /**
229      * Sets the anyTagIds value for this AssetEntryQuery.
230      * 
231      * @param anyTagIds
232      */
233     public void setAnyTagIds(long[] anyTagIds) {
234         this.anyTagIds = anyTagIds;
235     }
236 
237 
238     /**
239      * Gets the className value for this AssetEntryQuery.
240      * 
241      * @return className
242      */
243     public java.lang.String getClassName() {
244         return className;
245     }
246 
247 
248     /**
249      * Sets the className value for this AssetEntryQuery.
250      * 
251      * @param className
252      */
253     public void setClassName(java.lang.String className) {
254         this.className = className;
255     }
256 
257 
258     /**
259      * Gets the classNameIds value for this AssetEntryQuery.
260      * 
261      * @return classNameIds
262      */
263     public long[] getClassNameIds() {
264         return classNameIds;
265     }
266 
267 
268     /**
269      * Sets the classNameIds value for this AssetEntryQuery.
270      * 
271      * @param classNameIds
272      */
273     public void setClassNameIds(long[] classNameIds) {
274         this.classNameIds = classNameIds;
275     }
276 
277 
278     /**
279      * Gets the end value for this AssetEntryQuery.
280      * 
281      * @return end
282      */
283     public int getEnd() {
284         return end;
285     }
286 
287 
288     /**
289      * Sets the end value for this AssetEntryQuery.
290      * 
291      * @param end
292      */
293     public void setEnd(int end) {
294         this.end = end;
295     }
296 
297 
298     /**
299      * Gets the excludeZeroViewCount value for this AssetEntryQuery.
300      * 
301      * @return excludeZeroViewCount
302      */
303     public boolean isExcludeZeroViewCount() {
304         return excludeZeroViewCount;
305     }
306 
307 
308     /**
309      * Sets the excludeZeroViewCount value for this AssetEntryQuery.
310      * 
311      * @param excludeZeroViewCount
312      */
313     public void setExcludeZeroViewCount(boolean excludeZeroViewCount) {
314         this.excludeZeroViewCount = excludeZeroViewCount;
315     }
316 
317 
318     /**
319      * Gets the expirationDate value for this AssetEntryQuery.
320      * 
321      * @return expirationDate
322      */
323     public java.util.Calendar getExpirationDate() {
324         return expirationDate;
325     }
326 
327 
328     /**
329      * Sets the expirationDate value for this AssetEntryQuery.
330      * 
331      * @param expirationDate
332      */
333     public void setExpirationDate(java.util.Calendar expirationDate) {
334         this.expirationDate = expirationDate;
335     }
336 
337 
338     /**
339      * Gets the groupIds value for this AssetEntryQuery.
340      * 
341      * @return groupIds
342      */
343     public long[] getGroupIds() {
344         return groupIds;
345     }
346 
347 
348     /**
349      * Sets the groupIds value for this AssetEntryQuery.
350      * 
351      * @param groupIds
352      */
353     public void setGroupIds(long[] groupIds) {
354         this.groupIds = groupIds;
355     }
356 
357 
358     /**
359      * Gets the notAllCategoryIds value for this AssetEntryQuery.
360      * 
361      * @return notAllCategoryIds
362      */
363     public long[] getNotAllCategoryIds() {
364         return notAllCategoryIds;
365     }
366 
367 
368     /**
369      * Sets the notAllCategoryIds value for this AssetEntryQuery.
370      * 
371      * @param notAllCategoryIds
372      */
373     public void setNotAllCategoryIds(long[] notAllCategoryIds) {
374         this.notAllCategoryIds = notAllCategoryIds;
375     }
376 
377 
378     /**
379      * Gets the notAllLeftAndRightCategoryIds value for this AssetEntryQuery.
380      * 
381      * @return notAllLeftAndRightCategoryIds
382      */
383     public long[] getNotAllLeftAndRightCategoryIds() {
384         return notAllLeftAndRightCategoryIds;
385     }
386 
387 
388     /**
389      * Sets the notAllLeftAndRightCategoryIds value for this AssetEntryQuery.
390      * 
391      * @param notAllLeftAndRightCategoryIds
392      */
393     public void setNotAllLeftAndRightCategoryIds(long[] notAllLeftAndRightCategoryIds) {
394         this.notAllLeftAndRightCategoryIds = notAllLeftAndRightCategoryIds;
395     }
396 
397 
398     /**
399      * Gets the notAllTagIds value for this AssetEntryQuery.
400      * 
401      * @return notAllTagIds
402      */
403     public long[] getNotAllTagIds() {
404         return notAllTagIds;
405     }
406 
407 
408     /**
409      * Sets the notAllTagIds value for this AssetEntryQuery.
410      * 
411      * @param notAllTagIds
412      */
413     public void setNotAllTagIds(long[] notAllTagIds) {
414         this.notAllTagIds = notAllTagIds;
415     }
416 
417 
418     /**
419      * Gets the notAnyCategoryIds value for this AssetEntryQuery.
420      * 
421      * @return notAnyCategoryIds
422      */
423     public long[] getNotAnyCategoryIds() {
424         return notAnyCategoryIds;
425     }
426 
427 
428     /**
429      * Sets the notAnyCategoryIds value for this AssetEntryQuery.
430      * 
431      * @param notAnyCategoryIds
432      */
433     public void setNotAnyCategoryIds(long[] notAnyCategoryIds) {
434         this.notAnyCategoryIds = notAnyCategoryIds;
435     }
436 
437 
438     /**
439      * Gets the notAnyLeftAndRightCategoryIds value for this AssetEntryQuery.
440      * 
441      * @return notAnyLeftAndRightCategoryIds
442      */
443     public long[] getNotAnyLeftAndRightCategoryIds() {
444         return notAnyLeftAndRightCategoryIds;
445     }
446 
447 
448     /**
449      * Sets the notAnyLeftAndRightCategoryIds value for this AssetEntryQuery.
450      * 
451      * @param notAnyLeftAndRightCategoryIds
452      */
453     public void setNotAnyLeftAndRightCategoryIds(long[] notAnyLeftAndRightCategoryIds) {
454         this.notAnyLeftAndRightCategoryIds = notAnyLeftAndRightCategoryIds;
455     }
456 
457 
458     /**
459      * Gets the notAnyTagIds value for this AssetEntryQuery.
460      * 
461      * @return notAnyTagIds
462      */
463     public long[] getNotAnyTagIds() {
464         return notAnyTagIds;
465     }
466 
467 
468     /**
469      * Sets the notAnyTagIds value for this AssetEntryQuery.
470      * 
471      * @param notAnyTagIds
472      */
473     public void setNotAnyTagIds(long[] notAnyTagIds) {
474         this.notAnyTagIds = notAnyTagIds;
475     }
476 
477 
478     /**
479      * Gets the orderByCol1 value for this AssetEntryQuery.
480      * 
481      * @return orderByCol1
482      */
483     public java.lang.String getOrderByCol1() {
484         return orderByCol1;
485     }
486 
487 
488     /**
489      * Sets the orderByCol1 value for this AssetEntryQuery.
490      * 
491      * @param orderByCol1
492      */
493     public void setOrderByCol1(java.lang.String orderByCol1) {
494         this.orderByCol1 = orderByCol1;
495     }
496 
497 
498     /**
499      * Gets the orderByCol2 value for this AssetEntryQuery.
500      * 
501      * @return orderByCol2
502      */
503     public java.lang.String getOrderByCol2() {
504         return orderByCol2;
505     }
506 
507 
508     /**
509      * Sets the orderByCol2 value for this AssetEntryQuery.
510      * 
511      * @param orderByCol2
512      */
513     public void setOrderByCol2(java.lang.String orderByCol2) {
514         this.orderByCol2 = orderByCol2;
515     }
516 
517 
518     /**
519      * Gets the orderByType1 value for this AssetEntryQuery.
520      * 
521      * @return orderByType1
522      */
523     public java.lang.String getOrderByType1() {
524         return orderByType1;
525     }
526 
527 
528     /**
529      * Sets the orderByType1 value for this AssetEntryQuery.
530      * 
531      * @param orderByType1
532      */
533     public void setOrderByType1(java.lang.String orderByType1) {
534         this.orderByType1 = orderByType1;
535     }
536 
537 
538     /**
539      * Gets the orderByType2 value for this AssetEntryQuery.
540      * 
541      * @return orderByType2
542      */
543     public java.lang.String getOrderByType2() {
544         return orderByType2;
545     }
546 
547 
548     /**
549      * Sets the orderByType2 value for this AssetEntryQuery.
550      * 
551      * @param orderByType2
552      */
553     public void setOrderByType2(java.lang.String orderByType2) {
554         this.orderByType2 = orderByType2;
555     }
556 
557 
558     /**
559      * Gets the publishDate value for this AssetEntryQuery.
560      * 
561      * @return publishDate
562      */
563     public java.util.Calendar getPublishDate() {
564         return publishDate;
565     }
566 
567 
568     /**
569      * Sets the publishDate value for this AssetEntryQuery.
570      * 
571      * @param publishDate
572      */
573     public void setPublishDate(java.util.Calendar publishDate) {
574         this.publishDate = publishDate;
575     }
576 
577 
578     /**
579      * Gets the start value for this AssetEntryQuery.
580      * 
581      * @return start
582      */
583     public int getStart() {
584         return start;
585     }
586 
587 
588     /**
589      * Sets the start value for this AssetEntryQuery.
590      * 
591      * @param start
592      */
593     public void setStart(int start) {
594         this.start = start;
595     }
596 
597 
598     /**
599      * Gets the visible value for this AssetEntryQuery.
600      * 
601      * @return visible
602      */
603     public java.lang.Boolean getVisible() {
604         return visible;
605     }
606 
607 
608     /**
609      * Sets the visible value for this AssetEntryQuery.
610      * 
611      * @param visible
612      */
613     public void setVisible(java.lang.Boolean visible) {
614         this.visible = visible;
615     }
616 
617     private java.lang.Object __equalsCalc = null;
618     public synchronized boolean equals(java.lang.Object obj) {
619         if (!(obj instanceof AssetEntryQuery)) return false;
620         AssetEntryQuery other = (AssetEntryQuery) obj;
621         if (obj == null) return false;
622         if (this == obj) return true;
623         if (__equalsCalc != null) {
624             return (__equalsCalc == obj);
625         }
626         __equalsCalc = obj;
627         boolean _equals;
628         _equals = true && 
629             ((this.allCategoryIds==null && other.getAllCategoryIds()==null) || 
630              (this.allCategoryIds!=null &&
631               java.util.Arrays.equals(this.allCategoryIds, other.getAllCategoryIds()))) &&
632             ((this.allLeftAndRightCategoryIds==null && other.getAllLeftAndRightCategoryIds()==null) || 
633              (this.allLeftAndRightCategoryIds!=null &&
634               java.util.Arrays.equals(this.allLeftAndRightCategoryIds, other.getAllLeftAndRightCategoryIds()))) &&
635             ((this.allTagIds==null && other.getAllTagIds()==null) || 
636              (this.allTagIds!=null &&
637               java.util.Arrays.equals(this.allTagIds, other.getAllTagIds()))) &&
638             ((this.anyCategoryIds==null && other.getAnyCategoryIds()==null) || 
639              (this.anyCategoryIds!=null &&
640               java.util.Arrays.equals(this.anyCategoryIds, other.getAnyCategoryIds()))) &&
641             ((this.anyLeftAndRightCategoryIds==null && other.getAnyLeftAndRightCategoryIds()==null) || 
642              (this.anyLeftAndRightCategoryIds!=null &&
643               java.util.Arrays.equals(this.anyLeftAndRightCategoryIds, other.getAnyLeftAndRightCategoryIds()))) &&
644             ((this.anyTagIds==null && other.getAnyTagIds()==null) || 
645              (this.anyTagIds!=null &&
646               java.util.Arrays.equals(this.anyTagIds, other.getAnyTagIds()))) &&
647             ((this.className==null && other.getClassName()==null) || 
648              (this.className!=null &&
649               this.className.equals(other.getClassName()))) &&
650             ((this.classNameIds==null && other.getClassNameIds()==null) || 
651              (this.classNameIds!=null &&
652               java.util.Arrays.equals(this.classNameIds, other.getClassNameIds()))) &&
653             this.end == other.getEnd() &&
654             this.excludeZeroViewCount == other.isExcludeZeroViewCount() &&
655             ((this.expirationDate==null && other.getExpirationDate()==null) || 
656              (this.expirationDate!=null &&
657               this.expirationDate.equals(other.getExpirationDate()))) &&
658             ((this.groupIds==null && other.getGroupIds()==null) || 
659              (this.groupIds!=null &&
660               java.util.Arrays.equals(this.groupIds, other.getGroupIds()))) &&
661             ((this.notAllCategoryIds==null && other.getNotAllCategoryIds()==null) || 
662              (this.notAllCategoryIds!=null &&
663               java.util.Arrays.equals(this.notAllCategoryIds, other.getNotAllCategoryIds()))) &&
664             ((this.notAllLeftAndRightCategoryIds==null && other.getNotAllLeftAndRightCategoryIds()==null) || 
665              (this.notAllLeftAndRightCategoryIds!=null &&
666               java.util.Arrays.equals(this.notAllLeftAndRightCategoryIds, other.getNotAllLeftAndRightCategoryIds()))) &&
667             ((this.notAllTagIds==null && other.getNotAllTagIds()==null) || 
668              (this.notAllTagIds!=null &&
669               java.util.Arrays.equals(this.notAllTagIds, other.getNotAllTagIds()))) &&
670             ((this.notAnyCategoryIds==null && other.getNotAnyCategoryIds()==null) || 
671              (this.notAnyCategoryIds!=null &&
672               java.util.Arrays.equals(this.notAnyCategoryIds, other.getNotAnyCategoryIds()))) &&
673             ((this.notAnyLeftAndRightCategoryIds==null && other.getNotAnyLeftAndRightCategoryIds()==null) || 
674              (this.notAnyLeftAndRightCategoryIds!=null &&
675               java.util.Arrays.equals(this.notAnyLeftAndRightCategoryIds, other.getNotAnyLeftAndRightCategoryIds()))) &&
676             ((this.notAnyTagIds==null && other.getNotAnyTagIds()==null) || 
677              (this.notAnyTagIds!=null &&
678               java.util.Arrays.equals(this.notAnyTagIds, other.getNotAnyTagIds()))) &&
679             ((this.orderByCol1==null && other.getOrderByCol1()==null) || 
680              (this.orderByCol1!=null &&
681               this.orderByCol1.equals(other.getOrderByCol1()))) &&
682             ((this.orderByCol2==null && other.getOrderByCol2()==null) || 
683              (this.orderByCol2!=null &&
684               this.orderByCol2.equals(other.getOrderByCol2()))) &&
685             ((this.orderByType1==null && other.getOrderByType1()==null) || 
686              (this.orderByType1!=null &&
687               this.orderByType1.equals(other.getOrderByType1()))) &&
688             ((this.orderByType2==null && other.getOrderByType2()==null) || 
689              (this.orderByType2!=null &&
690               this.orderByType2.equals(other.getOrderByType2()))) &&
691             ((this.publishDate==null && other.getPublishDate()==null) || 
692              (this.publishDate!=null &&
693               this.publishDate.equals(other.getPublishDate()))) &&
694             this.start == other.getStart() &&
695             ((this.visible==null && other.getVisible()==null) || 
696              (this.visible!=null &&
697               this.visible.equals(other.getVisible())));
698         __equalsCalc = null;
699         return _equals;
700     }
701 
702     private boolean __hashCodeCalc = false;
703     public synchronized int hashCode() {
704         if (__hashCodeCalc) {
705             return 0;
706         }
707         __hashCodeCalc = true;
708         int _hashCode = 1;
709         if (getAllCategoryIds() != null) {
710             for (int i=0;
711                  i<java.lang.reflect.Array.getLength(getAllCategoryIds());
712                  i++) {
713                 java.lang.Object obj = java.lang.reflect.Array.get(getAllCategoryIds(), i);
714                 if (obj != null &&
715                     !obj.getClass().isArray()) {
716                     _hashCode += obj.hashCode();
717                 }
718             }
719         }
720         if (getAllLeftAndRightCategoryIds() != null) {
721             for (int i=0;
722                  i<java.lang.reflect.Array.getLength(getAllLeftAndRightCategoryIds());
723                  i++) {
724                 java.lang.Object obj = java.lang.reflect.Array.get(getAllLeftAndRightCategoryIds(), i);
725                 if (obj != null &&
726                     !obj.getClass().isArray()) {
727                     _hashCode += obj.hashCode();
728                 }
729             }
730         }
731         if (getAllTagIds() != null) {
732             for (int i=0;
733                  i<java.lang.reflect.Array.getLength(getAllTagIds());
734                  i++) {
735                 java.lang.Object obj = java.lang.reflect.Array.get(getAllTagIds(), i);
736                 if (obj != null &&
737                     !obj.getClass().isArray()) {
738                     _hashCode += obj.hashCode();
739                 }
740             }
741         }
742         if (getAnyCategoryIds() != null) {
743             for (int i=0;
744                  i<java.lang.reflect.Array.getLength(getAnyCategoryIds());
745                  i++) {
746                 java.lang.Object obj = java.lang.reflect.Array.get(getAnyCategoryIds(), i);
747                 if (obj != null &&
748                     !obj.getClass().isArray()) {
749                     _hashCode += obj.hashCode();
750                 }
751             }
752         }
753         if (getAnyLeftAndRightCategoryIds() != null) {
754             for (int i=0;
755                  i<java.lang.reflect.Array.getLength(getAnyLeftAndRightCategoryIds());
756                  i++) {
757                 java.lang.Object obj = java.lang.reflect.Array.get(getAnyLeftAndRightCategoryIds(), i);
758                 if (obj != null &&
759                     !obj.getClass().isArray()) {
760                     _hashCode += obj.hashCode();
761                 }
762             }
763         }
764         if (getAnyTagIds() != null) {
765             for (int i=0;
766                  i<java.lang.reflect.Array.getLength(getAnyTagIds());
767                  i++) {
768                 java.lang.Object obj = java.lang.reflect.Array.get(getAnyTagIds(), i);
769                 if (obj != null &&
770                     !obj.getClass().isArray()) {
771                     _hashCode += obj.hashCode();
772                 }
773             }
774         }
775         if (getClassName() != null) {
776             _hashCode += getClassName().hashCode();
777         }
778         if (getClassNameIds() != null) {
779             for (int i=0;
780                  i<java.lang.reflect.Array.getLength(getClassNameIds());
781                  i++) {
782                 java.lang.Object obj = java.lang.reflect.Array.get(getClassNameIds(), i);
783                 if (obj != null &&
784                     !obj.getClass().isArray()) {
785                     _hashCode += obj.hashCode();
786                 }
787             }
788         }
789         _hashCode += getEnd();
790         _hashCode += (isExcludeZeroViewCount() ? Boolean.TRUE : Boolean.FALSE).hashCode();
791         if (getExpirationDate() != null) {
792             _hashCode += getExpirationDate().hashCode();
793         }
794         if (getGroupIds() != null) {
795             for (int i=0;
796                  i<java.lang.reflect.Array.getLength(getGroupIds());
797                  i++) {
798                 java.lang.Object obj = java.lang.reflect.Array.get(getGroupIds(), i);
799                 if (obj != null &&
800                     !obj.getClass().isArray()) {
801                     _hashCode += obj.hashCode();
802                 }
803             }
804         }
805         if (getNotAllCategoryIds() != null) {
806             for (int i=0;
807                  i<java.lang.reflect.Array.getLength(getNotAllCategoryIds());
808                  i++) {
809                 java.lang.Object obj = java.lang.reflect.Array.get(getNotAllCategoryIds(), i);
810                 if (obj != null &&
811                     !obj.getClass().isArray()) {
812                     _hashCode += obj.hashCode();
813                 }
814             }
815         }
816         if (getNotAllLeftAndRightCategoryIds() != null) {
817             for (int i=0;
818                  i<java.lang.reflect.Array.getLength(getNotAllLeftAndRightCategoryIds());
819                  i++) {
820                 java.lang.Object obj = java.lang.reflect.Array.get(getNotAllLeftAndRightCategoryIds(), i);
821                 if (obj != null &&
822                     !obj.getClass().isArray()) {
823                     _hashCode += obj.hashCode();
824                 }
825             }
826         }
827         if (getNotAllTagIds() != null) {
828             for (int i=0;
829                  i<java.lang.reflect.Array.getLength(getNotAllTagIds());
830                  i++) {
831                 java.lang.Object obj = java.lang.reflect.Array.get(getNotAllTagIds(), i);
832                 if (obj != null &&
833                     !obj.getClass().isArray()) {
834                     _hashCode += obj.hashCode();
835                 }
836             }
837         }
838         if (getNotAnyCategoryIds() != null) {
839             for (int i=0;
840                  i<java.lang.reflect.Array.getLength(getNotAnyCategoryIds());
841                  i++) {
842                 java.lang.Object obj = java.lang.reflect.Array.get(getNotAnyCategoryIds(), i);
843                 if (obj != null &&
844                     !obj.getClass().isArray()) {
845                     _hashCode += obj.hashCode();
846                 }
847             }
848         }
849         if (getNotAnyLeftAndRightCategoryIds() != null) {
850             for (int i=0;
851                  i<java.lang.reflect.Array.getLength(getNotAnyLeftAndRightCategoryIds());
852                  i++) {
853                 java.lang.Object obj = java.lang.reflect.Array.get(getNotAnyLeftAndRightCategoryIds(), i);
854                 if (obj != null &&
855                     !obj.getClass().isArray()) {
856                     _hashCode += obj.hashCode();
857                 }
858             }
859         }
860         if (getNotAnyTagIds() != null) {
861             for (int i=0;
862                  i<java.lang.reflect.Array.getLength(getNotAnyTagIds());
863                  i++) {
864                 java.lang.Object obj = java.lang.reflect.Array.get(getNotAnyTagIds(), i);
865                 if (obj != null &&
866                     !obj.getClass().isArray()) {
867                     _hashCode += obj.hashCode();
868                 }
869             }
870         }
871         if (getOrderByCol1() != null) {
872             _hashCode += getOrderByCol1().hashCode();
873         }
874         if (getOrderByCol2() != null) {
875             _hashCode += getOrderByCol2().hashCode();
876         }
877         if (getOrderByType1() != null) {
878             _hashCode += getOrderByType1().hashCode();
879         }
880         if (getOrderByType2() != null) {
881             _hashCode += getOrderByType2().hashCode();
882         }
883         if (getPublishDate() != null) {
884             _hashCode += getPublishDate().hashCode();
885         }
886         _hashCode += getStart();
887         if (getVisible() != null) {
888             _hashCode += getVisible().hashCode();
889         }
890         __hashCodeCalc = false;
891         return _hashCode;
892     }
893 
894     // Type metadata
895     private static org.apache.axis.description.TypeDesc typeDesc =
896         new org.apache.axis.description.TypeDesc(AssetEntryQuery.class, true);
897 
898     static {
899         typeDesc.setXmlType(new javax.xml.namespace.QName("http://persistence.service.asset.portlet.liferay.com", "AssetEntryQuery"));
900         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
901         elemField.setFieldName("allCategoryIds");
902         elemField.setXmlName(new javax.xml.namespace.QName("", "allCategoryIds"));
903         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
904         elemField.setNillable(true);
905         typeDesc.addFieldDesc(elemField);
906         elemField = new org.apache.axis.description.ElementDesc();
907         elemField.setFieldName("allLeftAndRightCategoryIds");
908         elemField.setXmlName(new javax.xml.namespace.QName("", "allLeftAndRightCategoryIds"));
909         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
910         elemField.setNillable(true);
911         typeDesc.addFieldDesc(elemField);
912         elemField = new org.apache.axis.description.ElementDesc();
913         elemField.setFieldName("allTagIds");
914         elemField.setXmlName(new javax.xml.namespace.QName("", "allTagIds"));
915         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
916         elemField.setNillable(true);
917         typeDesc.addFieldDesc(elemField);
918         elemField = new org.apache.axis.description.ElementDesc();
919         elemField.setFieldName("anyCategoryIds");
920         elemField.setXmlName(new javax.xml.namespace.QName("", "anyCategoryIds"));
921         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
922         elemField.setNillable(true);
923         typeDesc.addFieldDesc(elemField);
924         elemField = new org.apache.axis.description.ElementDesc();
925         elemField.setFieldName("anyLeftAndRightCategoryIds");
926         elemField.setXmlName(new javax.xml.namespace.QName("", "anyLeftAndRightCategoryIds"));
927         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
928         elemField.setNillable(true);
929         typeDesc.addFieldDesc(elemField);
930         elemField = new org.apache.axis.description.ElementDesc();
931         elemField.setFieldName("anyTagIds");
932         elemField.setXmlName(new javax.xml.namespace.QName("", "anyTagIds"));
933         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
934         elemField.setNillable(true);
935         typeDesc.addFieldDesc(elemField);
936         elemField = new org.apache.axis.description.ElementDesc();
937         elemField.setFieldName("className");
938         elemField.setXmlName(new javax.xml.namespace.QName("", "className"));
939         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
940         elemField.setNillable(true);
941         typeDesc.addFieldDesc(elemField);
942         elemField = new org.apache.axis.description.ElementDesc();
943         elemField.setFieldName("classNameIds");
944         elemField.setXmlName(new javax.xml.namespace.QName("", "classNameIds"));
945         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
946         elemField.setNillable(true);
947         typeDesc.addFieldDesc(elemField);
948         elemField = new org.apache.axis.description.ElementDesc();
949         elemField.setFieldName("end");
950         elemField.setXmlName(new javax.xml.namespace.QName("", "end"));
951         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
952         elemField.setNillable(false);
953         typeDesc.addFieldDesc(elemField);
954         elemField = new org.apache.axis.description.ElementDesc();
955         elemField.setFieldName("excludeZeroViewCount");
956         elemField.setXmlName(new javax.xml.namespace.QName("", "excludeZeroViewCount"));
957         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
958         elemField.setNillable(false);
959         typeDesc.addFieldDesc(elemField);
960         elemField = new org.apache.axis.description.ElementDesc();
961         elemField.setFieldName("expirationDate");
962         elemField.setXmlName(new javax.xml.namespace.QName("", "expirationDate"));
963         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
964         elemField.setNillable(true);
965         typeDesc.addFieldDesc(elemField);
966         elemField = new org.apache.axis.description.ElementDesc();
967         elemField.setFieldName("groupIds");
968         elemField.setXmlName(new javax.xml.namespace.QName("", "groupIds"));
969         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
970         elemField.setNillable(true);
971         typeDesc.addFieldDesc(elemField);
972         elemField = new org.apache.axis.description.ElementDesc();
973         elemField.setFieldName("notAllCategoryIds");
974         elemField.setXmlName(new javax.xml.namespace.QName("", "notAllCategoryIds"));
975         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
976         elemField.setNillable(true);
977         typeDesc.addFieldDesc(elemField);
978         elemField = new org.apache.axis.description.ElementDesc();
979         elemField.setFieldName("notAllLeftAndRightCategoryIds");
980         elemField.setXmlName(new javax.xml.namespace.QName("", "notAllLeftAndRightCategoryIds"));
981         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
982         elemField.setNillable(true);
983         typeDesc.addFieldDesc(elemField);
984         elemField = new org.apache.axis.description.ElementDesc();
985         elemField.setFieldName("notAllTagIds");
986         elemField.setXmlName(new javax.xml.namespace.QName("", "notAllTagIds"));
987         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
988         elemField.setNillable(true);
989         typeDesc.addFieldDesc(elemField);
990         elemField = new org.apache.axis.description.ElementDesc();
991         elemField.setFieldName("notAnyCategoryIds");
992         elemField.setXmlName(new javax.xml.namespace.QName("", "notAnyCategoryIds"));
993         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
994         elemField.setNillable(true);
995         typeDesc.addFieldDesc(elemField);
996         elemField = new org.apache.axis.description.ElementDesc();
997         elemField.setFieldName("notAnyLeftAndRightCategoryIds");
998         elemField.setXmlName(new javax.xml.namespace.QName("", "notAnyLeftAndRightCategoryIds"));
999         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
1000        elemField.setNillable(true);
1001        typeDesc.addFieldDesc(elemField);
1002        elemField = new org.apache.axis.description.ElementDesc();
1003        elemField.setFieldName("notAnyTagIds");
1004        elemField.setXmlName(new javax.xml.namespace.QName("", "notAnyTagIds"));
1005        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
1006        elemField.setNillable(true);
1007        typeDesc.addFieldDesc(elemField);
1008        elemField = new org.apache.axis.description.ElementDesc();
1009        elemField.setFieldName("orderByCol1");
1010        elemField.setXmlName(new javax.xml.namespace.QName("", "orderByCol1"));
1011        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1012        elemField.setNillable(true);
1013        typeDesc.addFieldDesc(elemField);
1014        elemField = new org.apache.axis.description.ElementDesc();
1015        elemField.setFieldName("orderByCol2");
1016        elemField.setXmlName(new javax.xml.namespace.QName("", "orderByCol2"));
1017        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1018        elemField.setNillable(true);
1019        typeDesc.addFieldDesc(elemField);
1020        elemField = new org.apache.axis.description.ElementDesc();
1021        elemField.setFieldName("orderByType1");
1022        elemField.setXmlName(new javax.xml.namespace.QName("", "orderByType1"));
1023        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1024        elemField.setNillable(true);
1025        typeDesc.addFieldDesc(elemField);
1026        elemField = new org.apache.axis.description.ElementDesc();
1027        elemField.setFieldName("orderByType2");
1028        elemField.setXmlName(new javax.xml.namespace.QName("", "orderByType2"));
1029        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1030        elemField.setNillable(true);
1031        typeDesc.addFieldDesc(elemField);
1032        elemField = new org.apache.axis.description.ElementDesc();
1033        elemField.setFieldName("publishDate");
1034        elemField.setXmlName(new javax.xml.namespace.QName("", "publishDate"));
1035        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
1036        elemField.setNillable(true);
1037        typeDesc.addFieldDesc(elemField);
1038        elemField = new org.apache.axis.description.ElementDesc();
1039        elemField.setFieldName("start");
1040        elemField.setXmlName(new javax.xml.namespace.QName("", "start"));
1041        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
1042        elemField.setNillable(false);
1043        typeDesc.addFieldDesc(elemField);
1044        elemField = new org.apache.axis.description.ElementDesc();
1045        elemField.setFieldName("visible");
1046        elemField.setXmlName(new javax.xml.namespace.QName("", "visible"));
1047        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "boolean"));
1048        elemField.setNillable(true);
1049        typeDesc.addFieldDesc(elemField);
1050    }
1051
1052    /**
1053     * Return type metadata object
1054     */
1055    public static org.apache.axis.description.TypeDesc getTypeDesc() {
1056        return typeDesc;
1057    }
1058
1059    /**
1060     * Get Custom Serializer
1061     */
1062    public static org.apache.axis.encoding.Serializer getSerializer(
1063           java.lang.String mechType, 
1064           java.lang.Class _javaType,  
1065           javax.xml.namespace.QName _xmlType) {
1066        return 
1067          new  org.apache.axis.encoding.ser.BeanSerializer(
1068            _javaType, _xmlType, typeDesc);
1069    }
1070
1071    /**
1072     * Get Custom Deserializer
1073     */
1074    public static org.apache.axis.encoding.Deserializer getDeserializer(
1075           java.lang.String mechType, 
1076           java.lang.Class _javaType,  
1077           javax.xml.namespace.QName _xmlType) {
1078        return 
1079          new  org.apache.axis.encoding.ser.BeanDeserializer(
1080            _javaType, _xmlType, typeDesc);
1081    }
1082
1083}
1084