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