1
2
3
4
5
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
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 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
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
198
199 public static org.apache.axis.description.TypeDesc getTypeDesc() {
200 return typeDesc;
201 }
202
203
204
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
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 }