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