CAS Unit Tests
Clover coverage report - CAS Unit Tests
Coverage timestamp: Mon Jul 4 2005 18:13:17 CDT
file stats: LOC: 188   Methods: 13
NCLOC: 118   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ObjectGroupData.java 0% 0% 0% 0%
coverage
 1    /**
 2    * ObjectGroupData.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 ObjectGroupData extends org.globus.cas.types.CasObjectData implements java.io.Serializable {
 11    private org.globus.cas.types.ArrayOfString objectSpecsDesc;
 12    private org.globus.cas.types.ArrayOfString objectSpecs;
 13    private java.lang.String groupName;
 14   
 15  0 public ObjectGroupData() {
 16    }
 17   
 18  0 public ObjectGroupData(
 19    java.lang.String groupName,
 20    org.globus.cas.types.ArrayOfString objectSpecs,
 21    org.globus.cas.types.ArrayOfString objectSpecsDesc) {
 22  0 this.objectSpecsDesc = objectSpecsDesc;
 23  0 this.objectSpecs = objectSpecs;
 24  0 this.groupName = groupName;
 25    }
 26   
 27   
 28    /**
 29    * Gets the objectSpecsDesc value for this ObjectGroupData.
 30    *
 31    * @return objectSpecsDesc
 32    */
 33  0 public org.globus.cas.types.ArrayOfString getObjectSpecsDesc() {
 34  0 return objectSpecsDesc;
 35    }
 36   
 37   
 38    /**
 39    * Sets the objectSpecsDesc value for this ObjectGroupData.
 40    *
 41    * @param objectSpecsDesc
 42    */
 43  0 public void setObjectSpecsDesc(org.globus.cas.types.ArrayOfString objectSpecsDesc) {
 44  0 this.objectSpecsDesc = objectSpecsDesc;
 45    }
 46   
 47   
 48    /**
 49    * Gets the objectSpecs value for this ObjectGroupData.
 50    *
 51    * @return objectSpecs
 52    */
 53  0 public org.globus.cas.types.ArrayOfString getObjectSpecs() {
 54  0 return objectSpecs;
 55    }
 56   
 57   
 58    /**
 59    * Sets the objectSpecs value for this ObjectGroupData.
 60    *
 61    * @param objectSpecs
 62    */
 63  0 public void setObjectSpecs(org.globus.cas.types.ArrayOfString objectSpecs) {
 64  0 this.objectSpecs = objectSpecs;
 65    }
 66   
 67   
 68    /**
 69    * Gets the groupName value for this ObjectGroupData.
 70    *
 71    * @return groupName
 72    */
 73  0 public java.lang.String getGroupName() {
 74  0 return groupName;
 75    }
 76   
 77   
 78    /**
 79    * Sets the groupName value for this ObjectGroupData.
 80    *
 81    * @param groupName
 82    */
 83  0 public void setGroupName(java.lang.String groupName) {
 84  0 this.groupName = groupName;
 85    }
 86   
 87    private java.lang.Object __equalsCalc = null;
 88  0 public synchronized boolean equals(java.lang.Object obj) {
 89  0 if (!(obj instanceof ObjectGroupData)) return false;
 90  0 ObjectGroupData other = (ObjectGroupData) 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 = super.equals(obj) &&
 99    ((this.objectSpecsDesc==null && other.getObjectSpecsDesc()==null) ||
 100    (this.objectSpecsDesc!=null &&
 101    this.objectSpecsDesc.equals(other.getObjectSpecsDesc()))) &&
 102    ((this.objectSpecs==null && other.getObjectSpecs()==null) ||
 103    (this.objectSpecs!=null &&
 104    this.objectSpecs.equals(other.getObjectSpecs()))) &&
 105    ((this.groupName==null && other.getGroupName()==null) ||
 106    (this.groupName!=null &&
 107    this.groupName.equals(other.getGroupName())));
 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 = super.hashCode();
 119  0 if (getObjectSpecsDesc() != null) {
 120  0 _hashCode += getObjectSpecsDesc().hashCode();
 121    }
 122  0 if (getObjectSpecs() != null) {
 123  0 _hashCode += getObjectSpecs().hashCode();
 124    }
 125  0 if (getGroupName() != null) {
 126  0 _hashCode += getGroupName().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(ObjectGroupData.class, true);
 135   
 136    static {
 137  0 typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "ObjectGroupData"));
 138  0 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
 139  0 elemField.setFieldName("objectSpecsDesc");
 140  0 elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "objectSpecsDesc"));
 141  0 elemField.setXmlType(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "ArrayOfString"));
 142  0 elemField.setNillable(true);
 143  0 typeDesc.addFieldDesc(elemField);
 144  0 elemField = new org.apache.axis.description.ElementDesc();
 145  0 elemField.setFieldName("objectSpecs");
 146  0 elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "objectSpecs"));
 147  0 elemField.setXmlType(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "ArrayOfString"));
 148  0 elemField.setNillable(true);
 149  0 typeDesc.addFieldDesc(elemField);
 150  0 elemField = new org.apache.axis.description.ElementDesc();
 151  0 elemField.setFieldName("groupName");
 152  0 elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "groupName"));
 153  0 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 154  0 typeDesc.addFieldDesc(elemField);
 155    }
 156   
 157    /**
 158    * Return type metadata object
 159    */
 160  0 public static org.apache.axis.description.TypeDesc getTypeDesc() {
 161  0 return typeDesc;
 162    }
 163   
 164    /**
 165    * Get Custom Serializer
 166    */
 167  0 public static org.apache.axis.encoding.Serializer getSerializer(
 168    java.lang.String mechType,
 169    java.lang.Class _javaType,
 170    javax.xml.namespace.QName _xmlType) {
 171  0 return
 172    new org.apache.axis.encoding.ser.BeanSerializer(
 173    _javaType, _xmlType, typeDesc);
 174    }
 175   
 176    /**
 177    * Get Custom Deserializer
 178    */
 179  0 public static org.apache.axis.encoding.Deserializer getDeserializer(
 180    java.lang.String mechType,
 181    java.lang.Class _javaType,
 182    javax.xml.namespace.QName _xmlType) {
 183  0 return
 184    new org.apache.axis.encoding.ser.BeanDeserializer(
 185    _javaType, _xmlType, typeDesc);
 186    }
 187   
 188    }