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 public RemoteFilter() {
20 }
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 super(
30 id,
31 name);
32 this.author = author;
33 this.description = description;
34 this.project = project;
35 this.xml = xml;
36 }
37
38
39
40
41
42
43
44 public java.lang.String getAuthor() {
45 return author;
46 }
47
48
49
50
51
52
53
54 public void setAuthor(java.lang.String author) {
55 this.author = author;
56 }
57
58
59
60
61
62
63
64 public java.lang.String getDescription() {
65 return description;
66 }
67
68
69
70
71
72
73
74 public void setDescription(java.lang.String description) {
75 this.description = description;
76 }
77
78
79
80
81
82
83
84 public java.lang.String getProject() {
85 return project;
86 }
87
88
89
90
91
92
93
94 public void setProject(java.lang.String project) {
95 this.project = project;
96 }
97
98
99
100
101
102
103
104 public java.lang.String getXml() {
105 return xml;
106 }
107
108
109
110
111
112
113
114 public void setXml(java.lang.String xml) {
115 this.xml = xml;
116 }
117
118 private java.lang.Object __equalsCalc = null;
119 public synchronized boolean equals(java.lang.Object obj) {
120 if (!(obj instanceof RemoteFilter)) return false;
121 RemoteFilter other = (RemoteFilter) obj;
122 if (obj == null) return false;
123 if (this == obj) return true;
124 if (__equalsCalc != null) {
125 return (__equalsCalc == obj);
126 }
127 __equalsCalc = obj;
128 boolean _equals;
129 _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 __equalsCalc = null;
143 return _equals;
144 }
145
146 private boolean __hashCodeCalc = false;
147 public synchronized int hashCode() {
148 if (__hashCodeCalc) {
149 return 0;
150 }
151 __hashCodeCalc = true;
152 int _hashCode = super.hashCode();
153 if (getAuthor() != null) {
154 _hashCode += getAuthor().hashCode();
155 }
156 if (getDescription() != null) {
157 _hashCode += getDescription().hashCode();
158 }
159 if (getProject() != null) {
160 _hashCode += getProject().hashCode();
161 }
162 if (getXml() != null) {
163 _hashCode += getXml().hashCode();
164 }
165 __hashCodeCalc = false;
166 return _hashCode;
167 }
168
169
170 private static org.apache.axis.description.TypeDesc typeDesc =
171 new org.apache.axis.description.TypeDesc(RemoteFilter.class, true);
172
173 static {
174 typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteFilter"));
175 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
176 elemField.setFieldName("author");
177 elemField.setXmlName(new javax.xml.namespace.QName("", "author"));
178 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
179 elemField.setNillable(true);
180 typeDesc.addFieldDesc(elemField);
181 elemField = new org.apache.axis.description.ElementDesc();
182 elemField.setFieldName("description");
183 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
184 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
185 elemField.setNillable(true);
186 typeDesc.addFieldDesc(elemField);
187 elemField = new org.apache.axis.description.ElementDesc();
188 elemField.setFieldName("project");
189 elemField.setXmlName(new javax.xml.namespace.QName("", "project"));
190 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
191 elemField.setNillable(true);
192 typeDesc.addFieldDesc(elemField);
193 elemField = new org.apache.axis.description.ElementDesc();
194 elemField.setFieldName("xml");
195 elemField.setXmlName(new javax.xml.namespace.QName("", "xml"));
196 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
197 elemField.setNillable(true);
198 typeDesc.addFieldDesc(elemField);
199 }
200
201
202
203
204 public static org.apache.axis.description.TypeDesc getTypeDesc() {
205 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 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 return
228 new org.apache.axis.encoding.ser.BeanDeserializer(
229 _javaType, _xmlType, typeDesc);
230 }
231
232 }