1
7
8 package com.liferay.client.portal.model;
9
10 public class GroupSoap implements java.io.Serializable {
11 private boolean active;
12
13 private long classNameId;
14
15 private long classPK;
16
17 private long companyId;
18
19 private long creatorUserId;
20
21 private java.lang.String description;
22
23 private java.lang.String friendlyURL;
24
25 private long groupId;
26
27 private long liveGroupId;
28
29 private java.lang.String name;
30
31 private long parentGroupId;
32
33 private long primaryKey;
34
35 private java.lang.String type;
36
37 private java.lang.String typeSettings;
38
39 public GroupSoap() {
40 }
41
42 public GroupSoap(
43 boolean active,
44 long classNameId,
45 long classPK,
46 long companyId,
47 long creatorUserId,
48 java.lang.String description,
49 java.lang.String friendlyURL,
50 long groupId,
51 long liveGroupId,
52 java.lang.String name,
53 long parentGroupId,
54 long primaryKey,
55 java.lang.String type,
56 java.lang.String typeSettings) {
57 this.active = active;
58 this.classNameId = classNameId;
59 this.classPK = classPK;
60 this.companyId = companyId;
61 this.creatorUserId = creatorUserId;
62 this.description = description;
63 this.friendlyURL = friendlyURL;
64 this.groupId = groupId;
65 this.liveGroupId = liveGroupId;
66 this.name = name;
67 this.parentGroupId = parentGroupId;
68 this.primaryKey = primaryKey;
69 this.type = type;
70 this.typeSettings = typeSettings;
71 }
72
73
74
79 public boolean isActive() {
80 return active;
81 }
82
83
84
89 public void setActive(boolean active) {
90 this.active = active;
91 }
92
93
94
99 public long getClassNameId() {
100 return classNameId;
101 }
102
103
104
109 public void setClassNameId(long classNameId) {
110 this.classNameId = classNameId;
111 }
112
113
114
119 public long getClassPK() {
120 return classPK;
121 }
122
123
124
129 public void setClassPK(long classPK) {
130 this.classPK = classPK;
131 }
132
133
134
139 public long getCompanyId() {
140 return companyId;
141 }
142
143
144
149 public void setCompanyId(long companyId) {
150 this.companyId = companyId;
151 }
152
153
154
159 public long getCreatorUserId() {
160 return creatorUserId;
161 }
162
163
164
169 public void setCreatorUserId(long creatorUserId) {
170 this.creatorUserId = creatorUserId;
171 }
172
173
174
179 public java.lang.String getDescription() {
180 return description;
181 }
182
183
184
189 public void setDescription(java.lang.String description) {
190 this.description = description;
191 }
192
193
194
199 public java.lang.String getFriendlyURL() {
200 return friendlyURL;
201 }
202
203
204
209 public void setFriendlyURL(java.lang.String friendlyURL) {
210 this.friendlyURL = friendlyURL;
211 }
212
213
214
219 public long getGroupId() {
220 return groupId;
221 }
222
223
224
229 public void setGroupId(long groupId) {
230 this.groupId = groupId;
231 }
232
233
234
239 public long getLiveGroupId() {
240 return liveGroupId;
241 }
242
243
244
249 public void setLiveGroupId(long liveGroupId) {
250 this.liveGroupId = liveGroupId;
251 }
252
253
254
259 public java.lang.String getName() {
260 return name;
261 }
262
263
264
269 public void setName(java.lang.String name) {
270 this.name = name;
271 }
272
273
274
279 public long getParentGroupId() {
280 return parentGroupId;
281 }
282
283
284
289 public void setParentGroupId(long parentGroupId) {
290 this.parentGroupId = parentGroupId;
291 }
292
293
294
299 public long getPrimaryKey() {
300 return primaryKey;
301 }
302
303
304
309 public void setPrimaryKey(long primaryKey) {
310 this.primaryKey = primaryKey;
311 }
312
313
314
319 public java.lang.String getType() {
320 return type;
321 }
322
323
324
329 public void setType(java.lang.String type) {
330 this.type = type;
331 }
332
333
334
339 public java.lang.String getTypeSettings() {
340 return typeSettings;
341 }
342
343
344
349 public void setTypeSettings(java.lang.String typeSettings) {
350 this.typeSettings = typeSettings;
351 }
352
353 private java.lang.Object __equalsCalc = null;
354 public synchronized boolean equals(java.lang.Object obj) {
355 if (!(obj instanceof GroupSoap)) return false;
356 GroupSoap other = (GroupSoap) obj;
357 if (obj == null) return false;
358 if (this == obj) return true;
359 if (__equalsCalc != null) {
360 return (__equalsCalc == obj);
361 }
362 __equalsCalc = obj;
363 boolean _equals;
364 _equals = true &&
365 this.active == other.isActive() &&
366 this.classNameId == other.getClassNameId() &&
367 this.classPK == other.getClassPK() &&
368 this.companyId == other.getCompanyId() &&
369 this.creatorUserId == other.getCreatorUserId() &&
370 ((this.description==null && other.getDescription()==null) ||
371 (this.description!=null &&
372 this.description.equals(other.getDescription()))) &&
373 ((this.friendlyURL==null && other.getFriendlyURL()==null) ||
374 (this.friendlyURL!=null &&
375 this.friendlyURL.equals(other.getFriendlyURL()))) &&
376 this.groupId == other.getGroupId() &&
377 this.liveGroupId == other.getLiveGroupId() &&
378 ((this.name==null && other.getName()==null) ||
379 (this.name!=null &&
380 this.name.equals(other.getName()))) &&
381 this.parentGroupId == other.getParentGroupId() &&
382 this.primaryKey == other.getPrimaryKey() &&
383 ((this.type==null && other.getType()==null) ||
384 (this.type!=null &&
385 this.type.equals(other.getType()))) &&
386 ((this.typeSettings==null && other.getTypeSettings()==null) ||
387 (this.typeSettings!=null &&
388 this.typeSettings.equals(other.getTypeSettings())));
389 __equalsCalc = null;
390 return _equals;
391 }
392
393 private boolean __hashCodeCalc = false;
394 public synchronized int hashCode() {
395 if (__hashCodeCalc) {
396 return 0;
397 }
398 __hashCodeCalc = true;
399 int _hashCode = 1;
400 _hashCode += (isActive() ? Boolean.TRUE : Boolean.FALSE).hashCode();
401 _hashCode += new Long(getClassNameId()).hashCode();
402 _hashCode += new Long(getClassPK()).hashCode();
403 _hashCode += new Long(getCompanyId()).hashCode();
404 _hashCode += new Long(getCreatorUserId()).hashCode();
405 if (getDescription() != null) {
406 _hashCode += getDescription().hashCode();
407 }
408 if (getFriendlyURL() != null) {
409 _hashCode += getFriendlyURL().hashCode();
410 }
411 _hashCode += new Long(getGroupId()).hashCode();
412 _hashCode += new Long(getLiveGroupId()).hashCode();
413 if (getName() != null) {
414 _hashCode += getName().hashCode();
415 }
416 _hashCode += new Long(getParentGroupId()).hashCode();
417 _hashCode += new Long(getPrimaryKey()).hashCode();
418 if (getType() != null) {
419 _hashCode += getType().hashCode();
420 }
421 if (getTypeSettings() != null) {
422 _hashCode += getTypeSettings().hashCode();
423 }
424 __hashCodeCalc = false;
425 return _hashCode;
426 }
427
428 private static org.apache.axis.description.TypeDesc typeDesc =
430 new org.apache.axis.description.TypeDesc(GroupSoap.class, true);
431
432 static {
433 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.portal.liferay.com", "GroupSoap"));
434 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
435 elemField.setFieldName("active");
436 elemField.setXmlName(new javax.xml.namespace.QName("", "active"));
437 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
438 elemField.setNillable(false);
439 typeDesc.addFieldDesc(elemField);
440 elemField = new org.apache.axis.description.ElementDesc();
441 elemField.setFieldName("classNameId");
442 elemField.setXmlName(new javax.xml.namespace.QName("", "classNameId"));
443 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
444 elemField.setNillable(false);
445 typeDesc.addFieldDesc(elemField);
446 elemField = new org.apache.axis.description.ElementDesc();
447 elemField.setFieldName("classPK");
448 elemField.setXmlName(new javax.xml.namespace.QName("", "classPK"));
449 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
450 elemField.setNillable(false);
451 typeDesc.addFieldDesc(elemField);
452 elemField = new org.apache.axis.description.ElementDesc();
453 elemField.setFieldName("companyId");
454 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
455 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
456 elemField.setNillable(false);
457 typeDesc.addFieldDesc(elemField);
458 elemField = new org.apache.axis.description.ElementDesc();
459 elemField.setFieldName("creatorUserId");
460 elemField.setXmlName(new javax.xml.namespace.QName("", "creatorUserId"));
461 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
462 elemField.setNillable(false);
463 typeDesc.addFieldDesc(elemField);
464 elemField = new org.apache.axis.description.ElementDesc();
465 elemField.setFieldName("description");
466 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
467 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
468 elemField.setNillable(true);
469 typeDesc.addFieldDesc(elemField);
470 elemField = new org.apache.axis.description.ElementDesc();
471 elemField.setFieldName("friendlyURL");
472 elemField.setXmlName(new javax.xml.namespace.QName("", "friendlyURL"));
473 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
474 elemField.setNillable(true);
475 typeDesc.addFieldDesc(elemField);
476 elemField = new org.apache.axis.description.ElementDesc();
477 elemField.setFieldName("groupId");
478 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
479 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
480 elemField.setNillable(false);
481 typeDesc.addFieldDesc(elemField);
482 elemField = new org.apache.axis.description.ElementDesc();
483 elemField.setFieldName("liveGroupId");
484 elemField.setXmlName(new javax.xml.namespace.QName("", "liveGroupId"));
485 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
486 elemField.setNillable(false);
487 typeDesc.addFieldDesc(elemField);
488 elemField = new org.apache.axis.description.ElementDesc();
489 elemField.setFieldName("name");
490 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
491 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
492 elemField.setNillable(true);
493 typeDesc.addFieldDesc(elemField);
494 elemField = new org.apache.axis.description.ElementDesc();
495 elemField.setFieldName("parentGroupId");
496 elemField.setXmlName(new javax.xml.namespace.QName("", "parentGroupId"));
497 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
498 elemField.setNillable(false);
499 typeDesc.addFieldDesc(elemField);
500 elemField = new org.apache.axis.description.ElementDesc();
501 elemField.setFieldName("primaryKey");
502 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
503 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
504 elemField.setNillable(false);
505 typeDesc.addFieldDesc(elemField);
506 elemField = new org.apache.axis.description.ElementDesc();
507 elemField.setFieldName("type");
508 elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
509 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
510 elemField.setNillable(true);
511 typeDesc.addFieldDesc(elemField);
512 elemField = new org.apache.axis.description.ElementDesc();
513 elemField.setFieldName("typeSettings");
514 elemField.setXmlName(new javax.xml.namespace.QName("", "typeSettings"));
515 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
516 elemField.setNillable(true);
517 typeDesc.addFieldDesc(elemField);
518 }
519
520
523 public static org.apache.axis.description.TypeDesc getTypeDesc() {
524 return typeDesc;
525 }
526
527
530 public static org.apache.axis.encoding.Serializer getSerializer(
531 java.lang.String mechType,
532 java.lang.Class _javaType,
533 javax.xml.namespace.QName _xmlType) {
534 return
535 new org.apache.axis.encoding.ser.BeanSerializer(
536 _javaType, _xmlType, typeDesc);
537 }
538
539
542 public static org.apache.axis.encoding.Deserializer getDeserializer(
543 java.lang.String mechType,
544 java.lang.Class _javaType,
545 javax.xml.namespace.QName _xmlType) {
546 return
547 new org.apache.axis.encoding.ser.BeanDeserializer(
548 _javaType, _xmlType, typeDesc);
549 }
550
551 }
552