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