Coverage Report - org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteProjectRole
 
Classes in this File Line Coverage Branch Coverage Complexity
RemoteProjectRole
0 %
0/64
0 %
0/42
2,923
 
 1  
 /**
 2  
  * RemoteProjectRole.java
 3  
  *
 4  
  * This file was auto-generated from WSDL
 5  
  * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 6  
  */
 7  
 
 8  
 package org.apache.maven.plugins.patchtracker.tracking.jira.soap;
 9  
 
 10  
 public class RemoteProjectRole  implements java.io.Serializable {
 11  
     private java.lang.String description;
 12  
 
 13  
     private java.lang.Long id;
 14  
 
 15  
     private java.lang.String name;
 16  
 
 17  0
     public RemoteProjectRole() {
 18  0
     }
 19  
 
 20  
     public RemoteProjectRole(
 21  
            java.lang.String description,
 22  
            java.lang.Long id,
 23  0
            java.lang.String name) {
 24  0
            this.description = description;
 25  0
            this.id = id;
 26  0
            this.name = name;
 27  0
     }
 28  
 
 29  
 
 30  
     /**
 31  
      * Gets the description value for this RemoteProjectRole.
 32  
      * 
 33  
      * @return description
 34  
      */
 35  
     public java.lang.String getDescription() {
 36  0
         return description;
 37  
     }
 38  
 
 39  
 
 40  
     /**
 41  
      * Sets the description value for this RemoteProjectRole.
 42  
      * 
 43  
      * @param description
 44  
      */
 45  
     public void setDescription(java.lang.String description) {
 46  0
         this.description = description;
 47  0
     }
 48  
 
 49  
 
 50  
     /**
 51  
      * Gets the id value for this RemoteProjectRole.
 52  
      * 
 53  
      * @return id
 54  
      */
 55  
     public java.lang.Long getId() {
 56  0
         return id;
 57  
     }
 58  
 
 59  
 
 60  
     /**
 61  
      * Sets the id value for this RemoteProjectRole.
 62  
      * 
 63  
      * @param id
 64  
      */
 65  
     public void setId(java.lang.Long id) {
 66  0
         this.id = id;
 67  0
     }
 68  
 
 69  
 
 70  
     /**
 71  
      * Gets the name value for this RemoteProjectRole.
 72  
      * 
 73  
      * @return name
 74  
      */
 75  
     public java.lang.String getName() {
 76  0
         return name;
 77  
     }
 78  
 
 79  
 
 80  
     /**
 81  
      * Sets the name value for this RemoteProjectRole.
 82  
      * 
 83  
      * @param name
 84  
      */
 85  
     public void setName(java.lang.String name) {
 86  0
         this.name = name;
 87  0
     }
 88  
 
 89  0
     private java.lang.Object __equalsCalc = null;
 90  
     public synchronized boolean equals(java.lang.Object obj) {
 91  0
         if (!(obj instanceof RemoteProjectRole)) return false;
 92  0
         RemoteProjectRole other = (RemoteProjectRole) obj;
 93  0
         if (obj == null) return false;
 94  0
         if (this == obj) return true;
 95  0
         if (__equalsCalc != null) {
 96  0
             return (__equalsCalc == obj);
 97  
         }
 98  0
         __equalsCalc = obj;
 99  
         boolean _equals;
 100  0
         _equals = true && 
 101  
             ((this.description==null && other.getDescription()==null) || 
 102  
              (this.description!=null &&
 103  
               this.description.equals(other.getDescription()))) &&
 104  
             ((this.id==null && other.getId()==null) || 
 105  
              (this.id!=null &&
 106  
               this.id.equals(other.getId()))) &&
 107  
             ((this.name==null && other.getName()==null) || 
 108  
              (this.name!=null &&
 109  
               this.name.equals(other.getName())));
 110  0
         __equalsCalc = null;
 111  0
         return _equals;
 112  
     }
 113  
 
 114  0
     private boolean __hashCodeCalc = false;
 115  
     public synchronized int hashCode() {
 116  0
         if (__hashCodeCalc) {
 117  0
             return 0;
 118  
         }
 119  0
         __hashCodeCalc = true;
 120  0
         int _hashCode = 1;
 121  0
         if (getDescription() != null) {
 122  0
             _hashCode += getDescription().hashCode();
 123  
         }
 124  0
         if (getId() != null) {
 125  0
             _hashCode += getId().hashCode();
 126  
         }
 127  0
         if (getName() != null) {
 128  0
             _hashCode += getName().hashCode();
 129  
         }
 130  0
         __hashCodeCalc = false;
 131  0
         return _hashCode;
 132  
     }
 133  
 
 134  
     // Type metadata
 135  0
     private static org.apache.axis.description.TypeDesc typeDesc =
 136  
         new org.apache.axis.description.TypeDesc(RemoteProjectRole.class, true);
 137  
 
 138  
     static {
 139  0
         typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"));
 140  0
         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
 141  0
         elemField.setFieldName("description");
 142  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
 143  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 144  0
         elemField.setNillable(true);
 145  0
         typeDesc.addFieldDesc(elemField);
 146  0
         elemField = new org.apache.axis.description.ElementDesc();
 147  0
         elemField.setFieldName("id");
 148  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
 149  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
 150  0
         elemField.setNillable(true);
 151  0
         typeDesc.addFieldDesc(elemField);
 152  0
         elemField = new org.apache.axis.description.ElementDesc();
 153  0
         elemField.setFieldName("name");
 154  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
 155  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 156  0
         elemField.setNillable(true);
 157  0
         typeDesc.addFieldDesc(elemField);
 158  0
     }
 159  
 
 160  
     /**
 161  
      * Return type metadata object
 162  
      */
 163  
     public static org.apache.axis.description.TypeDesc getTypeDesc() {
 164  0
         return typeDesc;
 165  
     }
 166  
 
 167  
     /**
 168  
      * Get Custom Serializer
 169  
      */
 170  
     public static org.apache.axis.encoding.Serializer getSerializer(
 171  
            java.lang.String mechType, 
 172  
            java.lang.Class _javaType,  
 173  
            javax.xml.namespace.QName _xmlType) {
 174  0
         return 
 175  
           new  org.apache.axis.encoding.ser.BeanSerializer(
 176  
             _javaType, _xmlType, typeDesc);
 177  
     }
 178  
 
 179  
     /**
 180  
      * Get Custom Deserializer
 181  
      */
 182  
     public static org.apache.axis.encoding.Deserializer getDeserializer(
 183  
            java.lang.String mechType, 
 184  
            java.lang.Class _javaType,  
 185  
            javax.xml.namespace.QName _xmlType) {
 186  0
         return 
 187  
           new  org.apache.axis.encoding.ser.BeanDeserializer(
 188  
             _javaType, _xmlType, typeDesc);
 189  
     }
 190  
 
 191  
 }