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 GetGroupsReturn implements java.io.Serializable {
11 private com.pentila.evalcomp.moodlews.GroupRecord[] groups;
13 public GetGroupsReturn() {
16 public GetGroupsReturn(
17 com.pentila.evalcomp.moodlews.GroupRecord[] groups) {
23 * Gets the groups value for this GetGroupsReturn.
27 public com.pentila.evalcomp.moodlews.GroupRecord[] getGroups() {
33 * Sets the groups value for this GetGroupsReturn.
37 public void setGroups(com.pentila.evalcomp.moodlews.GroupRecord[] groups) {
41 private java.lang.Object __equalsCalc = null;
42 public synchronized boolean equals(java.lang.Object obj) {
43 if (!(obj instanceof GetGroupsReturn)) return false;
44 GetGroupsReturn other = (GetGroupsReturn) obj;
45 if (obj == null) return false;
46 if (this == obj) return true;
47 if (__equalsCalc != null) {
48 return (__equalsCalc == obj);
53 ((this.groups==null && other.getGroups()==null) ||
55 java.util.Arrays.equals(this.groups, other.getGroups())));
60 private boolean __hashCodeCalc = false;
61 public synchronized int hashCode() {
65 __hashCodeCalc = true;
67 if (getGroups() != null) {
69 i<java.lang.reflect.Array.getLength(getGroups());
71 java.lang.Object obj = java.lang.reflect.Array.get(getGroups(), i);
73 !obj.getClass().isArray()) {
74 _hashCode += obj.hashCode();
78 __hashCodeCalc = false;
83 private static org.apache.axis.description.TypeDesc typeDesc =
84 new org.apache.axis.description.TypeDesc(GetGroupsReturn.class, true);
87 typeDesc.setXmlType(new javax.xml.namespace.QName("http://localhost:8890/moodle19/wspp/wsdl", "getGroupsReturn"));
88 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
89 elemField.setFieldName("groups");
90 elemField.setXmlName(new javax.xml.namespace.QName("", "groups"));
91 elemField.setXmlType(new javax.xml.namespace.QName("http://localhost:8890/moodle19/wspp/wsdl", "groupRecord"));
92 elemField.setNillable(false);
93 typeDesc.addFieldDesc(elemField);
97 * Return type metadata object
99 public static org.apache.axis.description.TypeDesc getTypeDesc() {
104 * Get Custom Serializer
106 public static org.apache.axis.encoding.Serializer getSerializer(
107 java.lang.String mechType,
108 java.lang.Class _javaType,
109 javax.xml.namespace.QName _xmlType) {
111 new org.apache.axis.encoding.ser.BeanSerializer(
112 _javaType, _xmlType, typeDesc);
116 * Get Custom Deserializer
118 public static org.apache.axis.encoding.Deserializer getDeserializer(
119 java.lang.String mechType,
120 java.lang.Class _javaType,
121 javax.xml.namespace.QName _xmlType) {
123 new org.apache.axis.encoding.ser.BeanDeserializer(
124 _javaType, _xmlType, typeDesc);