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