CAS Unit Tests
Clover coverage report - CAS Unit Tests
Coverage timestamp: Mon Jul 4 2005 18:13:17 CDT
file stats: LOC: 186   Methods: 13
NCLOC: 116   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ManageUserGroups.java 0% 0% 0% 0%
coverage
 1    /**
 2    * ManageUserGroups.java
 3    *
 4    * This file was auto-generated from WSDL
 5    * by the Apache Axis 1.2RC2 Jun 16, 2005 (10:54:53 EDT) WSDL2Java emitter.
 6    */
 7   
 8    package org.globus.cas.types;
 9   
 10    public class ManageUserGroups implements java.io.Serializable {
 11    private java.lang.String requestType;
 12    private java.lang.String groupName;
 13    private java.lang.String userNickname;
 14   
 15  0 public ManageUserGroups() {
 16    }
 17   
 18  0 public ManageUserGroups(
 19    java.lang.String groupName,
 20    java.lang.String requestType,
 21    java.lang.String userNickname) {
 22  0 this.requestType = requestType;
 23  0 this.groupName = groupName;
 24  0 this.userNickname = userNickname;
 25    }
 26   
 27   
 28    /**
 29    * Gets the requestType value for this ManageUserGroups.
 30    *
 31    * @return requestType
 32    */
 33  0 public java.lang.String getRequestType() {
 34  0 return requestType;
 35    }
 36   
 37   
 38    /**
 39    * Sets the requestType value for this ManageUserGroups.
 40    *
 41    * @param requestType
 42    */
 43  0 public void setRequestType(java.lang.String requestType) {
 44  0 this.requestType = requestType;
 45    }
 46   
 47   
 48    /**
 49    * Gets the groupName value for this ManageUserGroups.
 50    *
 51    * @return groupName
 52    */
 53  0 public java.lang.String getGroupName() {
 54  0 return groupName;
 55    }
 56   
 57   
 58    /**
 59    * Sets the groupName value for this ManageUserGroups.
 60    *
 61    * @param groupName
 62    */
 63  0 public void setGroupName(java.lang.String groupName) {
 64  0 this.groupName = groupName;
 65    }
 66   
 67   
 68    /**
 69    * Gets the userNickname value for this ManageUserGroups.
 70    *
 71    * @return userNickname
 72    */
 73  0 public java.lang.String getUserNickname() {
 74  0 return userNickname;
 75    }
 76   
 77   
 78    /**
 79    * Sets the userNickname value for this ManageUserGroups.
 80    *
 81    * @param userNickname
 82    */
 83  0 public void setUserNickname(java.lang.String userNickname) {
 84  0 this.userNickname = userNickname;
 85    }
 86   
 87    private java.lang.Object __equalsCalc = null;
 88  0 public synchronized boolean equals(java.lang.Object obj) {
 89  0 if (!(obj instanceof ManageUserGroups)) return false;
 90  0 ManageUserGroups other = (ManageUserGroups) obj;
 91  0 if (obj == null) return false;
 92  0 if (this == obj) return true;
 93  0 if (__equalsCalc != null) {
 94  0 return (__equalsCalc == obj);
 95    }
 96  0 __equalsCalc = obj;
 97  0 boolean _equals;
 98  0 _equals = true &&
 99    ((this.requestType==null && other.getRequestType()==null) ||
 100    (this.requestType!=null &&
 101    this.requestType.equals(other.getRequestType()))) &&
 102    ((this.groupName==null && other.getGroupName()==null) ||
 103    (this.groupName!=null &&
 104    this.groupName.equals(other.getGroupName()))) &&
 105    ((this.userNickname==null && other.getUserNickname()==null) ||
 106    (this.userNickname!=null &&
 107    this.userNickname.equals(other.getUserNickname())));
 108  0 __equalsCalc = null;
 109  0 return _equals;
 110    }
 111   
 112    private boolean __hashCodeCalc = false;
 113  0 public synchronized int hashCode() {
 114  0 if (__hashCodeCalc) {
 115  0 return 0;
 116    }
 117  0 __hashCodeCalc = true;
 118  0 int _hashCode = 1;
 119  0 if (getRequestType() != null) {
 120  0 _hashCode += getRequestType().hashCode();
 121    }
 122  0 if (getGroupName() != null) {
 123  0 _hashCode += getGroupName().hashCode();
 124    }
 125  0 if (getUserNickname() != null) {
 126  0 _hashCode += getUserNickname().hashCode();
 127    }
 128  0 __hashCodeCalc = false;
 129  0 return _hashCode;
 130    }
 131   
 132    // Type metadata
 133    private static org.apache.axis.description.TypeDesc typeDesc =
 134    new org.apache.axis.description.TypeDesc(ManageUserGroups.class, true);
 135   
 136    static {
 137  0 typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "manageUserGroups"));
 138  0 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
 139  0 elemField.setFieldName("requestType");
 140  0 elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "requestType"));
 141  0 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 142  0 typeDesc.addFieldDesc(elemField);
 143  0 elemField = new org.apache.axis.description.ElementDesc();
 144  0 elemField.setFieldName("groupName");
 145  0 elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "groupName"));
 146  0 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 147  0 typeDesc.addFieldDesc(elemField);
 148  0 elemField = new org.apache.axis.description.ElementDesc();
 149  0 elemField.setFieldName("userNickname");
 150  0 elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "userNickname"));
 151  0 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 152  0 typeDesc.addFieldDesc(elemField);
 153    }
 154   
 155    /**
 156    * Return type metadata object
 157    */
 158  0 public static org.apache.axis.description.TypeDesc getTypeDesc() {
 159  0 return typeDesc;
 160    }
 161   
 162    /**
 163    * Get Custom Serializer
 164    */
 165  0 public static org.apache.axis.encoding.Serializer getSerializer(
 166    java.lang.String mechType,
 167    java.lang.Class _javaType,
 168    javax.xml.namespace.QName _xmlType) {
 169  0 return
 170    new org.apache.axis.encoding.ser.BeanSerializer(
 171    _javaType, _xmlType, typeDesc);
 172    }
 173   
 174    /**
 175    * Get Custom Deserializer
 176    */
 177  0 public static org.apache.axis.encoding.Deserializer getDeserializer(
 178    java.lang.String mechType,
 179    java.lang.Class _javaType,
 180    javax.xml.namespace.QName _xmlType) {
 181  0 return
 182    new org.apache.axis.encoding.ser.BeanDeserializer(
 183    _javaType, _xmlType, typeDesc);
 184    }
 185   
 186    }