CAS Unit Tests
Clover coverage report - CAS Unit Tests
Coverage timestamp: Mon Jul 4 2005 18:13:17 CDT
file stats: LOC: 153   Methods: 11
NCLOC: 97   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
UserGroupData.java 0% 0% 0% 0%
coverage
 1    /**
 2    * UserGroupData.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 UserGroupData extends org.globus.cas.types.CasObjectData implements java.io.Serializable {
 11    private org.globus.cas.types.ArrayOfString userNames;
 12    private java.lang.String groupName;
 13   
 14  0 public UserGroupData() {
 15    }
 16   
 17  0 public UserGroupData(
 18    java.lang.String groupName,
 19    org.globus.cas.types.ArrayOfString userNames) {
 20  0 this.userNames = userNames;
 21  0 this.groupName = groupName;
 22    }
 23   
 24   
 25    /**
 26    * Gets the userNames value for this UserGroupData.
 27    *
 28    * @return userNames
 29    */
 30  0 public org.globus.cas.types.ArrayOfString getUserNames() {
 31  0 return userNames;
 32    }
 33   
 34   
 35    /**
 36    * Sets the userNames value for this UserGroupData.
 37    *
 38    * @param userNames
 39    */
 40  0 public void setUserNames(org.globus.cas.types.ArrayOfString userNames) {
 41  0 this.userNames = userNames;
 42    }
 43   
 44   
 45    /**
 46    * Gets the groupName value for this UserGroupData.
 47    *
 48    * @return groupName
 49    */
 50  0 public java.lang.String getGroupName() {
 51  0 return groupName;
 52    }
 53   
 54   
 55    /**
 56    * Sets the groupName value for this UserGroupData.
 57    *
 58    * @param groupName
 59    */
 60  0 public void setGroupName(java.lang.String groupName) {
 61  0 this.groupName = groupName;
 62    }
 63   
 64    private java.lang.Object __equalsCalc = null;
 65  0 public synchronized boolean equals(java.lang.Object obj) {
 66  0 if (!(obj instanceof UserGroupData)) return false;
 67  0 UserGroupData other = (UserGroupData) obj;
 68  0 if (obj == null) return false;
 69  0 if (this == obj) return true;
 70  0 if (__equalsCalc != null) {
 71  0 return (__equalsCalc == obj);
 72    }
 73  0 __equalsCalc = obj;
 74  0 boolean _equals;
 75  0 _equals = super.equals(obj) &&
 76    ((this.userNames==null && other.getUserNames()==null) ||
 77    (this.userNames!=null &&
 78    this.userNames.equals(other.getUserNames()))) &&
 79    ((this.groupName==null && other.getGroupName()==null) ||
 80    (this.groupName!=null &&
 81    this.groupName.equals(other.getGroupName())));
 82  0 __equalsCalc = null;
 83  0 return _equals;
 84    }
 85   
 86    private boolean __hashCodeCalc = false;
 87  0 public synchronized int hashCode() {
 88  0 if (__hashCodeCalc) {
 89  0 return 0;
 90    }
 91  0 __hashCodeCalc = true;
 92  0 int _hashCode = super.hashCode();
 93  0 if (getUserNames() != null) {
 94  0 _hashCode += getUserNames().hashCode();
 95    }
 96  0 if (getGroupName() != null) {
 97  0 _hashCode += getGroupName().hashCode();
 98    }
 99  0 __hashCodeCalc = false;
 100  0 return _hashCode;
 101    }
 102   
 103    // Type metadata
 104    private static org.apache.axis.description.TypeDesc typeDesc =
 105    new org.apache.axis.description.TypeDesc(UserGroupData.class, true);
 106   
 107    static {
 108  0 typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "UserGroupData"));
 109  0 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
 110  0 elemField.setFieldName("userNames");
 111  0 elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "userNames"));
 112  0 elemField.setXmlType(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "ArrayOfString"));
 113  0 elemField.setNillable(true);
 114  0 typeDesc.addFieldDesc(elemField);
 115  0 elemField = new org.apache.axis.description.ElementDesc();
 116  0 elemField.setFieldName("groupName");
 117  0 elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "groupName"));
 118  0 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 119  0 typeDesc.addFieldDesc(elemField);
 120    }
 121   
 122    /**
 123    * Return type metadata object
 124    */
 125  0 public static org.apache.axis.description.TypeDesc getTypeDesc() {
 126  0 return typeDesc;
 127    }
 128   
 129    /**
 130    * Get Custom Serializer
 131    */
 132  0 public static org.apache.axis.encoding.Serializer getSerializer(
 133    java.lang.String mechType,
 134    java.lang.Class _javaType,
 135    javax.xml.namespace.QName _xmlType) {
 136  0 return
 137    new org.apache.axis.encoding.ser.BeanSerializer(
 138    _javaType, _xmlType, typeDesc);
 139    }
 140   
 141    /**
 142    * Get Custom Deserializer
 143    */
 144  0 public static org.apache.axis.encoding.Deserializer getDeserializer(
 145    java.lang.String mechType,
 146    java.lang.Class _javaType,
 147    javax.xml.namespace.QName _xmlType) {
 148  0 return
 149    new org.apache.axis.encoding.ser.BeanDeserializer(
 150    _javaType, _xmlType, typeDesc);
 151    }
 152   
 153    }