View Javadoc

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