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