--- /dev/null
+/**
+ * GradeStatsRecord.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 GradeStatsRecord implements java.io.Serializable {
+ private java.math.BigInteger gradeItems;
+
+ private java.lang.String allgrades;
+
+ private java.math.BigInteger points;
+
+ private java.math.BigInteger totalpoints;
+
+ private float percent;
+
+ private float weight;
+
+ private float weighted;
+
+ public GradeStatsRecord() {
+ }
+
+ public GradeStatsRecord(
+ java.math.BigInteger gradeItems,
+ java.lang.String allgrades,
+ java.math.BigInteger points,
+ java.math.BigInteger totalpoints,
+ float percent,
+ float weight,
+ float weighted) {
+ this.gradeItems = gradeItems;
+ this.allgrades = allgrades;
+ this.points = points;
+ this.totalpoints = totalpoints;
+ this.percent = percent;
+ this.weight = weight;
+ this.weighted = weighted;
+ }
+
+
+ /**
+ * Gets the gradeItems value for this GradeStatsRecord.
+ *
+ * @return gradeItems
+ */
+ public java.math.BigInteger getGradeItems() {
+ return gradeItems;
+ }
+
+
+ /**
+ * Sets the gradeItems value for this GradeStatsRecord.
+ *
+ * @param gradeItems
+ */
+ public void setGradeItems(java.math.BigInteger gradeItems) {
+ this.gradeItems = gradeItems;
+ }
+
+
+ /**
+ * Gets the allgrades value for this GradeStatsRecord.
+ *
+ * @return allgrades
+ */
+ public java.lang.String getAllgrades() {
+ return allgrades;
+ }
+
+
+ /**
+ * Sets the allgrades value for this GradeStatsRecord.
+ *
+ * @param allgrades
+ */
+ public void setAllgrades(java.lang.String allgrades) {
+ this.allgrades = allgrades;
+ }
+
+
+ /**
+ * Gets the points value for this GradeStatsRecord.
+ *
+ * @return points
+ */
+ public java.math.BigInteger getPoints() {
+ return points;
+ }
+
+
+ /**
+ * Sets the points value for this GradeStatsRecord.
+ *
+ * @param points
+ */
+ public void setPoints(java.math.BigInteger points) {
+ this.points = points;
+ }
+
+
+ /**
+ * Gets the totalpoints value for this GradeStatsRecord.
+ *
+ * @return totalpoints
+ */
+ public java.math.BigInteger getTotalpoints() {
+ return totalpoints;
+ }
+
+
+ /**
+ * Sets the totalpoints value for this GradeStatsRecord.
+ *
+ * @param totalpoints
+ */
+ public void setTotalpoints(java.math.BigInteger totalpoints) {
+ this.totalpoints = totalpoints;
+ }
+
+
+ /**
+ * Gets the percent value for this GradeStatsRecord.
+ *
+ * @return percent
+ */
+ public float getPercent() {
+ return percent;
+ }
+
+
+ /**
+ * Sets the percent value for this GradeStatsRecord.
+ *
+ * @param percent
+ */
+ public void setPercent(float percent) {
+ this.percent = percent;
+ }
+
+
+ /**
+ * Gets the weight value for this GradeStatsRecord.
+ *
+ * @return weight
+ */
+ public float getWeight() {
+ return weight;
+ }
+
+
+ /**
+ * Sets the weight value for this GradeStatsRecord.
+ *
+ * @param weight
+ */
+ public void setWeight(float weight) {
+ this.weight = weight;
+ }
+
+
+ /**
+ * Gets the weighted value for this GradeStatsRecord.
+ *
+ * @return weighted
+ */
+ public float getWeighted() {
+ return weighted;
+ }
+
+
+ /**
+ * Sets the weighted value for this GradeStatsRecord.
+ *
+ * @param weighted
+ */
+ public void setWeighted(float weighted) {
+ this.weighted = weighted;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof GradeStatsRecord)) return false;
+ GradeStatsRecord other = (GradeStatsRecord) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.gradeItems==null && other.getGradeItems()==null) ||
+ (this.gradeItems!=null &&
+ this.gradeItems.equals(other.getGradeItems()))) &&
+ ((this.allgrades==null && other.getAllgrades()==null) ||
+ (this.allgrades!=null &&
+ this.allgrades.equals(other.getAllgrades()))) &&
+ ((this.points==null && other.getPoints()==null) ||
+ (this.points!=null &&
+ this.points.equals(other.getPoints()))) &&
+ ((this.totalpoints==null && other.getTotalpoints()==null) ||
+ (this.totalpoints!=null &&
+ this.totalpoints.equals(other.getTotalpoints()))) &&
+ this.percent == other.getPercent() &&
+ this.weight == other.getWeight() &&
+ this.weighted == other.getWeighted();
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getGradeItems() != null) {
+ _hashCode += getGradeItems().hashCode();
+ }
+ if (getAllgrades() != null) {
+ _hashCode += getAllgrades().hashCode();
+ }
+ if (getPoints() != null) {
+ _hashCode += getPoints().hashCode();
+ }
+ if (getTotalpoints() != null) {
+ _hashCode += getTotalpoints().hashCode();
+ }
+ _hashCode += new Float(getPercent()).hashCode();
+ _hashCode += new Float(getWeight()).hashCode();
+ _hashCode += new Float(getWeighted()).hashCode();
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(GradeStatsRecord.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("http://localhost:8890/moodle19/wspp/wsdl", "gradeStatsRecord"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("gradeItems");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "gradeItems"));
+ 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("allgrades");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "allgrades"));
+ 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("points");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "points"));
+ 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("totalpoints");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "totalpoints"));
+ 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("percent");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "percent"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("weight");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "weight"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("weighted");
+ elemField.setXmlName(new javax.xml.namespace.QName("", "weighted"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
+ 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);
+ }
+
+}