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 ResourceRecord 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.math.BigInteger course;
19 private java.lang.String type;
21 private java.lang.String reference;
23 private java.lang.String summary;
25 private java.lang.String alltext;
27 private java.lang.String popup;
29 private java.lang.String options;
31 private java.math.BigInteger timemodified;
33 private java.math.BigInteger section;
35 private java.math.BigInteger visible;
37 private java.math.BigInteger groupmode;
39 private java.math.BigInteger coursemodule;
41 private java.lang.String url;
43 private java.lang.String timemodified_ut;
45 public ResourceRecord() {
48 public ResourceRecord(
49 java.lang.String error,
50 java.math.BigInteger id,
51 java.lang.String name,
52 java.math.BigInteger course,
53 java.lang.String type,
54 java.lang.String reference,
55 java.lang.String summary,
56 java.lang.String alltext,
57 java.lang.String popup,
58 java.lang.String options,
59 java.math.BigInteger timemodified,
60 java.math.BigInteger section,
61 java.math.BigInteger visible,
62 java.math.BigInteger groupmode,
63 java.math.BigInteger coursemodule,
65 java.lang.String timemodified_ut) {
71 this.reference = reference;
72 this.summary = summary;
73 this.alltext = alltext;
75 this.options = options;
76 this.timemodified = timemodified;
77 this.section = section;
78 this.visible = visible;
79 this.groupmode = groupmode;
80 this.coursemodule = coursemodule;
82 this.timemodified_ut = timemodified_ut;
87 * Gets the error value for this ResourceRecord.
91 public java.lang.String getError() {
97 * Sets the error value for this ResourceRecord.
101 public void setError(java.lang.String error) {
107 * Gets the id value for this ResourceRecord.
111 public java.math.BigInteger getId() {
117 * Sets the id value for this ResourceRecord.
121 public void setId(java.math.BigInteger id) {
127 * Gets the name value for this ResourceRecord.
131 public java.lang.String getName() {
137 * Sets the name value for this ResourceRecord.
141 public void setName(java.lang.String name) {
147 * Gets the course value for this ResourceRecord.
151 public java.math.BigInteger getCourse() {
157 * Sets the course value for this ResourceRecord.
161 public void setCourse(java.math.BigInteger course) {
162 this.course = course;
167 * Gets the type value for this ResourceRecord.
171 public java.lang.String getType() {
177 * Sets the type value for this ResourceRecord.
181 public void setType(java.lang.String type) {
187 * Gets the reference value for this ResourceRecord.
191 public java.lang.String getReference() {
197 * Sets the reference value for this ResourceRecord.
201 public void setReference(java.lang.String reference) {
202 this.reference = reference;
207 * Gets the summary value for this ResourceRecord.
211 public java.lang.String getSummary() {
217 * Sets the summary value for this ResourceRecord.
221 public void setSummary(java.lang.String summary) {
222 this.summary = summary;
227 * Gets the alltext value for this ResourceRecord.
231 public java.lang.String getAlltext() {
237 * Sets the alltext value for this ResourceRecord.
241 public void setAlltext(java.lang.String alltext) {
242 this.alltext = alltext;
247 * Gets the popup value for this ResourceRecord.
251 public java.lang.String getPopup() {
257 * Sets the popup value for this ResourceRecord.
261 public void setPopup(java.lang.String popup) {
267 * Gets the options value for this ResourceRecord.
271 public java.lang.String getOptions() {
277 * Sets the options value for this ResourceRecord.
281 public void setOptions(java.lang.String options) {
282 this.options = options;
287 * Gets the timemodified value for this ResourceRecord.
289 * @return timemodified
291 public java.math.BigInteger getTimemodified() {
297 * Sets the timemodified value for this ResourceRecord.
299 * @param timemodified
301 public void setTimemodified(java.math.BigInteger timemodified) {
302 this.timemodified = timemodified;
307 * Gets the section value for this ResourceRecord.
311 public java.math.BigInteger getSection() {
317 * Sets the section value for this ResourceRecord.
321 public void setSection(java.math.BigInteger section) {
322 this.section = section;
327 * Gets the visible value for this ResourceRecord.
331 public java.math.BigInteger getVisible() {
337 * Sets the visible value for this ResourceRecord.
341 public void setVisible(java.math.BigInteger visible) {
342 this.visible = visible;
347 * Gets the groupmode value for this ResourceRecord.
351 public java.math.BigInteger getGroupmode() {
357 * Sets the groupmode value for this ResourceRecord.
361 public void setGroupmode(java.math.BigInteger groupmode) {
362 this.groupmode = groupmode;
367 * Gets the coursemodule value for this ResourceRecord.
369 * @return coursemodule
371 public java.math.BigInteger getCoursemodule() {
377 * Sets the coursemodule value for this ResourceRecord.
379 * @param coursemodule
381 public void setCoursemodule(java.math.BigInteger coursemodule) {
382 this.coursemodule = coursemodule;
387 * Gets the url value for this ResourceRecord.
391 public java.lang.String getUrl() {
397 * Sets the url value for this ResourceRecord.
401 public void setUrl(java.lang.String url) {
407 * Gets the timemodified_ut value for this ResourceRecord.
409 * @return timemodified_ut
411 public java.lang.String getTimemodified_ut() {
412 return timemodified_ut;
417 * Sets the timemodified_ut value for this ResourceRecord.
419 * @param timemodified_ut
421 public void setTimemodified_ut(java.lang.String timemodified_ut) {
422 this.timemodified_ut = timemodified_ut;
425 private java.lang.Object __equalsCalc = null;
426 public synchronized boolean equals(java.lang.Object obj) {
427 if (!(obj instanceof ResourceRecord)) return false;
428 ResourceRecord other = (ResourceRecord) obj;
429 if (obj == null) return false;
430 if (this == obj) return true;
431 if (__equalsCalc != null) {
432 return (__equalsCalc == obj);
437 ((this.error==null && other.getError()==null) ||
439 this.error.equals(other.getError()))) &&
440 ((this.id==null && other.getId()==null) ||
442 this.id.equals(other.getId()))) &&
443 ((this.name==null && other.getName()==null) ||
445 this.name.equals(other.getName()))) &&
446 ((this.course==null && other.getCourse()==null) ||
447 (this.course!=null &&
448 this.course.equals(other.getCourse()))) &&
449 ((this.type==null && other.getType()==null) ||
451 this.type.equals(other.getType()))) &&
452 ((this.reference==null && other.getReference()==null) ||
453 (this.reference!=null &&
454 this.reference.equals(other.getReference()))) &&
455 ((this.summary==null && other.getSummary()==null) ||
456 (this.summary!=null &&
457 this.summary.equals(other.getSummary()))) &&
458 ((this.alltext==null && other.getAlltext()==null) ||
459 (this.alltext!=null &&
460 this.alltext.equals(other.getAlltext()))) &&
461 ((this.popup==null && other.getPopup()==null) ||
463 this.popup.equals(other.getPopup()))) &&
464 ((this.options==null && other.getOptions()==null) ||
465 (this.options!=null &&
466 this.options.equals(other.getOptions()))) &&
467 ((this.timemodified==null && other.getTimemodified()==null) ||
468 (this.timemodified!=null &&
469 this.timemodified.equals(other.getTimemodified()))) &&
470 ((this.section==null && other.getSection()==null) ||
471 (this.section!=null &&
472 this.section.equals(other.getSection()))) &&
473 ((this.visible==null && other.getVisible()==null) ||
474 (this.visible!=null &&
475 this.visible.equals(other.getVisible()))) &&
476 ((this.groupmode==null && other.getGroupmode()==null) ||
477 (this.groupmode!=null &&
478 this.groupmode.equals(other.getGroupmode()))) &&
479 ((this.coursemodule==null && other.getCoursemodule()==null) ||
480 (this.coursemodule!=null &&
481 this.coursemodule.equals(other.getCoursemodule()))) &&
482 ((this.url==null && other.getUrl()==null) ||
484 this.url.equals(other.getUrl()))) &&
485 ((this.timemodified_ut==null && other.getTimemodified_ut()==null) ||
486 (this.timemodified_ut!=null &&
487 this.timemodified_ut.equals(other.getTimemodified_ut())));
492 private boolean __hashCodeCalc = false;
493 public synchronized int hashCode() {
494 if (__hashCodeCalc) {
497 __hashCodeCalc = true;
499 if (getError() != null) {
500 _hashCode += getError().hashCode();
502 if (getId() != null) {
503 _hashCode += getId().hashCode();
505 if (getName() != null) {
506 _hashCode += getName().hashCode();
508 if (getCourse() != null) {
509 _hashCode += getCourse().hashCode();
511 if (getType() != null) {
512 _hashCode += getType().hashCode();
514 if (getReference() != null) {
515 _hashCode += getReference().hashCode();
517 if (getSummary() != null) {
518 _hashCode += getSummary().hashCode();
520 if (getAlltext() != null) {
521 _hashCode += getAlltext().hashCode();
523 if (getPopup() != null) {
524 _hashCode += getPopup().hashCode();
526 if (getOptions() != null) {
527 _hashCode += getOptions().hashCode();
529 if (getTimemodified() != null) {
530 _hashCode += getTimemodified().hashCode();
532 if (getSection() != null) {
533 _hashCode += getSection().hashCode();
535 if (getVisible() != null) {
536 _hashCode += getVisible().hashCode();
538 if (getGroupmode() != null) {
539 _hashCode += getGroupmode().hashCode();
541 if (getCoursemodule() != null) {
542 _hashCode += getCoursemodule().hashCode();
544 if (getUrl() != null) {
545 _hashCode += getUrl().hashCode();
547 if (getTimemodified_ut() != null) {
548 _hashCode += getTimemodified_ut().hashCode();
550 __hashCodeCalc = false;
555 private static org.apache.axis.description.TypeDesc typeDesc =
556 new org.apache.axis.description.TypeDesc(ResourceRecord.class, true);
559 typeDesc.setXmlType(new javax.xml.namespace.QName("http://localhost:8890/moodle19/wspp/wsdl", "resourceRecord"));
560 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
561 elemField.setFieldName("error");
562 elemField.setXmlName(new javax.xml.namespace.QName("", "error"));
563 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
564 elemField.setNillable(false);
565 typeDesc.addFieldDesc(elemField);
566 elemField = new org.apache.axis.description.ElementDesc();
567 elemField.setFieldName("id");
568 elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
569 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
570 elemField.setNillable(false);
571 typeDesc.addFieldDesc(elemField);
572 elemField = new org.apache.axis.description.ElementDesc();
573 elemField.setFieldName("name");
574 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
575 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
576 elemField.setNillable(false);
577 typeDesc.addFieldDesc(elemField);
578 elemField = new org.apache.axis.description.ElementDesc();
579 elemField.setFieldName("course");
580 elemField.setXmlName(new javax.xml.namespace.QName("", "course"));
581 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
582 elemField.setNillable(false);
583 typeDesc.addFieldDesc(elemField);
584 elemField = new org.apache.axis.description.ElementDesc();
585 elemField.setFieldName("type");
586 elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
587 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
588 elemField.setNillable(false);
589 typeDesc.addFieldDesc(elemField);
590 elemField = new org.apache.axis.description.ElementDesc();
591 elemField.setFieldName("reference");
592 elemField.setXmlName(new javax.xml.namespace.QName("", "reference"));
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("summary");
598 elemField.setXmlName(new javax.xml.namespace.QName("", "summary"));
599 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
600 elemField.setNillable(false);
601 typeDesc.addFieldDesc(elemField);
602 elemField = new org.apache.axis.description.ElementDesc();
603 elemField.setFieldName("alltext");
604 elemField.setXmlName(new javax.xml.namespace.QName("", "alltext"));
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("popup");
610 elemField.setXmlName(new javax.xml.namespace.QName("", "popup"));
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("options");
616 elemField.setXmlName(new javax.xml.namespace.QName("", "options"));
617 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
618 elemField.setNillable(false);
619 typeDesc.addFieldDesc(elemField);
620 elemField = new org.apache.axis.description.ElementDesc();
621 elemField.setFieldName("timemodified");
622 elemField.setXmlName(new javax.xml.namespace.QName("", "timemodified"));
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("section");
628 elemField.setXmlName(new javax.xml.namespace.QName("", "section"));
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("visible");
634 elemField.setXmlName(new javax.xml.namespace.QName("", "visible"));
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("groupmode");
640 elemField.setXmlName(new javax.xml.namespace.QName("", "groupmode"));
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("coursemodule");
646 elemField.setXmlName(new javax.xml.namespace.QName("", "coursemodule"));
647 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
648 elemField.setNillable(false);
649 typeDesc.addFieldDesc(elemField);
650 elemField = new org.apache.axis.description.ElementDesc();
651 elemField.setFieldName("url");
652 elemField.setXmlName(new javax.xml.namespace.QName("", "url"));
653 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
654 elemField.setNillable(false);
655 typeDesc.addFieldDesc(elemField);
656 elemField = new org.apache.axis.description.ElementDesc();
657 elemField.setFieldName("timemodified_ut");
658 elemField.setXmlName(new javax.xml.namespace.QName("", "timemodified_ut"));
659 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
660 elemField.setNillable(false);
661 typeDesc.addFieldDesc(elemField);
665 * Return type metadata object
667 public static org.apache.axis.description.TypeDesc getTypeDesc() {
672 * Get Custom Serializer
674 public static org.apache.axis.encoding.Serializer getSerializer(
675 java.lang.String mechType,
676 java.lang.Class _javaType,
677 javax.xml.namespace.QName _xmlType) {
679 new org.apache.axis.encoding.ser.BeanSerializer(
680 _javaType, _xmlType, typeDesc);
684 * Get Custom Deserializer
686 public static org.apache.axis.encoding.Deserializer getDeserializer(
687 java.lang.String mechType,
688 java.lang.Class _javaType,
689 javax.xml.namespace.QName _xmlType) {
691 new org.apache.axis.encoding.ser.BeanDeserializer(
692 _javaType, _xmlType, typeDesc);