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 EventRecord implements java.io.Serializable {
11 private java.lang.String error;
13 private java.math.BigInteger id;
15 private java.lang.String name;
17 private java.lang.String description;
19 private java.math.BigInteger format;
21 private java.math.BigInteger courseid;
23 private java.math.BigInteger groupid;
25 private java.math.BigInteger userid;
27 private java.math.BigInteger repeatid;
29 private java.lang.String modulename;
31 private java.math.BigInteger instance;
33 private java.lang.String eventtype;
35 private java.math.BigInteger timestart;
37 private java.math.BigInteger timeduration;
39 private java.math.BigInteger visible;
41 private java.lang.String uuid;
43 private java.math.BigInteger sequence;
45 private java.math.BigInteger timemodified;
47 public EventRecord() {
51 java.lang.String error,
52 java.math.BigInteger id,
53 java.lang.String name,
54 java.lang.String description,
55 java.math.BigInteger format,
56 java.math.BigInteger courseid,
57 java.math.BigInteger groupid,
58 java.math.BigInteger userid,
59 java.math.BigInteger repeatid,
60 java.lang.String modulename,
61 java.math.BigInteger instance,
62 java.lang.String eventtype,
63 java.math.BigInteger timestart,
64 java.math.BigInteger timeduration,
65 java.math.BigInteger visible,
66 java.lang.String uuid,
67 java.math.BigInteger sequence,
68 java.math.BigInteger timemodified) {
72 this.description = description;
74 this.courseid = courseid;
75 this.groupid = groupid;
77 this.repeatid = repeatid;
78 this.modulename = modulename;
79 this.instance = instance;
80 this.eventtype = eventtype;
81 this.timestart = timestart;
82 this.timeduration = timeduration;
83 this.visible = visible;
85 this.sequence = sequence;
86 this.timemodified = timemodified;
91 * Gets the error value for this EventRecord.
95 public java.lang.String getError() {
101 * Sets the error value for this EventRecord.
105 public void setError(java.lang.String error) {
111 * Gets the id value for this EventRecord.
115 public java.math.BigInteger getId() {
121 * Sets the id value for this EventRecord.
125 public void setId(java.math.BigInteger id) {
131 * Gets the name value for this EventRecord.
135 public java.lang.String getName() {
141 * Sets the name value for this EventRecord.
145 public void setName(java.lang.String name) {
151 * Gets the description value for this EventRecord.
153 * @return description
155 public java.lang.String getDescription() {
161 * Sets the description value for this EventRecord.
165 public void setDescription(java.lang.String description) {
166 this.description = description;
171 * Gets the format value for this EventRecord.
175 public java.math.BigInteger getFormat() {
181 * Sets the format value for this EventRecord.
185 public void setFormat(java.math.BigInteger format) {
186 this.format = format;
191 * Gets the courseid value for this EventRecord.
195 public java.math.BigInteger getCourseid() {
201 * Sets the courseid value for this EventRecord.
205 public void setCourseid(java.math.BigInteger courseid) {
206 this.courseid = courseid;
211 * Gets the groupid value for this EventRecord.
215 public java.math.BigInteger getGroupid() {
221 * Sets the groupid value for this EventRecord.
225 public void setGroupid(java.math.BigInteger groupid) {
226 this.groupid = groupid;
231 * Gets the userid value for this EventRecord.
235 public java.math.BigInteger getUserid() {
241 * Sets the userid value for this EventRecord.
245 public void setUserid(java.math.BigInteger userid) {
246 this.userid = userid;
251 * Gets the repeatid value for this EventRecord.
255 public java.math.BigInteger getRepeatid() {
261 * Sets the repeatid value for this EventRecord.
265 public void setRepeatid(java.math.BigInteger repeatid) {
266 this.repeatid = repeatid;
271 * Gets the modulename value for this EventRecord.
275 public java.lang.String getModulename() {
281 * Sets the modulename value for this EventRecord.
285 public void setModulename(java.lang.String modulename) {
286 this.modulename = modulename;
291 * Gets the instance value for this EventRecord.
295 public java.math.BigInteger getInstance() {
301 * Sets the instance value for this EventRecord.
305 public void setInstance(java.math.BigInteger instance) {
306 this.instance = instance;
311 * Gets the eventtype value for this EventRecord.
315 public java.lang.String getEventtype() {
321 * Sets the eventtype value for this EventRecord.
325 public void setEventtype(java.lang.String eventtype) {
326 this.eventtype = eventtype;
331 * Gets the timestart value for this EventRecord.
335 public java.math.BigInteger getTimestart() {
341 * Sets the timestart value for this EventRecord.
345 public void setTimestart(java.math.BigInteger timestart) {
346 this.timestart = timestart;
351 * Gets the timeduration value for this EventRecord.
353 * @return timeduration
355 public java.math.BigInteger getTimeduration() {
361 * Sets the timeduration value for this EventRecord.
363 * @param timeduration
365 public void setTimeduration(java.math.BigInteger timeduration) {
366 this.timeduration = timeduration;
371 * Gets the visible value for this EventRecord.
375 public java.math.BigInteger getVisible() {
381 * Sets the visible value for this EventRecord.
385 public void setVisible(java.math.BigInteger visible) {
386 this.visible = visible;
391 * Gets the uuid value for this EventRecord.
395 public java.lang.String getUuid() {
401 * Sets the uuid value for this EventRecord.
405 public void setUuid(java.lang.String uuid) {
411 * Gets the sequence value for this EventRecord.
415 public java.math.BigInteger getSequence() {
421 * Sets the sequence value for this EventRecord.
425 public void setSequence(java.math.BigInteger sequence) {
426 this.sequence = sequence;
431 * Gets the timemodified value for this EventRecord.
433 * @return timemodified
435 public java.math.BigInteger getTimemodified() {
441 * Sets the timemodified value for this EventRecord.
443 * @param timemodified
445 public void setTimemodified(java.math.BigInteger timemodified) {
446 this.timemodified = timemodified;
449 private java.lang.Object __equalsCalc = null;
450 public synchronized boolean equals(java.lang.Object obj) {
451 if (!(obj instanceof EventRecord)) return false;
452 EventRecord other = (EventRecord) obj;
453 if (obj == null) return false;
454 if (this == obj) return true;
455 if (__equalsCalc != null) {
456 return (__equalsCalc == obj);
461 ((this.error==null && other.getError()==null) ||
463 this.error.equals(other.getError()))) &&
464 ((this.id==null && other.getId()==null) ||
466 this.id.equals(other.getId()))) &&
467 ((this.name==null && other.getName()==null) ||
469 this.name.equals(other.getName()))) &&
470 ((this.description==null && other.getDescription()==null) ||
471 (this.description!=null &&
472 this.description.equals(other.getDescription()))) &&
473 ((this.format==null && other.getFormat()==null) ||
474 (this.format!=null &&
475 this.format.equals(other.getFormat()))) &&
476 ((this.courseid==null && other.getCourseid()==null) ||
477 (this.courseid!=null &&
478 this.courseid.equals(other.getCourseid()))) &&
479 ((this.groupid==null && other.getGroupid()==null) ||
480 (this.groupid!=null &&
481 this.groupid.equals(other.getGroupid()))) &&
482 ((this.userid==null && other.getUserid()==null) ||
483 (this.userid!=null &&
484 this.userid.equals(other.getUserid()))) &&
485 ((this.repeatid==null && other.getRepeatid()==null) ||
486 (this.repeatid!=null &&
487 this.repeatid.equals(other.getRepeatid()))) &&
488 ((this.modulename==null && other.getModulename()==null) ||
489 (this.modulename!=null &&
490 this.modulename.equals(other.getModulename()))) &&
491 ((this.instance==null && other.getInstance()==null) ||
492 (this.instance!=null &&
493 this.instance.equals(other.getInstance()))) &&
494 ((this.eventtype==null && other.getEventtype()==null) ||
495 (this.eventtype!=null &&
496 this.eventtype.equals(other.getEventtype()))) &&
497 ((this.timestart==null && other.getTimestart()==null) ||
498 (this.timestart!=null &&
499 this.timestart.equals(other.getTimestart()))) &&
500 ((this.timeduration==null && other.getTimeduration()==null) ||
501 (this.timeduration!=null &&
502 this.timeduration.equals(other.getTimeduration()))) &&
503 ((this.visible==null && other.getVisible()==null) ||
504 (this.visible!=null &&
505 this.visible.equals(other.getVisible()))) &&
506 ((this.uuid==null && other.getUuid()==null) ||
508 this.uuid.equals(other.getUuid()))) &&
509 ((this.sequence==null && other.getSequence()==null) ||
510 (this.sequence!=null &&
511 this.sequence.equals(other.getSequence()))) &&
512 ((this.timemodified==null && other.getTimemodified()==null) ||
513 (this.timemodified!=null &&
514 this.timemodified.equals(other.getTimemodified())));
519 private boolean __hashCodeCalc = false;
520 public synchronized int hashCode() {
521 if (__hashCodeCalc) {
524 __hashCodeCalc = true;
526 if (getError() != null) {
527 _hashCode += getError().hashCode();
529 if (getId() != null) {
530 _hashCode += getId().hashCode();
532 if (getName() != null) {
533 _hashCode += getName().hashCode();
535 if (getDescription() != null) {
536 _hashCode += getDescription().hashCode();
538 if (getFormat() != null) {
539 _hashCode += getFormat().hashCode();
541 if (getCourseid() != null) {
542 _hashCode += getCourseid().hashCode();
544 if (getGroupid() != null) {
545 _hashCode += getGroupid().hashCode();
547 if (getUserid() != null) {
548 _hashCode += getUserid().hashCode();
550 if (getRepeatid() != null) {
551 _hashCode += getRepeatid().hashCode();
553 if (getModulename() != null) {
554 _hashCode += getModulename().hashCode();
556 if (getInstance() != null) {
557 _hashCode += getInstance().hashCode();
559 if (getEventtype() != null) {
560 _hashCode += getEventtype().hashCode();
562 if (getTimestart() != null) {
563 _hashCode += getTimestart().hashCode();
565 if (getTimeduration() != null) {
566 _hashCode += getTimeduration().hashCode();
568 if (getVisible() != null) {
569 _hashCode += getVisible().hashCode();
571 if (getUuid() != null) {
572 _hashCode += getUuid().hashCode();
574 if (getSequence() != null) {
575 _hashCode += getSequence().hashCode();
577 if (getTimemodified() != null) {
578 _hashCode += getTimemodified().hashCode();
580 __hashCodeCalc = false;
585 private static org.apache.axis.description.TypeDesc typeDesc =
586 new org.apache.axis.description.TypeDesc(EventRecord.class, true);
589 typeDesc.setXmlType(new javax.xml.namespace.QName("http://localhost:8890/moodle19/wspp/wsdl", "eventRecord"));
590 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
591 elemField.setFieldName("error");
592 elemField.setXmlName(new javax.xml.namespace.QName("", "error"));
593 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
594 elemField.setNillable(false);
595 typeDesc.addFieldDesc(elemField);
596 elemField = new org.apache.axis.description.ElementDesc();
597 elemField.setFieldName("id");
598 elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
599 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
600 elemField.setNillable(false);
601 typeDesc.addFieldDesc(elemField);
602 elemField = new org.apache.axis.description.ElementDesc();
603 elemField.setFieldName("name");
604 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
605 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
606 elemField.setNillable(false);
607 typeDesc.addFieldDesc(elemField);
608 elemField = new org.apache.axis.description.ElementDesc();
609 elemField.setFieldName("description");
610 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
611 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
612 elemField.setNillable(false);
613 typeDesc.addFieldDesc(elemField);
614 elemField = new org.apache.axis.description.ElementDesc();
615 elemField.setFieldName("format");
616 elemField.setXmlName(new javax.xml.namespace.QName("", "format"));
617 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
618 elemField.setNillable(false);
619 typeDesc.addFieldDesc(elemField);
620 elemField = new org.apache.axis.description.ElementDesc();
621 elemField.setFieldName("courseid");
622 elemField.setXmlName(new javax.xml.namespace.QName("", "courseid"));
623 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
624 elemField.setNillable(false);
625 typeDesc.addFieldDesc(elemField);
626 elemField = new org.apache.axis.description.ElementDesc();
627 elemField.setFieldName("groupid");
628 elemField.setXmlName(new javax.xml.namespace.QName("", "groupid"));
629 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
630 elemField.setNillable(false);
631 typeDesc.addFieldDesc(elemField);
632 elemField = new org.apache.axis.description.ElementDesc();
633 elemField.setFieldName("userid");
634 elemField.setXmlName(new javax.xml.namespace.QName("", "userid"));
635 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
636 elemField.setNillable(false);
637 typeDesc.addFieldDesc(elemField);
638 elemField = new org.apache.axis.description.ElementDesc();
639 elemField.setFieldName("repeatid");
640 elemField.setXmlName(new javax.xml.namespace.QName("", "repeatid"));
641 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
642 elemField.setNillable(false);
643 typeDesc.addFieldDesc(elemField);
644 elemField = new org.apache.axis.description.ElementDesc();
645 elemField.setFieldName("modulename");
646 elemField.setXmlName(new javax.xml.namespace.QName("", "modulename"));
647 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
648 elemField.setNillable(false);
649 typeDesc.addFieldDesc(elemField);
650 elemField = new org.apache.axis.description.ElementDesc();
651 elemField.setFieldName("instance");
652 elemField.setXmlName(new javax.xml.namespace.QName("", "instance"));
653 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
654 elemField.setNillable(false);
655 typeDesc.addFieldDesc(elemField);
656 elemField = new org.apache.axis.description.ElementDesc();
657 elemField.setFieldName("eventtype");
658 elemField.setXmlName(new javax.xml.namespace.QName("", "eventtype"));
659 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
660 elemField.setNillable(false);
661 typeDesc.addFieldDesc(elemField);
662 elemField = new org.apache.axis.description.ElementDesc();
663 elemField.setFieldName("timestart");
664 elemField.setXmlName(new javax.xml.namespace.QName("", "timestart"));
665 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
666 elemField.setNillable(false);
667 typeDesc.addFieldDesc(elemField);
668 elemField = new org.apache.axis.description.ElementDesc();
669 elemField.setFieldName("timeduration");
670 elemField.setXmlName(new javax.xml.namespace.QName("", "timeduration"));
671 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
672 elemField.setNillable(false);
673 typeDesc.addFieldDesc(elemField);
674 elemField = new org.apache.axis.description.ElementDesc();
675 elemField.setFieldName("visible");
676 elemField.setXmlName(new javax.xml.namespace.QName("", "visible"));
677 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
678 elemField.setNillable(false);
679 typeDesc.addFieldDesc(elemField);
680 elemField = new org.apache.axis.description.ElementDesc();
681 elemField.setFieldName("uuid");
682 elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
683 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
684 elemField.setNillable(false);
685 typeDesc.addFieldDesc(elemField);
686 elemField = new org.apache.axis.description.ElementDesc();
687 elemField.setFieldName("sequence");
688 elemField.setXmlName(new javax.xml.namespace.QName("", "sequence"));
689 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
690 elemField.setNillable(false);
691 typeDesc.addFieldDesc(elemField);
692 elemField = new org.apache.axis.description.ElementDesc();
693 elemField.setFieldName("timemodified");
694 elemField.setXmlName(new javax.xml.namespace.QName("", "timemodified"));
695 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
696 elemField.setNillable(false);
697 typeDesc.addFieldDesc(elemField);
701 * Return type metadata object
703 public static org.apache.axis.description.TypeDesc getTypeDesc() {
708 * Get Custom Serializer
710 public static org.apache.axis.encoding.Serializer getSerializer(
711 java.lang.String mechType,
712 java.lang.Class _javaType,
713 javax.xml.namespace.QName _xmlType) {
715 new org.apache.axis.encoding.ser.BeanSerializer(
716 _javaType, _xmlType, typeDesc);
720 * Get Custom Deserializer
722 public static org.apache.axis.encoding.Deserializer getDeserializer(
723 java.lang.String mechType,
724 java.lang.Class _javaType,
725 javax.xml.namespace.QName _xmlType) {
727 new org.apache.axis.encoding.ser.BeanDeserializer(
728 _javaType, _xmlType, typeDesc);