1
7
8 package com.liferay.client.soap.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 int 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 int 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 int getType() {
320 return type;
321 }
322
323
324
329 public void setType(int 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 == other.getType() &&
384 ((this.typeSettings==null && other.getTypeSettings()==null) ||
385 (this.typeSettings!=null &&
386 this.typeSettings.equals(other.getTypeSettings())));
387 __equalsCalc = null;
388 return _equals;
389 }
390
391 private boolean __hashCodeCalc = false;
392 public synchronized int hashCode() {
393 if (__hashCodeCalc) {
394 return 0;
395 }
396 __hashCodeCalc = true;
397 int _hashCode = 1;
398 _hashCode += (isActive() ? Boolean.TRUE : Boolean.FALSE).hashCode();
399 _hashCode += new Long(getClassNameId()).hashCode();
400 _hashCode += new Long(getClassPK()).hashCode();
401 _hashCode += new Long(getCompanyId()).hashCode();
402 _hashCode += new Long(getCreatorUserId()).hashCode();
403 if (getDescription() != null) {
404 _hashCode += getDescription().hashCode();
405 }
406 if (getFriendlyURL() != null) {
407 _hashCode += getFriendlyURL().hashCode();
408 }
409 _hashCode += new Long(getGroupId()).hashCode();
410 _hashCode += new Long(getLiveGroupId()).hashCode();
411 if (getName() != null) {
412 _hashCode += getName().hashCode();
413 }
414 _hashCode += new Long(getParentGroupId()).hashCode();
415 _hashCode += new Long(getPrimaryKey()).hashCode();
416 _hashCode += getType();
417 if (getTypeSettings() != null) {
418 _hashCode += getTypeSettings().hashCode();
419 }
420 __hashCodeCalc = false;
421 return _hashCode;
422 }
423
424 private static org.apache.axis.description.TypeDesc typeDesc =
426 new org.apache.axis.description.TypeDesc(GroupSoap.class, true);
427
428 static {
429 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.portal.liferay.com", "GroupSoap"));
430 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
431 elemField.setFieldName("active");
432 elemField.setXmlName(new javax.xml.namespace.QName("", "active"));
433 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
434 elemField.setNillable(false);
435 typeDesc.addFieldDesc(elemField);
436 elemField = new org.apache.axis.description.ElementDesc();
437 elemField.setFieldName("classNameId");
438 elemField.setXmlName(new javax.xml.namespace.QName("", "classNameId"));
439 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
440 elemField.setNillable(false);
441 typeDesc.addFieldDesc(elemField);
442 elemField = new org.apache.axis.description.ElementDesc();
443 elemField.setFieldName("classPK");
444 elemField.setXmlName(new javax.xml.namespace.QName("", "classPK"));
445 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
446 elemField.setNillable(false);
447 typeDesc.addFieldDesc(elemField);
448 elemField = new org.apache.axis.description.ElementDesc();
449 elemField.setFieldName("companyId");
450 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
451 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
452 elemField.setNillable(false);
453 typeDesc.addFieldDesc(elemField);
454 elemField = new org.apache.axis.description.ElementDesc();
455 elemField.setFieldName("creatorUserId");
456 elemField.setXmlName(new javax.xml.namespace.QName("", "creatorUserId"));
457 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
458 elemField.setNillable(false);
459 typeDesc.addFieldDesc(elemField);
460 elemField = new org.apache.axis.description.ElementDesc();
461 elemField.setFieldName("description");
462 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
463 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
464 elemField.setNillable(true);
465 typeDesc.addFieldDesc(elemField);
466 elemField = new org.apache.axis.description.ElementDesc();
467 elemField.setFieldName("friendlyURL");
468 elemField.setXmlName(new javax.xml.namespace.QName("", "friendlyURL"));
469 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
470 elemField.setNillable(true);
471 typeDesc.addFieldDesc(elemField);
472 elemField = new org.apache.axis.description.ElementDesc();
473 elemField.setFieldName("groupId");
474 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
475 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
476 elemField.setNillable(false);
477 typeDesc.addFieldDesc(elemField);
478 elemField = new org.apache.axis.description.ElementDesc();
479 elemField.setFieldName("liveGroupId");
480 elemField.setXmlName(new javax.xml.namespace.QName("", "liveGroupId"));
481 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
482 elemField.setNillable(false);
483 typeDesc.addFieldDesc(elemField);
484 elemField = new org.apache.axis.description.ElementDesc();
485 elemField.setFieldName("name");
486 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
487 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
488 elemField.setNillable(true);
489 typeDesc.addFieldDesc(elemField);
490 elemField = new org.apache.axis.description.ElementDesc();
491 elemField.setFieldName("parentGroupId");
492 elemField.setXmlName(new javax.xml.namespace.QName("", "parentGroupId"));
493 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
494 elemField.setNillable(false);
495 typeDesc.addFieldDesc(elemField);
496 elemField = new org.apache.axis.description.ElementDesc();
497 elemField.setFieldName("primaryKey");
498 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
499 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
500 elemField.setNillable(false);
501 typeDesc.addFieldDesc(elemField);
502 elemField = new org.apache.axis.description.ElementDesc();
503 elemField.setFieldName("type");
504 elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
505 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
506 elemField.setNillable(false);
507 typeDesc.addFieldDesc(elemField);
508 elemField = new org.apache.axis.description.ElementDesc();
509 elemField.setFieldName("typeSettings");
510 elemField.setXmlName(new javax.xml.namespace.QName("", "typeSettings"));
511 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
512 elemField.setNillable(true);
513 typeDesc.addFieldDesc(elemField);
514 }
515
516
519 public static org.apache.axis.description.TypeDesc getTypeDesc() {
520 return typeDesc;
521 }
522
523
526 public static org.apache.axis.encoding.Serializer getSerializer(
527 java.lang.String mechType,
528 java.lang.Class _javaType,
529 javax.xml.namespace.QName _xmlType) {
530 return
531 new org.apache.axis.encoding.ser.BeanSerializer(
532 _javaType, _xmlType, typeDesc);
533 }
534
535
538 public static org.apache.axis.encoding.Deserializer getDeserializer(
539 java.lang.String mechType,
540 java.lang.Class _javaType,
541 javax.xml.namespace.QName _xmlType) {
542 return
543 new org.apache.axis.encoding.ser.BeanDeserializer(
544 _javaType, _xmlType, typeDesc);
545 }
546
547 }
548