Coverage Report - org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteFieldValue
 
Classes in this File Line Coverage Branch Coverage Complexity
RemoteFieldValue
0 %
0/57
0 %
0/38
3,091
 
 1  
 /**
 2  
  * RemoteFieldValue.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 RemoteFieldValue  implements java.io.Serializable {
 11  
     private java.lang.String id;
 12  
 
 13  
     private java.lang.String[] values;
 14  
 
 15  0
     public RemoteFieldValue() {
 16  0
     }
 17  
 
 18  
     public RemoteFieldValue(
 19  
            java.lang.String id,
 20  0
            java.lang.String[] values) {
 21  0
            this.id = id;
 22  0
            this.values = values;
 23  0
     }
 24  
 
 25  
 
 26  
     /**
 27  
      * Gets the id value for this RemoteFieldValue.
 28  
      * 
 29  
      * @return id
 30  
      */
 31  
     public java.lang.String getId() {
 32  0
         return id;
 33  
     }
 34  
 
 35  
 
 36  
     /**
 37  
      * Sets the id value for this RemoteFieldValue.
 38  
      * 
 39  
      * @param id
 40  
      */
 41  
     public void setId(java.lang.String id) {
 42  0
         this.id = id;
 43  0
     }
 44  
 
 45  
 
 46  
     /**
 47  
      * Gets the values value for this RemoteFieldValue.
 48  
      * 
 49  
      * @return values
 50  
      */
 51  
     public java.lang.String[] getValues() {
 52  0
         return values;
 53  
     }
 54  
 
 55  
 
 56  
     /**
 57  
      * Sets the values value for this RemoteFieldValue.
 58  
      * 
 59  
      * @param values
 60  
      */
 61  
     public void setValues(java.lang.String[] values) {
 62  0
         this.values = values;
 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 RemoteFieldValue)) return false;
 68  0
         RemoteFieldValue other = (RemoteFieldValue) 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.id==null && other.getId()==null) || 
 78  
              (this.id!=null &&
 79  
               this.id.equals(other.getId()))) &&
 80  
             ((this.values==null && other.getValues()==null) || 
 81  
              (this.values!=null &&
 82  
               java.util.Arrays.equals(this.values, other.getValues())));
 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 (getId() != null) {
 95  0
             _hashCode += getId().hashCode();
 96  
         }
 97  0
         if (getValues() != null) {
 98  0
             for (int i=0;
 99  0
                  i<java.lang.reflect.Array.getLength(getValues());
 100  0
                  i++) {
 101  0
                 java.lang.Object obj = java.lang.reflect.Array.get(getValues(), i);
 102  0
                 if (obj != null &&
 103  
                     !obj.getClass().isArray()) {
 104  0
                     _hashCode += obj.hashCode();
 105  
                 }
 106  
             }
 107  
         }
 108  0
         __hashCodeCalc = false;
 109  0
         return _hashCode;
 110  
     }
 111  
 
 112  
     // Type metadata
 113  0
     private static org.apache.axis.description.TypeDesc typeDesc =
 114  
         new org.apache.axis.description.TypeDesc(RemoteFieldValue.class, true);
 115  
 
 116  
     static {
 117  0
         typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteFieldValue"));
 118  0
         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
 119  0
         elemField.setFieldName("id");
 120  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
 121  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 122  0
         elemField.setNillable(true);
 123  0
         typeDesc.addFieldDesc(elemField);
 124  0
         elemField = new org.apache.axis.description.ElementDesc();
 125  0
         elemField.setFieldName("values");
 126  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "values"));
 127  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 128  0
         elemField.setNillable(true);
 129  0
         typeDesc.addFieldDesc(elemField);
 130  0
     }
 131  
 
 132  
     /**
 133  
      * Return type metadata object
 134  
      */
 135  
     public static org.apache.axis.description.TypeDesc getTypeDesc() {
 136  0
         return typeDesc;
 137  
     }
 138  
 
 139  
     /**
 140  
      * Get Custom Serializer
 141  
      */
 142  
     public static org.apache.axis.encoding.Serializer getSerializer(
 143  
            java.lang.String mechType, 
 144  
            java.lang.Class _javaType,  
 145  
            javax.xml.namespace.QName _xmlType) {
 146  0
         return 
 147  
           new  org.apache.axis.encoding.ser.BeanSerializer(
 148  
             _javaType, _xmlType, typeDesc);
 149  
     }
 150  
 
 151  
     /**
 152  
      * Get Custom Deserializer
 153  
      */
 154  
     public static org.apache.axis.encoding.Deserializer getDeserializer(
 155  
            java.lang.String mechType, 
 156  
            java.lang.Class _javaType,  
 157  
            javax.xml.namespace.QName _xmlType) {
 158  0
         return 
 159  
           new  org.apache.axis.encoding.ser.BeanDeserializer(
 160  
             _javaType, _xmlType, typeDesc);
 161  
     }
 162  
 
 163  
 }