4 * This file was auto-generated from WSDL
5 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
8 package com.pentila.evalcomp.moodlews;
10 public class GroupRecord implements java.io.Serializable {
11 private java.lang.String error;
13 private java.math.BigInteger id;
15 private java.math.BigInteger courseid;
17 private java.lang.String name;
19 private java.lang.String description;
21 private java.lang.String lang;
23 private java.lang.String theme;
25 private java.math.BigInteger picture;
27 private java.math.BigInteger hidepicture;
29 private java.math.BigInteger timecreated;
31 private java.math.BigInteger timemodified;
33 public GroupRecord() {
37 java.lang.String error,
38 java.math.BigInteger id,
39 java.math.BigInteger courseid,
40 java.lang.String name,
41 java.lang.String description,
42 java.lang.String lang,
43 java.lang.String theme,
44 java.math.BigInteger picture,
45 java.math.BigInteger hidepicture,
46 java.math.BigInteger timecreated,
47 java.math.BigInteger timemodified) {
50 this.courseid = courseid;
52 this.description = description;
55 this.picture = picture;
56 this.hidepicture = hidepicture;
57 this.timecreated = timecreated;
58 this.timemodified = timemodified;
63 * Gets the error value for this GroupRecord.
67 public java.lang.String getError() {
73 * Sets the error value for this GroupRecord.
77 public void setError(java.lang.String error) {
83 * Gets the id value for this GroupRecord.
87 public java.math.BigInteger getId() {
93 * Sets the id value for this GroupRecord.
97 public void setId(java.math.BigInteger id) {
103 * Gets the courseid value for this GroupRecord.
107 public java.math.BigInteger getCourseid() {
113 * Sets the courseid value for this GroupRecord.
117 public void setCourseid(java.math.BigInteger courseid) {
118 this.courseid = courseid;
123 * Gets the name value for this GroupRecord.
127 public java.lang.String getName() {
133 * Sets the name value for this GroupRecord.
137 public void setName(java.lang.String name) {
143 * Gets the description value for this GroupRecord.
145 * @return description
147 public java.lang.String getDescription() {
153 * Sets the description value for this GroupRecord.
157 public void setDescription(java.lang.String description) {
158 this.description = description;
163 * Gets the lang value for this GroupRecord.
167 public java.lang.String getLang() {
173 * Sets the lang value for this GroupRecord.
177 public void setLang(java.lang.String lang) {
183 * Gets the theme value for this GroupRecord.
187 public java.lang.String getTheme() {
193 * Sets the theme value for this GroupRecord.
197 public void setTheme(java.lang.String theme) {
203 * Gets the picture value for this GroupRecord.
207 public java.math.BigInteger getPicture() {
213 * Sets the picture value for this GroupRecord.
217 public void setPicture(java.math.BigInteger picture) {
218 this.picture = picture;
223 * Gets the hidepicture value for this GroupRecord.
225 * @return hidepicture
227 public java.math.BigInteger getHidepicture() {
233 * Sets the hidepicture value for this GroupRecord.
237 public void setHidepicture(java.math.BigInteger hidepicture) {
238 this.hidepicture = hidepicture;
243 * Gets the timecreated value for this GroupRecord.
245 * @return timecreated
247 public java.math.BigInteger getTimecreated() {
253 * Sets the timecreated value for this GroupRecord.
257 public void setTimecreated(java.math.BigInteger timecreated) {
258 this.timecreated = timecreated;
263 * Gets the timemodified value for this GroupRecord.
265 * @return timemodified
267 public java.math.BigInteger getTimemodified() {
273 * Sets the timemodified value for this GroupRecord.
275 * @param timemodified
277 public void setTimemodified(java.math.BigInteger timemodified) {
278 this.timemodified = timemodified;
281 private java.lang.Object __equalsCalc = null;
282 public synchronized boolean equals(java.lang.Object obj) {
283 if (!(obj instanceof GroupRecord)) return false;
284 GroupRecord other = (GroupRecord) obj;
285 if (obj == null) return false;
286 if (this == obj) return true;
287 if (__equalsCalc != null) {
288 return (__equalsCalc == obj);
293 ((this.error==null && other.getError()==null) ||
295 this.error.equals(other.getError()))) &&
296 ((this.id==null && other.getId()==null) ||
298 this.id.equals(other.getId()))) &&
299 ((this.courseid==null && other.getCourseid()==null) ||
300 (this.courseid!=null &&
301 this.courseid.equals(other.getCourseid()))) &&
302 ((this.name==null && other.getName()==null) ||
304 this.name.equals(other.getName()))) &&
305 ((this.description==null && other.getDescription()==null) ||
306 (this.description!=null &&
307 this.description.equals(other.getDescription()))) &&
308 ((this.lang==null && other.getLang()==null) ||
310 this.lang.equals(other.getLang()))) &&
311 ((this.theme==null && other.getTheme()==null) ||
313 this.theme.equals(other.getTheme()))) &&
314 ((this.picture==null && other.getPicture()==null) ||
315 (this.picture!=null &&
316 this.picture.equals(other.getPicture()))) &&
317 ((this.hidepicture==null && other.getHidepicture()==null) ||
318 (this.hidepicture!=null &&
319 this.hidepicture.equals(other.getHidepicture()))) &&
320 ((this.timecreated==null && other.getTimecreated()==null) ||
321 (this.timecreated!=null &&
322 this.timecreated.equals(other.getTimecreated()))) &&
323 ((this.timemodified==null && other.getTimemodified()==null) ||
324 (this.timemodified!=null &&
325 this.timemodified.equals(other.getTimemodified())));
330 private boolean __hashCodeCalc = false;
331 public synchronized int hashCode() {
332 if (__hashCodeCalc) {
335 __hashCodeCalc = true;
337 if (getError() != null) {
338 _hashCode += getError().hashCode();
340 if (getId() != null) {
341 _hashCode += getId().hashCode();
343 if (getCourseid() != null) {
344 _hashCode += getCourseid().hashCode();
346 if (getName() != null) {
347 _hashCode += getName().hashCode();
349 if (getDescription() != null) {
350 _hashCode += getDescription().hashCode();
352 if (getLang() != null) {
353 _hashCode += getLang().hashCode();
355 if (getTheme() != null) {
356 _hashCode += getTheme().hashCode();
358 if (getPicture() != null) {
359 _hashCode += getPicture().hashCode();
361 if (getHidepicture() != null) {
362 _hashCode += getHidepicture().hashCode();
364 if (getTimecreated() != null) {
365 _hashCode += getTimecreated().hashCode();
367 if (getTimemodified() != null) {
368 _hashCode += getTimemodified().hashCode();
370 __hashCodeCalc = false;
375 private static org.apache.axis.description.TypeDesc typeDesc =
376 new org.apache.axis.description.TypeDesc(GroupRecord.class, true);
379 typeDesc.setXmlType(new javax.xml.namespace.QName("http://localhost:8890/moodle19/wspp/wsdl", "groupRecord"));
380 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
381 elemField.setFieldName("error");
382 elemField.setXmlName(new javax.xml.namespace.QName("", "error"));
383 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
384 elemField.setNillable(false);
385 typeDesc.addFieldDesc(elemField);
386 elemField = new org.apache.axis.description.ElementDesc();
387 elemField.setFieldName("id");
388 elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
389 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
390 elemField.setNillable(false);
391 typeDesc.addFieldDesc(elemField);
392 elemField = new org.apache.axis.description.ElementDesc();
393 elemField.setFieldName("courseid");
394 elemField.setXmlName(new javax.xml.namespace.QName("", "courseid"));
395 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
396 elemField.setNillable(false);
397 typeDesc.addFieldDesc(elemField);
398 elemField = new org.apache.axis.description.ElementDesc();
399 elemField.setFieldName("name");
400 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
401 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
402 elemField.setNillable(false);
403 typeDesc.addFieldDesc(elemField);
404 elemField = new org.apache.axis.description.ElementDesc();
405 elemField.setFieldName("description");
406 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
407 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
408 elemField.setNillable(false);
409 typeDesc.addFieldDesc(elemField);
410 elemField = new org.apache.axis.description.ElementDesc();
411 elemField.setFieldName("lang");
412 elemField.setXmlName(new javax.xml.namespace.QName("", "lang"));
413 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
414 elemField.setNillable(false);
415 typeDesc.addFieldDesc(elemField);
416 elemField = new org.apache.axis.description.ElementDesc();
417 elemField.setFieldName("theme");
418 elemField.setXmlName(new javax.xml.namespace.QName("", "theme"));
419 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
420 elemField.setNillable(false);
421 typeDesc.addFieldDesc(elemField);
422 elemField = new org.apache.axis.description.ElementDesc();
423 elemField.setFieldName("picture");
424 elemField.setXmlName(new javax.xml.namespace.QName("", "picture"));
425 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
426 elemField.setNillable(false);
427 typeDesc.addFieldDesc(elemField);
428 elemField = new org.apache.axis.description.ElementDesc();
429 elemField.setFieldName("hidepicture");
430 elemField.setXmlName(new javax.xml.namespace.QName("", "hidepicture"));
431 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
432 elemField.setNillable(false);
433 typeDesc.addFieldDesc(elemField);
434 elemField = new org.apache.axis.description.ElementDesc();
435 elemField.setFieldName("timecreated");
436 elemField.setXmlName(new javax.xml.namespace.QName("", "timecreated"));
437 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
438 elemField.setNillable(false);
439 typeDesc.addFieldDesc(elemField);
440 elemField = new org.apache.axis.description.ElementDesc();
441 elemField.setFieldName("timemodified");
442 elemField.setXmlName(new javax.xml.namespace.QName("", "timemodified"));
443 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
444 elemField.setNillable(false);
445 typeDesc.addFieldDesc(elemField);
449 * Return type metadata object
451 public static org.apache.axis.description.TypeDesc getTypeDesc() {
456 * Get Custom Serializer
458 public static org.apache.axis.encoding.Serializer getSerializer(
459 java.lang.String mechType,
460 java.lang.Class _javaType,
461 javax.xml.namespace.QName _xmlType) {
463 new org.apache.axis.encoding.ser.BeanSerializer(
464 _javaType, _xmlType, typeDesc);
468 * Get Custom Deserializer
470 public static org.apache.axis.encoding.Deserializer getDeserializer(
471 java.lang.String mechType,
472 java.lang.Class _javaType,
473 javax.xml.namespace.QName _xmlType) {
475 new org.apache.axis.encoding.ser.BeanDeserializer(
476 _javaType, _xmlType, typeDesc);