CAS Unit Tests
Clover coverage report - CAS Unit Tests
Coverage timestamp: Mon Jul 4 2005 18:13:17 CDT
file stats: LOC: 220   Methods: 15
NCLOC: 136   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
AddTrustAnchor.java 0% 0% 0% 0%
coverage
 1    /**
 2    * AddTrustAnchor.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 AddTrustAnchor implements java.io.Serializable {
 11    private java.lang.String userGpName;
 12    private java.lang.String nickname;
 13    private java.lang.String authMethod;
 14    private java.lang.String authData;
 15   
 16  0 public AddTrustAnchor() {
 17    }
 18   
 19  0 public AddTrustAnchor(
 20    java.lang.String authData,
 21    java.lang.String authMethod,
 22    java.lang.String nickname,
 23    java.lang.String userGpName) {
 24  0 this.userGpName = userGpName;
 25  0 this.nickname = nickname;
 26  0 this.authMethod = authMethod;
 27  0 this.authData = authData;
 28    }
 29   
 30   
 31    /**
 32    * Gets the userGpName value for this AddTrustAnchor.
 33    *
 34    * @return userGpName
 35    */
 36  0 public java.lang.String getUserGpName() {
 37  0 return userGpName;
 38    }
 39   
 40   
 41    /**
 42    * Sets the userGpName value for this AddTrustAnchor.
 43    *
 44    * @param userGpName
 45    */
 46  0 public void setUserGpName(java.lang.String userGpName) {
 47  0 this.userGpName = userGpName;
 48    }
 49   
 50   
 51    /**
 52    * Gets the nickname value for this AddTrustAnchor.
 53    *
 54    * @return nickname
 55    */
 56  0 public java.lang.String getNickname() {
 57  0 return nickname;
 58    }
 59   
 60   
 61    /**
 62    * Sets the nickname value for this AddTrustAnchor.
 63    *
 64    * @param nickname
 65    */
 66  0 public void setNickname(java.lang.String nickname) {
 67  0 this.nickname = nickname;
 68    }
 69   
 70   
 71    /**
 72    * Gets the authMethod value for this AddTrustAnchor.
 73    *
 74    * @return authMethod
 75    */
 76  0 public java.lang.String getAuthMethod() {
 77  0 return authMethod;
 78    }
 79   
 80   
 81    /**
 82    * Sets the authMethod value for this AddTrustAnchor.
 83    *
 84    * @param authMethod
 85    */
 86  0 public void setAuthMethod(java.lang.String authMethod) {
 87  0 this.authMethod = authMethod;
 88    }
 89   
 90   
 91    /**
 92    * Gets the authData value for this AddTrustAnchor.
 93    *
 94    * @return authData
 95    */
 96  0 public java.lang.String getAuthData() {
 97  0 return authData;
 98    }
 99   
 100   
 101    /**
 102    * Sets the authData value for this AddTrustAnchor.
 103    *
 104    * @param authData
 105    */
 106  0 public void setAuthData(java.lang.String authData) {
 107  0 this.authData = authData;
 108    }
 109   
 110    private java.lang.Object __equalsCalc = null;
 111  0 public synchronized boolean equals(java.lang.Object obj) {
 112  0 if (!(obj instanceof AddTrustAnchor)) return false;
 113  0 AddTrustAnchor other = (AddTrustAnchor) obj;
 114  0 if (obj == null) return false;
 115  0 if (this == obj) return true;
 116  0 if (__equalsCalc != null) {
 117  0 return (__equalsCalc == obj);
 118    }
 119  0 __equalsCalc = obj;
 120  0 boolean _equals;
 121  0 _equals = true &&
 122    ((this.userGpName==null && other.getUserGpName()==null) ||
 123    (this.userGpName!=null &&
 124    this.userGpName.equals(other.getUserGpName()))) &&
 125    ((this.nickname==null && other.getNickname()==null) ||
 126    (this.nickname!=null &&
 127    this.nickname.equals(other.getNickname()))) &&
 128    ((this.authMethod==null && other.getAuthMethod()==null) ||
 129    (this.authMethod!=null &&
 130    this.authMethod.equals(other.getAuthMethod()))) &&
 131    ((this.authData==null && other.getAuthData()==null) ||
 132    (this.authData!=null &&
 133    this.authData.equals(other.getAuthData())));
 134  0 __equalsCalc = null;
 135  0 return _equals;
 136    }
 137   
 138    private boolean __hashCodeCalc = false;
 139  0 public synchronized int hashCode() {
 140  0 if (__hashCodeCalc) {
 141  0 return 0;
 142    }
 143  0 __hashCodeCalc = true;
 144  0 int _hashCode = 1;
 145  0 if (getUserGpName() != null) {
 146  0 _hashCode += getUserGpName().hashCode();
 147    }
 148  0 if (getNickname() != null) {
 149  0 _hashCode += getNickname().hashCode();
 150    }
 151  0 if (getAuthMethod() != null) {
 152  0 _hashCode += getAuthMethod().hashCode();
 153    }
 154  0 if (getAuthData() != null) {
 155  0 _hashCode += getAuthData().hashCode();
 156    }
 157  0 __hashCodeCalc = false;
 158  0 return _hashCode;
 159    }
 160   
 161    // Type metadata
 162    private static org.apache.axis.description.TypeDesc typeDesc =
 163    new org.apache.axis.description.TypeDesc(AddTrustAnchor.class, true);
 164   
 165    static {
 166  0 typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "addTrustAnchor"));
 167  0 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
 168  0 elemField.setFieldName("userGpName");
 169  0 elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "userGpName"));
 170  0 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 171  0 typeDesc.addFieldDesc(elemField);
 172  0 elemField = new org.apache.axis.description.ElementDesc();
 173  0 elemField.setFieldName("nickname");
 174  0 elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "nickname"));
 175  0 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 176  0 typeDesc.addFieldDesc(elemField);
 177  0 elemField = new org.apache.axis.description.ElementDesc();
 178  0 elemField.setFieldName("authMethod");
 179  0 elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "authMethod"));
 180  0 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 181  0 typeDesc.addFieldDesc(elemField);
 182  0 elemField = new org.apache.axis.description.ElementDesc();
 183  0 elemField.setFieldName("authData");
 184  0 elemField.setXmlName(new javax.xml.namespace.QName("http://www.globus.org/07/2004/cas/casTypes", "authData"));
 185  0 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 186  0 typeDesc.addFieldDesc(elemField);
 187    }
 188   
 189    /**
 190    * Return type metadata object
 191    */
 192  0 public static org.apache.axis.description.TypeDesc getTypeDesc() {
 193  0 return typeDesc;
 194    }
 195   
 196    /**
 197    * Get Custom Serializer
 198    */
 199  0 public static org.apache.axis.encoding.Serializer getSerializer(
 200    java.lang.String mechType,
 201    java.lang.Class _javaType,
 202    javax.xml.namespace.QName _xmlType) {
 203  0 return
 204    new org.apache.axis.encoding.ser.BeanSerializer(
 205    _javaType, _xmlType, typeDesc);
 206    }
 207   
 208    /**
 209    * Get Custom Deserializer
 210    */
 211  0 public static org.apache.axis.encoding.Deserializer getDeserializer(
 212    java.lang.String mechType,
 213    java.lang.Class _javaType,
 214    javax.xml.namespace.QName _xmlType) {
 215  0 return
 216    new org.apache.axis.encoding.ser.BeanDeserializer(
 217    _javaType, _xmlType, typeDesc);
 218    }
 219   
 220    }