Coverage Report - org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteCustomFieldValue
 
Classes in this File Line Coverage Branch Coverage Complexity
RemoteCustomFieldValue
0 %
0/69
0 %
0/48
3,154
 
 1  
 /**
 2  
  * RemoteCustomFieldValue.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 RemoteCustomFieldValue  implements java.io.Serializable {
 11  
     private java.lang.String customfieldId;
 12  
 
 13  
     private java.lang.String key;
 14  
 
 15  
     private java.lang.String[] values;
 16  
 
 17  0
     public RemoteCustomFieldValue() {
 18  0
     }
 19  
 
 20  
     public RemoteCustomFieldValue(
 21  
            java.lang.String customfieldId,
 22  
            java.lang.String key,
 23  0
            java.lang.String[] values) {
 24  0
            this.customfieldId = customfieldId;
 25  0
            this.key = key;
 26  0
            this.values = values;
 27  0
     }
 28  
 
 29  
 
 30  
     /**
 31  
      * Gets the customfieldId value for this RemoteCustomFieldValue.
 32  
      * 
 33  
      * @return customfieldId
 34  
      */
 35  
     public java.lang.String getCustomfieldId() {
 36  0
         return customfieldId;
 37  
     }
 38  
 
 39  
 
 40  
     /**
 41  
      * Sets the customfieldId value for this RemoteCustomFieldValue.
 42  
      * 
 43  
      * @param customfieldId
 44  
      */
 45  
     public void setCustomfieldId(java.lang.String customfieldId) {
 46  0
         this.customfieldId = customfieldId;
 47  0
     }
 48  
 
 49  
 
 50  
     /**
 51  
      * Gets the key value for this RemoteCustomFieldValue.
 52  
      * 
 53  
      * @return key
 54  
      */
 55  
     public java.lang.String getKey() {
 56  0
         return key;
 57  
     }
 58  
 
 59  
 
 60  
     /**
 61  
      * Sets the key value for this RemoteCustomFieldValue.
 62  
      * 
 63  
      * @param key
 64  
      */
 65  
     public void setKey(java.lang.String key) {
 66  0
         this.key = key;
 67  0
     }
 68  
 
 69  
 
 70  
     /**
 71  
      * Gets the values value for this RemoteCustomFieldValue.
 72  
      * 
 73  
      * @return values
 74  
      */
 75  
     public java.lang.String[] getValues() {
 76  0
         return values;
 77  
     }
 78  
 
 79  
 
 80  
     /**
 81  
      * Sets the values value for this RemoteCustomFieldValue.
 82  
      * 
 83  
      * @param values
 84  
      */
 85  
     public void setValues(java.lang.String[] values) {
 86  0
         this.values = values;
 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 RemoteCustomFieldValue)) return false;
 92  0
         RemoteCustomFieldValue other = (RemoteCustomFieldValue) 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.customfieldId==null && other.getCustomfieldId()==null) || 
 102  
              (this.customfieldId!=null &&
 103  
               this.customfieldId.equals(other.getCustomfieldId()))) &&
 104  
             ((this.key==null && other.getKey()==null) || 
 105  
              (this.key!=null &&
 106  
               this.key.equals(other.getKey()))) &&
 107  
             ((this.values==null && other.getValues()==null) || 
 108  
              (this.values!=null &&
 109  
               java.util.Arrays.equals(this.values, other.getValues())));
 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 (getCustomfieldId() != null) {
 122  0
             _hashCode += getCustomfieldId().hashCode();
 123  
         }
 124  0
         if (getKey() != null) {
 125  0
             _hashCode += getKey().hashCode();
 126  
         }
 127  0
         if (getValues() != null) {
 128  0
             for (int i=0;
 129  0
                  i<java.lang.reflect.Array.getLength(getValues());
 130  0
                  i++) {
 131  0
                 java.lang.Object obj = java.lang.reflect.Array.get(getValues(), i);
 132  0
                 if (obj != null &&
 133  
                     !obj.getClass().isArray()) {
 134  0
                     _hashCode += obj.hashCode();
 135  
                 }
 136  
             }
 137  
         }
 138  0
         __hashCodeCalc = false;
 139  0
         return _hashCode;
 140  
     }
 141  
 
 142  
     // Type metadata
 143  0
     private static org.apache.axis.description.TypeDesc typeDesc =
 144  
         new org.apache.axis.description.TypeDesc(RemoteCustomFieldValue.class, true);
 145  
 
 146  
     static {
 147  0
         typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteCustomFieldValue"));
 148  0
         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
 149  0
         elemField.setFieldName("customfieldId");
 150  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "customfieldId"));
 151  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 152  0
         elemField.setNillable(true);
 153  0
         typeDesc.addFieldDesc(elemField);
 154  0
         elemField = new org.apache.axis.description.ElementDesc();
 155  0
         elemField.setFieldName("key");
 156  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "key"));
 157  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 158  0
         elemField.setNillable(true);
 159  0
         typeDesc.addFieldDesc(elemField);
 160  0
         elemField = new org.apache.axis.description.ElementDesc();
 161  0
         elemField.setFieldName("values");
 162  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "values"));
 163  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 164  0
         elemField.setNillable(true);
 165  0
         typeDesc.addFieldDesc(elemField);
 166  0
     }
 167  
 
 168  
     /**
 169  
      * Return type metadata object
 170  
      */
 171  
     public static org.apache.axis.description.TypeDesc getTypeDesc() {
 172  0
         return typeDesc;
 173  
     }
 174  
 
 175  
     /**
 176  
      * Get Custom Serializer
 177  
      */
 178  
     public static org.apache.axis.encoding.Serializer getSerializer(
 179  
            java.lang.String mechType, 
 180  
            java.lang.Class _javaType,  
 181  
            javax.xml.namespace.QName _xmlType) {
 182  0
         return 
 183  
           new  org.apache.axis.encoding.ser.BeanSerializer(
 184  
             _javaType, _xmlType, typeDesc);
 185  
     }
 186  
 
 187  
     /**
 188  
      * Get Custom Deserializer
 189  
      */
 190  
     public static org.apache.axis.encoding.Deserializer getDeserializer(
 191  
            java.lang.String mechType, 
 192  
            java.lang.Class _javaType,  
 193  
            javax.xml.namespace.QName _xmlType) {
 194  0
         return 
 195  
           new  org.apache.axis.encoding.ser.BeanDeserializer(
 196  
             _javaType, _xmlType, typeDesc);
 197  
     }
 198  
 
 199  
 }