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 LoginReturn implements java.io.Serializable {
11 private java.math.BigInteger client;
13 private java.lang.String sessionkey;
15 public LoginReturn() {
19 java.math.BigInteger client,
20 java.lang.String sessionkey) {
22 this.sessionkey = sessionkey;
27 * Gets the client value for this LoginReturn.
31 public java.math.BigInteger getClient() {
37 * Sets the client value for this LoginReturn.
41 public void setClient(java.math.BigInteger client) {
47 * Gets the sessionkey value for this LoginReturn.
51 public java.lang.String getSessionkey() {
57 * Sets the sessionkey value for this LoginReturn.
61 public void setSessionkey(java.lang.String sessionkey) {
62 this.sessionkey = sessionkey;
65 private java.lang.Object __equalsCalc = null;
66 public synchronized boolean equals(java.lang.Object obj) {
67 if (!(obj instanceof LoginReturn)) return false;
68 LoginReturn other = (LoginReturn) obj;
69 if (obj == null) return false;
70 if (this == obj) return true;
71 if (__equalsCalc != null) {
72 return (__equalsCalc == obj);
77 ((this.client==null && other.getClient()==null) ||
79 this.client.equals(other.getClient()))) &&
80 ((this.sessionkey==null && other.getSessionkey()==null) ||
81 (this.sessionkey!=null &&
82 this.sessionkey.equals(other.getSessionkey())));
87 private boolean __hashCodeCalc = false;
88 public synchronized int hashCode() {
92 __hashCodeCalc = true;
94 if (getClient() != null) {
95 _hashCode += getClient().hashCode();
97 if (getSessionkey() != null) {
98 _hashCode += getSessionkey().hashCode();
100 __hashCodeCalc = false;
105 private static org.apache.axis.description.TypeDesc typeDesc =
106 new org.apache.axis.description.TypeDesc(LoginReturn.class, true);
109 typeDesc.setXmlType(new javax.xml.namespace.QName("http://localhost:8890/moodle19/wspp/wsdl", "loginReturn"));
110 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
111 elemField.setFieldName("client");
112 elemField.setXmlName(new javax.xml.namespace.QName("", "client"));
113 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "integer"));
114 elemField.setNillable(false);
115 typeDesc.addFieldDesc(elemField);
116 elemField = new org.apache.axis.description.ElementDesc();
117 elemField.setFieldName("sessionkey");
118 elemField.setXmlName(new javax.xml.namespace.QName("", "sessionkey"));
119 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
120 elemField.setNillable(false);
121 typeDesc.addFieldDesc(elemField);
125 * Return type metadata object
127 public static org.apache.axis.description.TypeDesc getTypeDesc() {
132 * Get Custom Serializer
134 public static org.apache.axis.encoding.Serializer getSerializer(
135 java.lang.String mechType,
136 java.lang.Class _javaType,
137 javax.xml.namespace.QName _xmlType) {
139 new org.apache.axis.encoding.ser.BeanSerializer(
140 _javaType, _xmlType, typeDesc);
144 * Get Custom Deserializer
146 public static org.apache.axis.encoding.Deserializer getDeserializer(
147 java.lang.String mechType,
148 java.lang.Class _javaType,
149 javax.xml.namespace.QName _xmlType) {
151 new org.apache.axis.encoding.ser.BeanDeserializer(
152 _javaType, _xmlType, typeDesc);