View Javadoc

1   /**
2    * RemoteUser.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 RemoteUser  extends org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteEntity  implements java.io.Serializable {
11      private java.lang.String email;
12  
13      private java.lang.String fullname;
14  
15      private java.lang.String name;
16  
17      public RemoteUser() {
18      }
19  
20      public RemoteUser(
21             java.lang.String email,
22             java.lang.String fullname,
23             java.lang.String name) {
24          this.email = email;
25          this.fullname = fullname;
26          this.name = name;
27      }
28  
29  
30      /**
31       * Gets the email value for this RemoteUser.
32       * 
33       * @return email
34       */
35      public java.lang.String getEmail() {
36          return email;
37      }
38  
39  
40      /**
41       * Sets the email value for this RemoteUser.
42       * 
43       * @param email
44       */
45      public void setEmail(java.lang.String email) {
46          this.email = email;
47      }
48  
49  
50      /**
51       * Gets the fullname value for this RemoteUser.
52       * 
53       * @return fullname
54       */
55      public java.lang.String getFullname() {
56          return fullname;
57      }
58  
59  
60      /**
61       * Sets the fullname value for this RemoteUser.
62       * 
63       * @param fullname
64       */
65      public void setFullname(java.lang.String fullname) {
66          this.fullname = fullname;
67      }
68  
69  
70      /**
71       * Gets the name value for this RemoteUser.
72       * 
73       * @return name
74       */
75      public java.lang.String getName() {
76          return name;
77      }
78  
79  
80      /**
81       * Sets the name value for this RemoteUser.
82       * 
83       * @param name
84       */
85      public void setName(java.lang.String name) {
86          this.name = name;
87      }
88  
89      private java.lang.Object __equalsCalc = null;
90      public synchronized boolean equals(java.lang.Object obj) {
91          if (!(obj instanceof RemoteUser)) return false;
92          RemoteUser other = (RemoteUser) obj;
93          if (obj == null) return false;
94          if (this == obj) return true;
95          if (__equalsCalc != null) {
96              return (__equalsCalc == obj);
97          }
98          __equalsCalc = obj;
99          boolean _equals;
100         _equals = super.equals(obj) && 
101             ((this.email==null && other.getEmail()==null) || 
102              (this.email!=null &&
103               this.email.equals(other.getEmail()))) &&
104             ((this.fullname==null && other.getFullname()==null) || 
105              (this.fullname!=null &&
106               this.fullname.equals(other.getFullname()))) &&
107             ((this.name==null && other.getName()==null) || 
108              (this.name!=null &&
109               this.name.equals(other.getName())));
110         __equalsCalc = null;
111         return _equals;
112     }
113 
114     private boolean __hashCodeCalc = false;
115     public synchronized int hashCode() {
116         if (__hashCodeCalc) {
117             return 0;
118         }
119         __hashCodeCalc = true;
120         int _hashCode = super.hashCode();
121         if (getEmail() != null) {
122             _hashCode += getEmail().hashCode();
123         }
124         if (getFullname() != null) {
125             _hashCode += getFullname().hashCode();
126         }
127         if (getName() != null) {
128             _hashCode += getName().hashCode();
129         }
130         __hashCodeCalc = false;
131         return _hashCode;
132     }
133 
134     // Type metadata
135     private static org.apache.axis.description.TypeDesc typeDesc =
136         new org.apache.axis.description.TypeDesc(RemoteUser.class, true);
137 
138     static {
139         typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser"));
140         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
141         elemField.setFieldName("email");
142         elemField.setXmlName(new javax.xml.namespace.QName("", "email"));
143         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
144         elemField.setNillable(true);
145         typeDesc.addFieldDesc(elemField);
146         elemField = new org.apache.axis.description.ElementDesc();
147         elemField.setFieldName("fullname");
148         elemField.setXmlName(new javax.xml.namespace.QName("", "fullname"));
149         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
150         elemField.setNillable(true);
151         typeDesc.addFieldDesc(elemField);
152         elemField = new org.apache.axis.description.ElementDesc();
153         elemField.setFieldName("name");
154         elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
155         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
156         elemField.setNillable(true);
157         typeDesc.addFieldDesc(elemField);
158     }
159 
160     /**
161      * Return type metadata object
162      */
163     public static org.apache.axis.description.TypeDesc getTypeDesc() {
164         return typeDesc;
165     }
166 
167     /**
168      * Get Custom Serializer
169      */
170     public static org.apache.axis.encoding.Serializer getSerializer(
171            java.lang.String mechType, 
172            java.lang.Class _javaType,  
173            javax.xml.namespace.QName _xmlType) {
174         return 
175           new  org.apache.axis.encoding.ser.BeanSerializer(
176             _javaType, _xmlType, typeDesc);
177     }
178 
179     /**
180      * Get Custom Deserializer
181      */
182     public static org.apache.axis.encoding.Deserializer getDeserializer(
183            java.lang.String mechType, 
184            java.lang.Class _javaType,  
185            javax.xml.namespace.QName _xmlType) {
186         return 
187           new  org.apache.axis.encoding.ser.BeanDeserializer(
188             _javaType, _xmlType, typeDesc);
189     }
190 
191 }