Coverage Report - org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemotePermission
 
Classes in this File Line Coverage Branch Coverage Complexity
RemotePermission
0 %
0/52
0 %
0/32
2,818
 
 1  
 /**
 2  
  * RemotePermission.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 RemotePermission  implements java.io.Serializable {
 11  
     private java.lang.String name;
 12  
 
 13  
     private java.lang.Long permission;
 14  
 
 15  0
     public RemotePermission() {
 16  0
     }
 17  
 
 18  
     public RemotePermission(
 19  
            java.lang.String name,
 20  0
            java.lang.Long permission) {
 21  0
            this.name = name;
 22  0
            this.permission = permission;
 23  0
     }
 24  
 
 25  
 
 26  
     /**
 27  
      * Gets the name value for this RemotePermission.
 28  
      * 
 29  
      * @return name
 30  
      */
 31  
     public java.lang.String getName() {
 32  0
         return name;
 33  
     }
 34  
 
 35  
 
 36  
     /**
 37  
      * Sets the name value for this RemotePermission.
 38  
      * 
 39  
      * @param name
 40  
      */
 41  
     public void setName(java.lang.String name) {
 42  0
         this.name = name;
 43  0
     }
 44  
 
 45  
 
 46  
     /**
 47  
      * Gets the permission value for this RemotePermission.
 48  
      * 
 49  
      * @return permission
 50  
      */
 51  
     public java.lang.Long getPermission() {
 52  0
         return permission;
 53  
     }
 54  
 
 55  
 
 56  
     /**
 57  
      * Sets the permission value for this RemotePermission.
 58  
      * 
 59  
      * @param permission
 60  
      */
 61  
     public void setPermission(java.lang.Long permission) {
 62  0
         this.permission = permission;
 63  0
     }
 64  
 
 65  0
     private java.lang.Object __equalsCalc = null;
 66  
     public synchronized boolean equals(java.lang.Object obj) {
 67  0
         if (!(obj instanceof RemotePermission)) return false;
 68  0
         RemotePermission other = (RemotePermission) obj;
 69  0
         if (obj == null) return false;
 70  0
         if (this == obj) return true;
 71  0
         if (__equalsCalc != null) {
 72  0
             return (__equalsCalc == obj);
 73  
         }
 74  0
         __equalsCalc = obj;
 75  
         boolean _equals;
 76  0
         _equals = true && 
 77  
             ((this.name==null && other.getName()==null) || 
 78  
              (this.name!=null &&
 79  
               this.name.equals(other.getName()))) &&
 80  
             ((this.permission==null && other.getPermission()==null) || 
 81  
              (this.permission!=null &&
 82  
               this.permission.equals(other.getPermission())));
 83  0
         __equalsCalc = null;
 84  0
         return _equals;
 85  
     }
 86  
 
 87  0
     private boolean __hashCodeCalc = false;
 88  
     public synchronized int hashCode() {
 89  0
         if (__hashCodeCalc) {
 90  0
             return 0;
 91  
         }
 92  0
         __hashCodeCalc = true;
 93  0
         int _hashCode = 1;
 94  0
         if (getName() != null) {
 95  0
             _hashCode += getName().hashCode();
 96  
         }
 97  0
         if (getPermission() != null) {
 98  0
             _hashCode += getPermission().hashCode();
 99  
         }
 100  0
         __hashCodeCalc = false;
 101  0
         return _hashCode;
 102  
     }
 103  
 
 104  
     // Type metadata
 105  0
     private static org.apache.axis.description.TypeDesc typeDesc =
 106  
         new org.apache.axis.description.TypeDesc(RemotePermission.class, true);
 107  
 
 108  
     static {
 109  0
         typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermission"));
 110  0
         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
 111  0
         elemField.setFieldName("name");
 112  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
 113  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 114  0
         elemField.setNillable(true);
 115  0
         typeDesc.addFieldDesc(elemField);
 116  0
         elemField = new org.apache.axis.description.ElementDesc();
 117  0
         elemField.setFieldName("permission");
 118  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "permission"));
 119  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
 120  0
         elemField.setNillable(true);
 121  0
         typeDesc.addFieldDesc(elemField);
 122  0
     }
 123  
 
 124  
     /**
 125  
      * Return type metadata object
 126  
      */
 127  
     public static org.apache.axis.description.TypeDesc getTypeDesc() {
 128  0
         return typeDesc;
 129  
     }
 130  
 
 131  
     /**
 132  
      * Get Custom Serializer
 133  
      */
 134  
     public static org.apache.axis.encoding.Serializer getSerializer(
 135  
            java.lang.String mechType, 
 136  
            java.lang.Class _javaType,  
 137  
            javax.xml.namespace.QName _xmlType) {
 138  0
         return 
 139  
           new  org.apache.axis.encoding.ser.BeanSerializer(
 140  
             _javaType, _xmlType, typeDesc);
 141  
     }
 142  
 
 143  
     /**
 144  
      * Get Custom Deserializer
 145  
      */
 146  
     public static org.apache.axis.encoding.Deserializer getDeserializer(
 147  
            java.lang.String mechType, 
 148  
            java.lang.Class _javaType,  
 149  
            javax.xml.namespace.QName _xmlType) {
 150  0
         return 
 151  
           new  org.apache.axis.encoding.ser.BeanDeserializer(
 152  
             _javaType, _xmlType, typeDesc);
 153  
     }
 154  
 
 155  
 }