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 CategoryRecord 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 parent;
21 private java.math.BigInteger sortorder;
23 private java.math.BigInteger coursecount;
25 private java.math.BigInteger visible;
27 private java.math.BigInteger timemodified;
29 private java.math.BigInteger depth;
31 private java.lang.String path;
33 public CategoryRecord() {
36 public CategoryRecord(
37 java.lang.String error,
38 java.math.BigInteger id,
39 java.lang.String name,
40 java.lang.String description,
41 java.math.BigInteger parent,
42 java.math.BigInteger sortorder,
43 java.math.BigInteger coursecount,
44 java.math.BigInteger visible,
45 java.math.BigInteger timemodified,
46 java.math.BigInteger depth,
47 java.lang.String path) {
51 this.description = description;
53 this.sortorder = sortorder;
54 this.coursecount = coursecount;
55 this.visible = visible;
56 this.timemodified = timemodified;
63 * Gets the error value for this CategoryRecord.
67 public java.lang.String getError() {
73 * Sets the error value for this CategoryRecord.
77 public void setError(java.lang.String error) {
83 * Gets the id value for this CategoryRecord.
87 public java.math.BigInteger getId() {
93 * Sets the id value for this CategoryRecord.
97 public void setId(java.math.BigInteger id) {
103 * Gets the name value for this CategoryRecord.
107 public java.lang.String getName() {
113 * Sets the name value for this CategoryRecord.
117 public void setName(java.lang.String name) {
123 * Gets the description value for this CategoryRecord.
125 * @return description
127 public java.lang.String getDescription() {
133 * Sets the description value for this CategoryRecord.
137 public void setDescription(java.lang.String description) {
138 this.description = description;
143 * Gets the parent value for this CategoryRecord.
147 public java.math.BigInteger getParent() {
153 * Sets the parent value for this CategoryRecord.
157 public void setParent(java.math.BigInteger parent) {
158 this.parent = parent;
163 * Gets the sortorder value for this CategoryRecord.
167 public java.math.BigInteger getSortorder() {
173 * Sets the sortorder value for this CategoryRecord.
177 public void setSortorder(java.math.BigInteger sortorder) {
178 this.sortorder = sortorder;
183 * Gets the coursecount value for this CategoryRecord.
185 * @return coursecount
187 public java.math.BigInteger getCoursecount() {
193 * Sets the coursecount value for this CategoryRecord.
197 public void setCoursecount(java.math.BigInteger coursecount) {
198 this.coursecount = coursecount;
203 * Gets the visible value for this CategoryRecord.
207 public java.math.BigInteger getVisible() {
213 * Sets the visible value for this CategoryRecord.
217 public void setVisible(java.math.BigInteger visible) {
218 this.visible = visible;
223 * Gets the timemodified value for this CategoryRecord.
225 * @return timemodified
227 public java.math.BigInteger getTimemodified() {
233 * Sets the timemodified value for this CategoryRecord.
235 * @param timemodified
237 public void setTimemodified(java.math.BigInteger timemodified) {
238 this.timemodified = timemodified;
243 * Gets the depth value for this CategoryRecord.
247 public java.math.BigInteger getDepth() {
253 * Sets the depth value for this CategoryRecord.
257 public void setDepth(java.math.BigInteger depth) {
263 * Gets the path value for this CategoryRecord.
267 public java.lang.String getPath() {
273 * Sets the path value for this CategoryRecord.
277 public void setPath(java.lang.String path) {
281 private java.lang.Object __equalsCalc = null;
282 public synchronized boolean equals(java.lang.Object obj) {
283 if (!(obj instanceof CategoryRecord)) return false;
284 CategoryRecord other = (CategoryRecord) 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.name==null && other.getName()==null) ||
301 this.name.equals(other.getName()))) &&
302 ((this.description==null && other.getDescription()==null) ||
303 (this.description!=null &&
304 this.description.equals(other.getDescription()))) &&
305 ((this.parent==null && other.getParent()==null) ||
306 (this.parent!=null &&
307 this.parent.equals(other.getParent()))) &&
308 ((this.sortorder==null && other.getSortorder()==null) ||
309 (this.sortorder!=null &&
310 this.sortorder.equals(other.getSortorder()))) &&
311 ((this.coursecount==null && other.getCoursecount()==null) ||
312 (this.coursecount!=null &&
313 this.coursecount.equals(other.getCoursecount()))) &&
314 ((this.visible==null && other.getVisible()==null) ||
315 (this.visible!=null &&
316 this.visible.equals(other.getVisible()))) &&
317 ((this.timemodified==null && other.getTimemodified()==null) ||
318 (this.timemodified!=null &&
319 this.timemodified.equals(other.getTimemodified()))) &&
320 ((this.depth==null && other.getDepth()==null) ||
322 this.depth.equals(other.getDepth()))) &&
323 ((this.path==null && other.getPath()==null) ||
325 this.path.equals(other.getPath())));
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 (getName() != null) {
344 _hashCode += getName().hashCode();
346 if (getDescription() != null) {
347 _hashCode += getDescription().hashCode();
349 if (getParent() != null) {
350 _hashCode += getParent().hashCode();
352 if (getSortorder() != null) {
353 _hashCode += getSortorder().hashCode();
355 if (getCoursecount() != null) {
356 _hashCode += getCoursecount().hashCode();
358 if (getVisible() != null) {
359 _hashCode += getVisible().hashCode();
361 if (getTimemodified() != null) {
362 _hashCode += getTimemodified().hashCode();
364 if (getDepth() != null) {
365 _hashCode += getDepth().hashCode();
367 if (getPath() != null) {
368 _hashCode += getPath().hashCode();
370 __hashCodeCalc = false;
375 private static org.apache.axis.description.TypeDesc typeDesc =
376 new org.apache.axis.description.TypeDesc(CategoryRecord.class, true);
379 typeDesc.setXmlType(new javax.xml.namespace.QName("http://localhost:8890/moodle19/wspp/wsdl", "categoryRecord"));
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("name");
394 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
395 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
396 elemField.setNillable(false);
397 typeDesc.addFieldDesc(elemField);
398 elemField = new org.apache.axis.description.ElementDesc();
399 elemField.setFieldName("description");
400 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
401 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
402 elemField.setNillable(true);
403 typeDesc.addFieldDesc(elemField);
404 elemField = new org.apache.axis.description.ElementDesc();
405 elemField.setFieldName("parent");
406 elemField.setXmlName(new javax.xml.namespace.QName("", "parent"));
407 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
408 elemField.setNillable(false);
409 typeDesc.addFieldDesc(elemField);
410 elemField = new org.apache.axis.description.ElementDesc();
411 elemField.setFieldName("sortorder");
412 elemField.setXmlName(new javax.xml.namespace.QName("", "sortorder"));
413 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
414 elemField.setNillable(false);
415 typeDesc.addFieldDesc(elemField);
416 elemField = new org.apache.axis.description.ElementDesc();
417 elemField.setFieldName("coursecount");
418 elemField.setXmlName(new javax.xml.namespace.QName("", "coursecount"));
419 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
420 elemField.setNillable(false);
421 typeDesc.addFieldDesc(elemField);
422 elemField = new org.apache.axis.description.ElementDesc();
423 elemField.setFieldName("visible");
424 elemField.setXmlName(new javax.xml.namespace.QName("", "visible"));
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("timemodified");
430 elemField.setXmlName(new javax.xml.namespace.QName("", "timemodified"));
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("depth");
436 elemField.setXmlName(new javax.xml.namespace.QName("", "depth"));
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("path");
442 elemField.setXmlName(new javax.xml.namespace.QName("", "path"));
443 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
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);