Coverage Report - org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteAvatar
 
Classes in this File Line Coverage Branch Coverage Complexity
RemoteAvatar
0 %
0/98
0 %
0/58
2,737
 
 1  
 /**
 2  
  * RemoteAvatar.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 RemoteAvatar  implements java.io.Serializable {
 11  
     private java.lang.String base64Data;
 12  
 
 13  
     private java.lang.String contentType;
 14  
 
 15  
     private long id;
 16  
 
 17  
     private java.lang.String owner;
 18  
 
 19  
     private boolean system;
 20  
 
 21  
     private java.lang.String type;
 22  
 
 23  0
     public RemoteAvatar() {
 24  0
     }
 25  
 
 26  
     public RemoteAvatar(
 27  
            java.lang.String base64Data,
 28  
            java.lang.String contentType,
 29  
            long id,
 30  
            java.lang.String owner,
 31  
            boolean system,
 32  0
            java.lang.String type) {
 33  0
            this.base64Data = base64Data;
 34  0
            this.contentType = contentType;
 35  0
            this.id = id;
 36  0
            this.owner = owner;
 37  0
            this.system = system;
 38  0
            this.type = type;
 39  0
     }
 40  
 
 41  
 
 42  
     /**
 43  
      * Gets the base64Data value for this RemoteAvatar.
 44  
      * 
 45  
      * @return base64Data
 46  
      */
 47  
     public java.lang.String getBase64Data() {
 48  0
         return base64Data;
 49  
     }
 50  
 
 51  
 
 52  
     /**
 53  
      * Sets the base64Data value for this RemoteAvatar.
 54  
      * 
 55  
      * @param base64Data
 56  
      */
 57  
     public void setBase64Data(java.lang.String base64Data) {
 58  0
         this.base64Data = base64Data;
 59  0
     }
 60  
 
 61  
 
 62  
     /**
 63  
      * Gets the contentType value for this RemoteAvatar.
 64  
      * 
 65  
      * @return contentType
 66  
      */
 67  
     public java.lang.String getContentType() {
 68  0
         return contentType;
 69  
     }
 70  
 
 71  
 
 72  
     /**
 73  
      * Sets the contentType value for this RemoteAvatar.
 74  
      * 
 75  
      * @param contentType
 76  
      */
 77  
     public void setContentType(java.lang.String contentType) {
 78  0
         this.contentType = contentType;
 79  0
     }
 80  
 
 81  
 
 82  
     /**
 83  
      * Gets the id value for this RemoteAvatar.
 84  
      * 
 85  
      * @return id
 86  
      */
 87  
     public long getId() {
 88  0
         return id;
 89  
     }
 90  
 
 91  
 
 92  
     /**
 93  
      * Sets the id value for this RemoteAvatar.
 94  
      * 
 95  
      * @param id
 96  
      */
 97  
     public void setId(long id) {
 98  0
         this.id = id;
 99  0
     }
 100  
 
 101  
 
 102  
     /**
 103  
      * Gets the owner value for this RemoteAvatar.
 104  
      * 
 105  
      * @return owner
 106  
      */
 107  
     public java.lang.String getOwner() {
 108  0
         return owner;
 109  
     }
 110  
 
 111  
 
 112  
     /**
 113  
      * Sets the owner value for this RemoteAvatar.
 114  
      * 
 115  
      * @param owner
 116  
      */
 117  
     public void setOwner(java.lang.String owner) {
 118  0
         this.owner = owner;
 119  0
     }
 120  
 
 121  
 
 122  
     /**
 123  
      * Gets the system value for this RemoteAvatar.
 124  
      * 
 125  
      * @return system
 126  
      */
 127  
     public boolean isSystem() {
 128  0
         return system;
 129  
     }
 130  
 
 131  
 
 132  
     /**
 133  
      * Sets the system value for this RemoteAvatar.
 134  
      * 
 135  
      * @param system
 136  
      */
 137  
     public void setSystem(boolean system) {
 138  0
         this.system = system;
 139  0
     }
 140  
 
 141  
 
 142  
     /**
 143  
      * Gets the type value for this RemoteAvatar.
 144  
      * 
 145  
      * @return type
 146  
      */
 147  
     public java.lang.String getType() {
 148  0
         return type;
 149  
     }
 150  
 
 151  
 
 152  
     /**
 153  
      * Sets the type value for this RemoteAvatar.
 154  
      * 
 155  
      * @param type
 156  
      */
 157  
     public void setType(java.lang.String type) {
 158  0
         this.type = type;
 159  0
     }
 160  
 
 161  0
     private java.lang.Object __equalsCalc = null;
 162  
     public synchronized boolean equals(java.lang.Object obj) {
 163  0
         if (!(obj instanceof RemoteAvatar)) return false;
 164  0
         RemoteAvatar other = (RemoteAvatar) obj;
 165  0
         if (obj == null) return false;
 166  0
         if (this == obj) return true;
 167  0
         if (__equalsCalc != null) {
 168  0
             return (__equalsCalc == obj);
 169  
         }
 170  0
         __equalsCalc = obj;
 171  
         boolean _equals;
 172  0
         _equals = true && 
 173  
             ((this.base64Data==null && other.getBase64Data()==null) || 
 174  
              (this.base64Data!=null &&
 175  
               this.base64Data.equals(other.getBase64Data()))) &&
 176  
             ((this.contentType==null && other.getContentType()==null) || 
 177  
              (this.contentType!=null &&
 178  
               this.contentType.equals(other.getContentType()))) &&
 179  
             this.id == other.getId() &&
 180  
             ((this.owner==null && other.getOwner()==null) || 
 181  
              (this.owner!=null &&
 182  
               this.owner.equals(other.getOwner()))) &&
 183  
             this.system == other.isSystem() &&
 184  
             ((this.type==null && other.getType()==null) || 
 185  
              (this.type!=null &&
 186  
               this.type.equals(other.getType())));
 187  0
         __equalsCalc = null;
 188  0
         return _equals;
 189  
     }
 190  
 
 191  0
     private boolean __hashCodeCalc = false;
 192  
     public synchronized int hashCode() {
 193  0
         if (__hashCodeCalc) {
 194  0
             return 0;
 195  
         }
 196  0
         __hashCodeCalc = true;
 197  0
         int _hashCode = 1;
 198  0
         if (getBase64Data() != null) {
 199  0
             _hashCode += getBase64Data().hashCode();
 200  
         }
 201  0
         if (getContentType() != null) {
 202  0
             _hashCode += getContentType().hashCode();
 203  
         }
 204  0
         _hashCode += new Long(getId()).hashCode();
 205  0
         if (getOwner() != null) {
 206  0
             _hashCode += getOwner().hashCode();
 207  
         }
 208  0
         _hashCode += (isSystem() ? Boolean.TRUE : Boolean.FALSE).hashCode();
 209  0
         if (getType() != null) {
 210  0
             _hashCode += getType().hashCode();
 211  
         }
 212  0
         __hashCodeCalc = false;
 213  0
         return _hashCode;
 214  
     }
 215  
 
 216  
     // Type metadata
 217  0
     private static org.apache.axis.description.TypeDesc typeDesc =
 218  
         new org.apache.axis.description.TypeDesc(RemoteAvatar.class, true);
 219  
 
 220  
     static {
 221  0
         typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteAvatar"));
 222  0
         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
 223  0
         elemField.setFieldName("base64Data");
 224  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "base64Data"));
 225  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 226  0
         elemField.setNillable(true);
 227  0
         typeDesc.addFieldDesc(elemField);
 228  0
         elemField = new org.apache.axis.description.ElementDesc();
 229  0
         elemField.setFieldName("contentType");
 230  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "contentType"));
 231  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 232  0
         elemField.setNillable(true);
 233  0
         typeDesc.addFieldDesc(elemField);
 234  0
         elemField = new org.apache.axis.description.ElementDesc();
 235  0
         elemField.setFieldName("id");
 236  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
 237  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
 238  0
         elemField.setNillable(false);
 239  0
         typeDesc.addFieldDesc(elemField);
 240  0
         elemField = new org.apache.axis.description.ElementDesc();
 241  0
         elemField.setFieldName("owner");
 242  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "owner"));
 243  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 244  0
         elemField.setNillable(true);
 245  0
         typeDesc.addFieldDesc(elemField);
 246  0
         elemField = new org.apache.axis.description.ElementDesc();
 247  0
         elemField.setFieldName("system");
 248  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "system"));
 249  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
 250  0
         elemField.setNillable(false);
 251  0
         typeDesc.addFieldDesc(elemField);
 252  0
         elemField = new org.apache.axis.description.ElementDesc();
 253  0
         elemField.setFieldName("type");
 254  0
         elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
 255  0
         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
 256  0
         elemField.setNillable(true);
 257  0
         typeDesc.addFieldDesc(elemField);
 258  0
     }
 259  
 
 260  
     /**
 261  
      * Return type metadata object
 262  
      */
 263  
     public static org.apache.axis.description.TypeDesc getTypeDesc() {
 264  0
         return typeDesc;
 265  
     }
 266  
 
 267  
     /**
 268  
      * Get Custom Serializer
 269  
      */
 270  
     public static org.apache.axis.encoding.Serializer getSerializer(
 271  
            java.lang.String mechType, 
 272  
            java.lang.Class _javaType,  
 273  
            javax.xml.namespace.QName _xmlType) {
 274  0
         return 
 275  
           new  org.apache.axis.encoding.ser.BeanSerializer(
 276  
             _javaType, _xmlType, typeDesc);
 277  
     }
 278  
 
 279  
     /**
 280  
      * Get Custom Deserializer
 281  
      */
 282  
     public static org.apache.axis.encoding.Deserializer getDeserializer(
 283  
            java.lang.String mechType, 
 284  
            java.lang.Class _javaType,  
 285  
            javax.xml.namespace.QName _xmlType) {
 286  0
         return 
 287  
           new  org.apache.axis.encoding.ser.BeanDeserializer(
 288  
             _javaType, _xmlType, typeDesc);
 289  
     }
 290  
 
 291  
 }