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