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 ChangeRecord 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.math.BigInteger instance;
19 private java.math.BigInteger resid;
21 private java.lang.String name;
23 private java.lang.String date;
25 private java.math.BigInteger timestamp;
27 private java.lang.String type;
29 private java.lang.String author;
31 private java.lang.String link;
33 private java.lang.String url;
35 private java.math.BigInteger visible;
37 public ChangeRecord() {
41 java.lang.String error,
42 java.math.BigInteger id,
43 java.math.BigInteger courseid,
44 java.math.BigInteger instance,
45 java.math.BigInteger resid,
46 java.lang.String name,
47 java.lang.String date,
48 java.math.BigInteger timestamp,
49 java.lang.String type,
50 java.lang.String author,
51 java.lang.String link,
53 java.math.BigInteger visible) {
56 this.courseid = courseid;
57 this.instance = instance;
61 this.timestamp = timestamp;
66 this.visible = visible;
71 * Gets the error value for this ChangeRecord.
75 public java.lang.String getError() {
81 * Sets the error value for this ChangeRecord.
85 public void setError(java.lang.String error) {
91 * Gets the id value for this ChangeRecord.
95 public java.math.BigInteger getId() {
101 * Sets the id value for this ChangeRecord.
105 public void setId(java.math.BigInteger id) {
111 * Gets the courseid value for this ChangeRecord.
115 public java.math.BigInteger getCourseid() {
121 * Sets the courseid value for this ChangeRecord.
125 public void setCourseid(java.math.BigInteger courseid) {
126 this.courseid = courseid;
131 * Gets the instance value for this ChangeRecord.
135 public java.math.BigInteger getInstance() {
141 * Sets the instance value for this ChangeRecord.
145 public void setInstance(java.math.BigInteger instance) {
146 this.instance = instance;
151 * Gets the resid value for this ChangeRecord.
155 public java.math.BigInteger getResid() {
161 * Sets the resid value for this ChangeRecord.
165 public void setResid(java.math.BigInteger resid) {
171 * Gets the name value for this ChangeRecord.
175 public java.lang.String getName() {
181 * Sets the name value for this ChangeRecord.
185 public void setName(java.lang.String name) {
191 * Gets the date value for this ChangeRecord.
195 public java.lang.String getDate() {
201 * Sets the date value for this ChangeRecord.
205 public void setDate(java.lang.String date) {
211 * Gets the timestamp value for this ChangeRecord.
215 public java.math.BigInteger getTimestamp() {
221 * Sets the timestamp value for this ChangeRecord.
225 public void setTimestamp(java.math.BigInteger timestamp) {
226 this.timestamp = timestamp;
231 * Gets the type value for this ChangeRecord.
235 public java.lang.String getType() {
241 * Sets the type value for this ChangeRecord.
245 public void setType(java.lang.String type) {
251 * Gets the author value for this ChangeRecord.
255 public java.lang.String getAuthor() {
261 * Sets the author value for this ChangeRecord.
265 public void setAuthor(java.lang.String author) {
266 this.author = author;
271 * Gets the link value for this ChangeRecord.
275 public java.lang.String getLink() {
281 * Sets the link value for this ChangeRecord.
285 public void setLink(java.lang.String link) {
291 * Gets the url value for this ChangeRecord.
295 public java.lang.String getUrl() {
301 * Sets the url value for this ChangeRecord.
305 public void setUrl(java.lang.String url) {
311 * Gets the visible value for this ChangeRecord.
315 public java.math.BigInteger getVisible() {
321 * Sets the visible value for this ChangeRecord.
325 public void setVisible(java.math.BigInteger visible) {
326 this.visible = visible;
329 private java.lang.Object __equalsCalc = null;
330 public synchronized boolean equals(java.lang.Object obj) {
331 if (!(obj instanceof ChangeRecord)) return false;
332 ChangeRecord other = (ChangeRecord) obj;
333 if (obj == null) return false;
334 if (this == obj) return true;
335 if (__equalsCalc != null) {
336 return (__equalsCalc == obj);
341 ((this.error==null && other.getError()==null) ||
343 this.error.equals(other.getError()))) &&
344 ((this.id==null && other.getId()==null) ||
346 this.id.equals(other.getId()))) &&
347 ((this.courseid==null && other.getCourseid()==null) ||
348 (this.courseid!=null &&
349 this.courseid.equals(other.getCourseid()))) &&
350 ((this.instance==null && other.getInstance()==null) ||
351 (this.instance!=null &&
352 this.instance.equals(other.getInstance()))) &&
353 ((this.resid==null && other.getResid()==null) ||
355 this.resid.equals(other.getResid()))) &&
356 ((this.name==null && other.getName()==null) ||
358 this.name.equals(other.getName()))) &&
359 ((this.date==null && other.getDate()==null) ||
361 this.date.equals(other.getDate()))) &&
362 ((this.timestamp==null && other.getTimestamp()==null) ||
363 (this.timestamp!=null &&
364 this.timestamp.equals(other.getTimestamp()))) &&
365 ((this.type==null && other.getType()==null) ||
367 this.type.equals(other.getType()))) &&
368 ((this.author==null && other.getAuthor()==null) ||
369 (this.author!=null &&
370 this.author.equals(other.getAuthor()))) &&
371 ((this.link==null && other.getLink()==null) ||
373 this.link.equals(other.getLink()))) &&
374 ((this.url==null && other.getUrl()==null) ||
376 this.url.equals(other.getUrl()))) &&
377 ((this.visible==null && other.getVisible()==null) ||
378 (this.visible!=null &&
379 this.visible.equals(other.getVisible())));
384 private boolean __hashCodeCalc = false;
385 public synchronized int hashCode() {
386 if (__hashCodeCalc) {
389 __hashCodeCalc = true;
391 if (getError() != null) {
392 _hashCode += getError().hashCode();
394 if (getId() != null) {
395 _hashCode += getId().hashCode();
397 if (getCourseid() != null) {
398 _hashCode += getCourseid().hashCode();
400 if (getInstance() != null) {
401 _hashCode += getInstance().hashCode();
403 if (getResid() != null) {
404 _hashCode += getResid().hashCode();
406 if (getName() != null) {
407 _hashCode += getName().hashCode();
409 if (getDate() != null) {
410 _hashCode += getDate().hashCode();
412 if (getTimestamp() != null) {
413 _hashCode += getTimestamp().hashCode();
415 if (getType() != null) {
416 _hashCode += getType().hashCode();
418 if (getAuthor() != null) {
419 _hashCode += getAuthor().hashCode();
421 if (getLink() != null) {
422 _hashCode += getLink().hashCode();
424 if (getUrl() != null) {
425 _hashCode += getUrl().hashCode();
427 if (getVisible() != null) {
428 _hashCode += getVisible().hashCode();
430 __hashCodeCalc = false;
435 private static org.apache.axis.description.TypeDesc typeDesc =
436 new org.apache.axis.description.TypeDesc(ChangeRecord.class, true);
439 typeDesc.setXmlType(new javax.xml.namespace.QName("http://localhost:8890/moodle19/wspp/wsdl", "changeRecord"));
440 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
441 elemField.setFieldName("error");
442 elemField.setXmlName(new javax.xml.namespace.QName("", "error"));
443 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
444 elemField.setNillable(false);
445 typeDesc.addFieldDesc(elemField);
446 elemField = new org.apache.axis.description.ElementDesc();
447 elemField.setFieldName("id");
448 elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
449 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
450 elemField.setNillable(false);
451 typeDesc.addFieldDesc(elemField);
452 elemField = new org.apache.axis.description.ElementDesc();
453 elemField.setFieldName("courseid");
454 elemField.setXmlName(new javax.xml.namespace.QName("", "courseid"));
455 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
456 elemField.setNillable(false);
457 typeDesc.addFieldDesc(elemField);
458 elemField = new org.apache.axis.description.ElementDesc();
459 elemField.setFieldName("instance");
460 elemField.setXmlName(new javax.xml.namespace.QName("", "instance"));
461 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
462 elemField.setNillable(false);
463 typeDesc.addFieldDesc(elemField);
464 elemField = new org.apache.axis.description.ElementDesc();
465 elemField.setFieldName("resid");
466 elemField.setXmlName(new javax.xml.namespace.QName("", "resid"));
467 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
468 elemField.setNillable(false);
469 typeDesc.addFieldDesc(elemField);
470 elemField = new org.apache.axis.description.ElementDesc();
471 elemField.setFieldName("name");
472 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
473 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
474 elemField.setNillable(false);
475 typeDesc.addFieldDesc(elemField);
476 elemField = new org.apache.axis.description.ElementDesc();
477 elemField.setFieldName("date");
478 elemField.setXmlName(new javax.xml.namespace.QName("", "date"));
479 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
480 elemField.setNillable(false);
481 typeDesc.addFieldDesc(elemField);
482 elemField = new org.apache.axis.description.ElementDesc();
483 elemField.setFieldName("timestamp");
484 elemField.setXmlName(new javax.xml.namespace.QName("", "timestamp"));
485 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
486 elemField.setNillable(false);
487 typeDesc.addFieldDesc(elemField);
488 elemField = new org.apache.axis.description.ElementDesc();
489 elemField.setFieldName("type");
490 elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
491 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
492 elemField.setNillable(false);
493 typeDesc.addFieldDesc(elemField);
494 elemField = new org.apache.axis.description.ElementDesc();
495 elemField.setFieldName("author");
496 elemField.setXmlName(new javax.xml.namespace.QName("", "author"));
497 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
498 elemField.setNillable(false);
499 typeDesc.addFieldDesc(elemField);
500 elemField = new org.apache.axis.description.ElementDesc();
501 elemField.setFieldName("link");
502 elemField.setXmlName(new javax.xml.namespace.QName("", "link"));
503 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
504 elemField.setNillable(false);
505 typeDesc.addFieldDesc(elemField);
506 elemField = new org.apache.axis.description.ElementDesc();
507 elemField.setFieldName("url");
508 elemField.setXmlName(new javax.xml.namespace.QName("", "url"));
509 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
510 elemField.setNillable(false);
511 typeDesc.addFieldDesc(elemField);
512 elemField = new org.apache.axis.description.ElementDesc();
513 elemField.setFieldName("visible");
514 elemField.setXmlName(new javax.xml.namespace.QName("", "visible"));
515 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
516 elemField.setNillable(false);
517 typeDesc.addFieldDesc(elemField);
521 * Return type metadata object
523 public static org.apache.axis.description.TypeDesc getTypeDesc() {
528 * Get Custom Serializer
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) {
535 new org.apache.axis.encoding.ser.BeanSerializer(
536 _javaType, _xmlType, typeDesc);
540 * Get Custom Deserializer
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) {
547 new org.apache.axis.encoding.ser.BeanDeserializer(
548 _javaType, _xmlType, typeDesc);