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