--- /dev/null
+/**
+ * ChangeRecord.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
+ */
+
+package com.pentila.evalcomp.moodlews;
+
+public class ChangeRecord implements java.io.Serializable {
+ private java.lang.String error;
+
+ private java.math.BigInteger id;
+
+ private java.math.BigInteger courseid;
+
+ private java.math.BigInteger instance;
+
+ private java.math.BigInteger resid;
+
+ private java.lang.String name;
+
+ private java.lang.String date;
+
+ private java.math.BigInteger timestamp;
+
+ private java.lang.String type;
+
+ private java.lang.String author;
+
+ private java.lang.String link;
+
+ private java.lang.String url;
+
+ private java.math.BigInteger visible;
+
+ public ChangeRecord() {
+ }
+
+ public ChangeRecord(
+ java.lang.String error,
+ java.math.BigInteger id,
+ java.math.BigInteger courseid,
+ java.math.BigInteger instance,
+ java.math.BigInteger resid,
+ java.lang.String name,
+ java.lang.String date,
+ java.math.BigInteger timestamp,
+ java.lang.String type,
+ java.lang.String author,
+ java.lang.String link,
+ java.lang.String url,
+ java.math.BigInteger visible) {
+ this.error = error;
+ this.id = id;
+ this.courseid = courseid;
+ this.instance = instance;
+ this.resid = resid;
+ this.name = name;
+ this.date = date;
+ this.timestamp = timestamp;
+ this.type = type;
+ this.author = author;
+ this.link = link;
+ this.url = url;
+ this.visible = visible;
+ }
+
+
+ /**
+ * Gets the error value for this ChangeRecord.
+ *
+ * @return error
+ */
+ public java.lang.String getError() {
+ return error;
+ }
+
+
+ /**
+ * Sets the error value for this ChangeRecord.
+ *
+ * @param error
+ */
+ public void setError(java.lang.String error) {
+ this.error = error;
+ }
+
+
+ /**
+ * Gets the id value for this ChangeRecord.
+ *
+ * @return id
+ */
+ public java.math.BigInteger getId() {
+ return id;
+ }
+
+
+ /**
+ * Sets the id value for this ChangeRecord.
+ *
+ * @param id
+ */
+ public void setId(java.math.BigInteger id) {
+ this.id = id;
+ }
+
+
+ /**
+ * Gets the courseid value for this ChangeRecord.
+ *
+ * @return courseid
+ */
+ public java.math.BigInteger getCourseid() {
+ return courseid;
+ }
+
+
+ /**
+ * Sets the courseid value for this ChangeRecord.
+ *
+ * @param courseid
+ */
+ public void setCourseid(java.math.BigInteger courseid) {
+ this.courseid = courseid;
+ }
+
+
+ /**
+ * Gets the instance value for this ChangeRecord.
+ *
+ * @return instance
+ */
+ public java.math.BigInteger getInstance() {
+ return instance;
+ }
+
+
+ /**
+ * Sets the instance value for this ChangeRecord.
+ *
+ * @param instance
+ */
+ public void setInstance(java.math.BigInteger instance) {
+ this.instance = instance;
+ }
+
+
+ /**
+ * Gets the resid value for this ChangeRecord.
+ *
+ * @return resid
+ */
+ public java.math.BigInteger getResid() {
+ return resid;
+ }
+
+
+ /**
+ * Sets the resid value for this ChangeRecord.
+ *
+ * @param resid
+ */
+ public void setResid(java.math.BigInteger resid) {
+ this.resid = resid;
+ }
+
+
+ /**
+ * Gets the name value for this ChangeRecord.
+ *
+ * @return name
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+
+ /**
+ * Sets the name value for this ChangeRecord.
+ *
+ * @param name
+ */
+ public void setName(java.lang.String name) {
+ this.name = name;
+ }
+
+
+ /**
+ * Gets the date value for this ChangeRecord.
+ *
+ * @return date
+ */
+ public java.lang.String getDate() {
+ return date;
+ }
+
+
+ /**
+ * Sets the date value for this ChangeRecord.
+ *
+ * @param date
+ */
+ public void setDate(java.lang.String date) {
+ this.date = date;
+ }
+
+
+ /**
+ * Gets the timestamp value for this ChangeRecord.
+ *
+ * @return timestamp
+ */
+ public java.math.BigInteger getTimestamp() {
+ return timestamp;
+ }
+
+
+ /**
+ * Sets the timestamp value for this ChangeRecord.
+ *
+ * @param timestamp
+ */
+ public void setTimestamp(java.math.BigInteger timestamp) {
+ this.timestamp = timestamp;
+ }
+
+
+ /**
+ * Gets the type value for this ChangeRecord.
+ *
+ * @return type
+ */
+ public java.lang.String getType() {
+ return type;
+ }
+
+
+ /**
+ * Sets the type value for this ChangeRecord.
+ *
+ * @param type
+ */
+ public void setType(java.lang.String type) {
+ this.type = type;
+ }
+
+
+ /**
+ * Gets the author value for this ChangeRecord.
+ *
+ * @return author
+ */
+ public java.lang.String getAuthor() {
+ return author;
+ }
+
+
+ /**
+ * Sets the author value for this ChangeRecord.
+ *
+ * @param author
+ */
+ public void setAuthor(java.lang.String author) {
+ this.author = author;
+ }
+
+
+ /**
+ * Gets the link value for this ChangeRecord.
+ *
+ * @return link
+ */
+ public java.lang.String getLink() {
+ return link;
+ }
+
+
+ /**
+ * Sets the link value for this ChangeRecord.
+ *
+ * @param link
+ */
+ public void setLink(java.lang.String link) {
+ this.link = link;
+ }
+
+
+ /**
+ * Gets the url value for this ChangeRecord.
+ *
+ * @return url
+ */
+ public java.lang.String getUrl() {
+ return url;
+ }
+
+
+ /**
+ * Sets the url value for this ChangeRecord.
+ *
+ * @param url
+ */
+ public void setUrl(java.lang.String url) {
+ this.url = url;
+ }
+
+
+ /**
+ * Gets the visible value for this ChangeRecord.
+ *
+ * @return visible
+ */
+ public java.math.BigInteger getVisible() {
+ return visible;
+ }
+
+
+ /**
+ * Sets the visible value for this ChangeRecord.
+ *
+ * @param visible
+ */
+ public void setVisible(java.math.BigInteger visible) {
+ this.visible = visible;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof ChangeRecord)) return false;
+ ChangeRecord other = (ChangeRecord) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.error==null && other.getError()==null) ||
+ (this.error!=null &&
+ this.error.equals(other.getError()))) &&
+ ((this.id==null && other.getId()==null) ||
+ (this.id!=null &&
+ this.id.equals(other.getId()))) &&
+ ((this.courseid==null && other.getCourseid()==null) ||
+ (this.courseid!=null &&
+ this.courseid.equals(other.getCourseid()))) &&
+ ((this.instance==null && other.getInstance()==null) ||
+ (this.instance!=null &&
+ this.instance.equals(other.getInstance()))) &&
+ ((this.resid==null && other.getResid()==null) ||
+ (this.resid!=null &&
+ this.resid.equals(other.getResid()))) &&
+ ((this.name==null && other.getName()==null) ||
+ (this.name!=null &&
+ this.name.equals(other.getName()))) &&
+ ((this.date==null && other.getDate()==null) ||
+ (this.date!=null &&
+ this.date.equals(other.getDate()))) &&
+ ((this.timestamp==null && other.getTimestamp()==null) ||
+ (this.timestamp!=null &&
+ this.timestamp.equals(other.getTimestamp()))) &&
+ ((this.type==null && other.getType()==null) ||
+ (this.type!=null &&
+ this.type.equals(other.getType()))) &&
+ ((this.author==null && other.getAuthor()==null) ||
+ (this.author!=null &&
+ this.author.equals(other.getAuthor()))) &&
+ ((this.link==null && other.getLink()==null) ||
+ (this.link!=null &&
+ this.link.equals(other.getLink()))) &&
+ ((this.url==null && other.getUrl()==null) ||
+ (this.url!=null &&
+ this.url.equals(other.getUrl()))) &&
+ ((this.visible==null && other.getVisible()==null) ||
+ (this.visible!=null &&
+ this.visible.equals(other.getVisible())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getError() != null) {
+ _hashCode += getError().hashCode();
+ }
+ if (getId() != null) {
+ _hashCode += getId().hashCode();
+ }
+ if (getCourseid() != null) {
+ _hashCode += getCourseid().hashCode();
+ }
+ if (getInstance() != null) {
+ _hashCode += getInstance().hashCode();
+ }
+ if (getResid() != null) {
+ _hashCode += getResid().hashCode();
+ }
+ if (getName() != null) {
+ _hashCode += getName().hashCode();
+ }
+ if (getDate() != null) {
+ _hashCode += getDate().hashCode();
+ }
+ if (getTimestamp() != null) {
+ _hashCode += getTimestamp().hashCode();
+ }
+ if (getType() != null) {
+ _hashCode += getType().hashCode();
+ }
+ if (getAuthor() != null) {
+ _hashCode += getAuthor().hashCode();
+ }
+ if (getLink() != null) {
+ _hashCode += getLink().hashCode();
+ }
+ if (getUrl() != null) {
+ _hashCode += getUrl().hashCode();
+ }
+ if (getVisible() != null) {
+ _hashCode += getVisible().hashCode();
+ }
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(ChangeRecord.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("http://localhost:8890/moodle19/wspp/wsdl", "changeRecord"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("error");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "error"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("id");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("courseid");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "courseid"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("instance");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "instance"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("resid");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "resid"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("name");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("date");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "date"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("timestamp");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "timestamp"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("type");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("author");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "author"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("link");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "link"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("url");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "url"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("visible");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "visible"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ }
+
+ /**
+ * Return type metadata object
+ */
+ public static org.apache.axis.description.TypeDesc getTypeDesc() {
+ return typeDesc;
+ }
+
+ /**
+ * Get Custom Serializer
+ */
+ public static org.apache.axis.encoding.Serializer getSerializer(
+ java.lang.String mechType,
+ java.lang.Class _javaType,
+ javax.xml.namespace.QName _xmlType) {
+ return
+ new org.apache.axis.encoding.ser.BeanSerializer(
+ _javaType, _xmlType, typeDesc);
+ }
+
+ /**
+ * Get Custom Deserializer
+ */
+ public static org.apache.axis.encoding.Deserializer getDeserializer(
+ java.lang.String mechType,
+ java.lang.Class _javaType,
+ javax.xml.namespace.QName _xmlType) {
+ return
+ new org.apache.axis.encoding.ser.BeanDeserializer(
+ _javaType, _xmlType, typeDesc);
+ }
+
+}