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