1   /**
2    * AssetVocabularySoap.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.model;
9   
10  public class AssetVocabularySoap  implements java.io.Serializable {
11      private long companyId;
12  
13      private java.util.Calendar createDate;
14  
15      private java.lang.String description;
16  
17      private long groupId;
18  
19      private java.util.Calendar modifiedDate;
20  
21      private java.lang.String name;
22  
23      private long primaryKey;
24  
25      private java.lang.String settings;
26  
27      private java.lang.String title;
28  
29      private long userId;
30  
31      private java.lang.String userName;
32  
33      private java.lang.String uuid;
34  
35      private long vocabularyId;
36  
37      public AssetVocabularySoap() {
38      }
39  
40      public AssetVocabularySoap(
41             long companyId,
42             java.util.Calendar createDate,
43             java.lang.String description,
44             long groupId,
45             java.util.Calendar modifiedDate,
46             java.lang.String name,
47             long primaryKey,
48             java.lang.String settings,
49             java.lang.String title,
50             long userId,
51             java.lang.String userName,
52             java.lang.String uuid,
53             long vocabularyId) {
54             this.companyId = companyId;
55             this.createDate = createDate;
56             this.description = description;
57             this.groupId = groupId;
58             this.modifiedDate = modifiedDate;
59             this.name = name;
60             this.primaryKey = primaryKey;
61             this.settings = settings;
62             this.title = title;
63             this.userId = userId;
64             this.userName = userName;
65             this.uuid = uuid;
66             this.vocabularyId = vocabularyId;
67      }
68  
69  
70      /**
71       * Gets the companyId value for this AssetVocabularySoap.
72       * 
73       * @return companyId
74       */
75      public long getCompanyId() {
76          return companyId;
77      }
78  
79  
80      /**
81       * Sets the companyId value for this AssetVocabularySoap.
82       * 
83       * @param companyId
84       */
85      public void setCompanyId(long companyId) {
86          this.companyId = companyId;
87      }
88  
89  
90      /**
91       * Gets the createDate value for this AssetVocabularySoap.
92       * 
93       * @return createDate
94       */
95      public java.util.Calendar getCreateDate() {
96          return createDate;
97      }
98  
99  
100     /**
101      * Sets the createDate value for this AssetVocabularySoap.
102      * 
103      * @param createDate
104      */
105     public void setCreateDate(java.util.Calendar createDate) {
106         this.createDate = createDate;
107     }
108 
109 
110     /**
111      * Gets the description value for this AssetVocabularySoap.
112      * 
113      * @return description
114      */
115     public java.lang.String getDescription() {
116         return description;
117     }
118 
119 
120     /**
121      * Sets the description value for this AssetVocabularySoap.
122      * 
123      * @param description
124      */
125     public void setDescription(java.lang.String description) {
126         this.description = description;
127     }
128 
129 
130     /**
131      * Gets the groupId value for this AssetVocabularySoap.
132      * 
133      * @return groupId
134      */
135     public long getGroupId() {
136         return groupId;
137     }
138 
139 
140     /**
141      * Sets the groupId value for this AssetVocabularySoap.
142      * 
143      * @param groupId
144      */
145     public void setGroupId(long groupId) {
146         this.groupId = groupId;
147     }
148 
149 
150     /**
151      * Gets the modifiedDate value for this AssetVocabularySoap.
152      * 
153      * @return modifiedDate
154      */
155     public java.util.Calendar getModifiedDate() {
156         return modifiedDate;
157     }
158 
159 
160     /**
161      * Sets the modifiedDate value for this AssetVocabularySoap.
162      * 
163      * @param modifiedDate
164      */
165     public void setModifiedDate(java.util.Calendar modifiedDate) {
166         this.modifiedDate = modifiedDate;
167     }
168 
169 
170     /**
171      * Gets the name value for this AssetVocabularySoap.
172      * 
173      * @return name
174      */
175     public java.lang.String getName() {
176         return name;
177     }
178 
179 
180     /**
181      * Sets the name value for this AssetVocabularySoap.
182      * 
183      * @param name
184      */
185     public void setName(java.lang.String name) {
186         this.name = name;
187     }
188 
189 
190     /**
191      * Gets the primaryKey value for this AssetVocabularySoap.
192      * 
193      * @return primaryKey
194      */
195     public long getPrimaryKey() {
196         return primaryKey;
197     }
198 
199 
200     /**
201      * Sets the primaryKey value for this AssetVocabularySoap.
202      * 
203      * @param primaryKey
204      */
205     public void setPrimaryKey(long primaryKey) {
206         this.primaryKey = primaryKey;
207     }
208 
209 
210     /**
211      * Gets the settings value for this AssetVocabularySoap.
212      * 
213      * @return settings
214      */
215     public java.lang.String getSettings() {
216         return settings;
217     }
218 
219 
220     /**
221      * Sets the settings value for this AssetVocabularySoap.
222      * 
223      * @param settings
224      */
225     public void setSettings(java.lang.String settings) {
226         this.settings = settings;
227     }
228 
229 
230     /**
231      * Gets the title value for this AssetVocabularySoap.
232      * 
233      * @return title
234      */
235     public java.lang.String getTitle() {
236         return title;
237     }
238 
239 
240     /**
241      * Sets the title value for this AssetVocabularySoap.
242      * 
243      * @param title
244      */
245     public void setTitle(java.lang.String title) {
246         this.title = title;
247     }
248 
249 
250     /**
251      * Gets the userId value for this AssetVocabularySoap.
252      * 
253      * @return userId
254      */
255     public long getUserId() {
256         return userId;
257     }
258 
259 
260     /**
261      * Sets the userId value for this AssetVocabularySoap.
262      * 
263      * @param userId
264      */
265     public void setUserId(long userId) {
266         this.userId = userId;
267     }
268 
269 
270     /**
271      * Gets the userName value for this AssetVocabularySoap.
272      * 
273      * @return userName
274      */
275     public java.lang.String getUserName() {
276         return userName;
277     }
278 
279 
280     /**
281      * Sets the userName value for this AssetVocabularySoap.
282      * 
283      * @param userName
284      */
285     public void setUserName(java.lang.String userName) {
286         this.userName = userName;
287     }
288 
289 
290     /**
291      * Gets the uuid value for this AssetVocabularySoap.
292      * 
293      * @return uuid
294      */
295     public java.lang.String getUuid() {
296         return uuid;
297     }
298 
299 
300     /**
301      * Sets the uuid value for this AssetVocabularySoap.
302      * 
303      * @param uuid
304      */
305     public void setUuid(java.lang.String uuid) {
306         this.uuid = uuid;
307     }
308 
309 
310     /**
311      * Gets the vocabularyId value for this AssetVocabularySoap.
312      * 
313      * @return vocabularyId
314      */
315     public long getVocabularyId() {
316         return vocabularyId;
317     }
318 
319 
320     /**
321      * Sets the vocabularyId value for this AssetVocabularySoap.
322      * 
323      * @param vocabularyId
324      */
325     public void setVocabularyId(long vocabularyId) {
326         this.vocabularyId = vocabularyId;
327     }
328 
329     private java.lang.Object __equalsCalc = null;
330     public synchronized boolean equals(java.lang.Object obj) {
331         if (!(obj instanceof AssetVocabularySoap)) return false;
332         AssetVocabularySoap other = (AssetVocabularySoap) obj;
333         if (obj == null) return false;
334         if (this == obj) return true;
335         if (__equalsCalc != null) {
336             return (__equalsCalc == obj);
337         }
338         __equalsCalc = obj;
339         boolean _equals;
340         _equals = true && 
341             this.companyId == other.getCompanyId() &&
342             ((this.createDate==null && other.getCreateDate()==null) || 
343              (this.createDate!=null &&
344               this.createDate.equals(other.getCreateDate()))) &&
345             ((this.description==null && other.getDescription()==null) || 
346              (this.description!=null &&
347               this.description.equals(other.getDescription()))) &&
348             this.groupId == other.getGroupId() &&
349             ((this.modifiedDate==null && other.getModifiedDate()==null) || 
350              (this.modifiedDate!=null &&
351               this.modifiedDate.equals(other.getModifiedDate()))) &&
352             ((this.name==null && other.getName()==null) || 
353              (this.name!=null &&
354               this.name.equals(other.getName()))) &&
355             this.primaryKey == other.getPrimaryKey() &&
356             ((this.settings==null && other.getSettings()==null) || 
357              (this.settings!=null &&
358               this.settings.equals(other.getSettings()))) &&
359             ((this.title==null && other.getTitle()==null) || 
360              (this.title!=null &&
361               this.title.equals(other.getTitle()))) &&
362             this.userId == other.getUserId() &&
363             ((this.userName==null && other.getUserName()==null) || 
364              (this.userName!=null &&
365               this.userName.equals(other.getUserName()))) &&
366             ((this.uuid==null && other.getUuid()==null) || 
367              (this.uuid!=null &&
368               this.uuid.equals(other.getUuid()))) &&
369             this.vocabularyId == other.getVocabularyId();
370         __equalsCalc = null;
371         return _equals;
372     }
373 
374     private boolean __hashCodeCalc = false;
375     public synchronized int hashCode() {
376         if (__hashCodeCalc) {
377             return 0;
378         }
379         __hashCodeCalc = true;
380         int _hashCode = 1;
381         _hashCode += new Long(getCompanyId()).hashCode();
382         if (getCreateDate() != null) {
383             _hashCode += getCreateDate().hashCode();
384         }
385         if (getDescription() != null) {
386             _hashCode += getDescription().hashCode();
387         }
388         _hashCode += new Long(getGroupId()).hashCode();
389         if (getModifiedDate() != null) {
390             _hashCode += getModifiedDate().hashCode();
391         }
392         if (getName() != null) {
393             _hashCode += getName().hashCode();
394         }
395         _hashCode += new Long(getPrimaryKey()).hashCode();
396         if (getSettings() != null) {
397             _hashCode += getSettings().hashCode();
398         }
399         if (getTitle() != null) {
400             _hashCode += getTitle().hashCode();
401         }
402         _hashCode += new Long(getUserId()).hashCode();
403         if (getUserName() != null) {
404             _hashCode += getUserName().hashCode();
405         }
406         if (getUuid() != null) {
407             _hashCode += getUuid().hashCode();
408         }
409         _hashCode += new Long(getVocabularyId()).hashCode();
410         __hashCodeCalc = false;
411         return _hashCode;
412     }
413 
414     // Type metadata
415     private static org.apache.axis.description.TypeDesc typeDesc =
416         new org.apache.axis.description.TypeDesc(AssetVocabularySoap.class, true);
417 
418     static {
419         typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.asset.portlet.liferay.com", "AssetVocabularySoap"));
420         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
421         elemField.setFieldName("companyId");
422         elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
423         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
424         elemField.setNillable(false);
425         typeDesc.addFieldDesc(elemField);
426         elemField = new org.apache.axis.description.ElementDesc();
427         elemField.setFieldName("createDate");
428         elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
429         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
430         elemField.setNillable(true);
431         typeDesc.addFieldDesc(elemField);
432         elemField = new org.apache.axis.description.ElementDesc();
433         elemField.setFieldName("description");
434         elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
435         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
436         elemField.setNillable(true);
437         typeDesc.addFieldDesc(elemField);
438         elemField = new org.apache.axis.description.ElementDesc();
439         elemField.setFieldName("groupId");
440         elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
441         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
442         elemField.setNillable(false);
443         typeDesc.addFieldDesc(elemField);
444         elemField = new org.apache.axis.description.ElementDesc();
445         elemField.setFieldName("modifiedDate");
446         elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
447         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
448         elemField.setNillable(true);
449         typeDesc.addFieldDesc(elemField);
450         elemField = new org.apache.axis.description.ElementDesc();
451         elemField.setFieldName("name");
452         elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
453         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
454         elemField.setNillable(true);
455         typeDesc.addFieldDesc(elemField);
456         elemField = new org.apache.axis.description.ElementDesc();
457         elemField.setFieldName("primaryKey");
458         elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
459         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
460         elemField.setNillable(false);
461         typeDesc.addFieldDesc(elemField);
462         elemField = new org.apache.axis.description.ElementDesc();
463         elemField.setFieldName("settings");
464         elemField.setXmlName(new javax.xml.namespace.QName("", "settings"));
465         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
466         elemField.setNillable(true);
467         typeDesc.addFieldDesc(elemField);
468         elemField = new org.apache.axis.description.ElementDesc();
469         elemField.setFieldName("title");
470         elemField.setXmlName(new javax.xml.namespace.QName("", "title"));
471         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
472         elemField.setNillable(true);
473         typeDesc.addFieldDesc(elemField);
474         elemField = new org.apache.axis.description.ElementDesc();
475         elemField.setFieldName("userId");
476         elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
477         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
478         elemField.setNillable(false);
479         typeDesc.addFieldDesc(elemField);
480         elemField = new org.apache.axis.description.ElementDesc();
481         elemField.setFieldName("userName");
482         elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
483         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
484         elemField.setNillable(true);
485         typeDesc.addFieldDesc(elemField);
486         elemField = new org.apache.axis.description.ElementDesc();
487         elemField.setFieldName("uuid");
488         elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
489         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
490         elemField.setNillable(true);
491         typeDesc.addFieldDesc(elemField);
492         elemField = new org.apache.axis.description.ElementDesc();
493         elemField.setFieldName("vocabularyId");
494         elemField.setXmlName(new javax.xml.namespace.QName("", "vocabularyId"));
495         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
496         elemField.setNillable(false);
497         typeDesc.addFieldDesc(elemField);
498     }
499 
500     /**
501      * Return type metadata object
502      */
503     public static org.apache.axis.description.TypeDesc getTypeDesc() {
504         return typeDesc;
505     }
506 
507     /**
508      * Get Custom Serializer
509      */
510     public static org.apache.axis.encoding.Serializer getSerializer(
511            java.lang.String mechType, 
512            java.lang.Class _javaType,  
513            javax.xml.namespace.QName _xmlType) {
514         return 
515           new  org.apache.axis.encoding.ser.BeanSerializer(
516             _javaType, _xmlType, typeDesc);
517     }
518 
519     /**
520      * Get Custom Deserializer
521      */
522     public static org.apache.axis.encoding.Deserializer getDeserializer(
523            java.lang.String mechType, 
524            java.lang.Class _javaType,  
525            javax.xml.namespace.QName _xmlType) {
526         return 
527           new  org.apache.axis.encoding.ser.BeanDeserializer(
528             _javaType, _xmlType, typeDesc);
529     }
530 
531 }
532