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