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