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 StudentRecord implements java.io.Serializable {
11 private java.math.BigInteger userid;
13 private java.math.BigInteger course;
15 private java.math.BigInteger timestart;
17 private java.math.BigInteger timeend;
19 private java.math.BigInteger timeaccess;
21 private java.lang.String enrol;
23 public StudentRecord() {
27 java.math.BigInteger userid,
28 java.math.BigInteger course,
29 java.math.BigInteger timestart,
30 java.math.BigInteger timeend,
31 java.math.BigInteger timeaccess,
32 java.lang.String enrol) {
35 this.timestart = timestart;
36 this.timeend = timeend;
37 this.timeaccess = timeaccess;
43 * Gets the userid value for this StudentRecord.
47 public java.math.BigInteger getUserid() {
53 * Sets the userid value for this StudentRecord.
57 public void setUserid(java.math.BigInteger userid) {
63 * Gets the course value for this StudentRecord.
67 public java.math.BigInteger getCourse() {
73 * Sets the course value for this StudentRecord.
77 public void setCourse(java.math.BigInteger course) {
83 * Gets the timestart value for this StudentRecord.
87 public java.math.BigInteger getTimestart() {
93 * Sets the timestart value for this StudentRecord.
97 public void setTimestart(java.math.BigInteger timestart) {
98 this.timestart = timestart;
103 * Gets the timeend value for this StudentRecord.
107 public java.math.BigInteger getTimeend() {
113 * Sets the timeend value for this StudentRecord.
117 public void setTimeend(java.math.BigInteger timeend) {
118 this.timeend = timeend;
123 * Gets the timeaccess value for this StudentRecord.
127 public java.math.BigInteger getTimeaccess() {
133 * Sets the timeaccess value for this StudentRecord.
137 public void setTimeaccess(java.math.BigInteger timeaccess) {
138 this.timeaccess = timeaccess;
143 * Gets the enrol value for this StudentRecord.
147 public java.lang.String getEnrol() {
153 * Sets the enrol value for this StudentRecord.
157 public void setEnrol(java.lang.String enrol) {
161 private java.lang.Object __equalsCalc = null;
162 public synchronized boolean equals(java.lang.Object obj) {
163 if (!(obj instanceof StudentRecord)) return false;
164 StudentRecord other = (StudentRecord) obj;
165 if (obj == null) return false;
166 if (this == obj) return true;
167 if (__equalsCalc != null) {
168 return (__equalsCalc == obj);
173 ((this.userid==null && other.getUserid()==null) ||
174 (this.userid!=null &&
175 this.userid.equals(other.getUserid()))) &&
176 ((this.course==null && other.getCourse()==null) ||
177 (this.course!=null &&
178 this.course.equals(other.getCourse()))) &&
179 ((this.timestart==null && other.getTimestart()==null) ||
180 (this.timestart!=null &&
181 this.timestart.equals(other.getTimestart()))) &&
182 ((this.timeend==null && other.getTimeend()==null) ||
183 (this.timeend!=null &&
184 this.timeend.equals(other.getTimeend()))) &&
185 ((this.timeaccess==null && other.getTimeaccess()==null) ||
186 (this.timeaccess!=null &&
187 this.timeaccess.equals(other.getTimeaccess()))) &&
188 ((this.enrol==null && other.getEnrol()==null) ||
190 this.enrol.equals(other.getEnrol())));
195 private boolean __hashCodeCalc = false;
196 public synchronized int hashCode() {
197 if (__hashCodeCalc) {
200 __hashCodeCalc = true;
202 if (getUserid() != null) {
203 _hashCode += getUserid().hashCode();
205 if (getCourse() != null) {
206 _hashCode += getCourse().hashCode();
208 if (getTimestart() != null) {
209 _hashCode += getTimestart().hashCode();
211 if (getTimeend() != null) {
212 _hashCode += getTimeend().hashCode();
214 if (getTimeaccess() != null) {
215 _hashCode += getTimeaccess().hashCode();
217 if (getEnrol() != null) {
218 _hashCode += getEnrol().hashCode();
220 __hashCodeCalc = false;
225 private static org.apache.axis.description.TypeDesc typeDesc =
226 new org.apache.axis.description.TypeDesc(StudentRecord.class, true);
229 typeDesc.setXmlType(new javax.xml.namespace.QName("http://localhost:8890/moodle19/wspp/wsdl", "studentRecord"));
230 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
231 elemField.setFieldName("userid");
232 elemField.setXmlName(new javax.xml.namespace.QName("", "userid"));
233 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
234 elemField.setNillable(false);
235 typeDesc.addFieldDesc(elemField);
236 elemField = new org.apache.axis.description.ElementDesc();
237 elemField.setFieldName("course");
238 elemField.setXmlName(new javax.xml.namespace.QName("", "course"));
239 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
240 elemField.setNillable(false);
241 typeDesc.addFieldDesc(elemField);
242 elemField = new org.apache.axis.description.ElementDesc();
243 elemField.setFieldName("timestart");
244 elemField.setXmlName(new javax.xml.namespace.QName("", "timestart"));
245 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
246 elemField.setNillable(false);
247 typeDesc.addFieldDesc(elemField);
248 elemField = new org.apache.axis.description.ElementDesc();
249 elemField.setFieldName("timeend");
250 elemField.setXmlName(new javax.xml.namespace.QName("", "timeend"));
251 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
252 elemField.setNillable(false);
253 typeDesc.addFieldDesc(elemField);
254 elemField = new org.apache.axis.description.ElementDesc();
255 elemField.setFieldName("timeaccess");
256 elemField.setXmlName(new javax.xml.namespace.QName("", "timeaccess"));
257 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
258 elemField.setNillable(false);
259 typeDesc.addFieldDesc(elemField);
260 elemField = new org.apache.axis.description.ElementDesc();
261 elemField.setFieldName("enrol");
262 elemField.setXmlName(new javax.xml.namespace.QName("", "enrol"));
263 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
264 elemField.setNillable(false);
265 typeDesc.addFieldDesc(elemField);
269 * Return type metadata object
271 public static org.apache.axis.description.TypeDesc getTypeDesc() {
276 * Get Custom Serializer
278 public static org.apache.axis.encoding.Serializer getSerializer(
279 java.lang.String mechType,
280 java.lang.Class _javaType,
281 javax.xml.namespace.QName _xmlType) {
283 new org.apache.axis.encoding.ser.BeanSerializer(
284 _javaType, _xmlType, typeDesc);
288 * Get Custom Deserializer
290 public static org.apache.axis.encoding.Deserializer getDeserializer(
291 java.lang.String mechType,
292 java.lang.Class _javaType,
293 javax.xml.namespace.QName _xmlType) {
295 new org.apache.axis.encoding.ser.BeanDeserializer(
296 _javaType, _xmlType, typeDesc);