View Javadoc

1   /**
2    * RemoteConfiguration.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6    */
7   
8   package com.atlassian.theplugin.jira.api.soap.axis;
9   
10  public class RemoteConfiguration implements java.io.Serializable {
11  	private boolean allowAttachments;
12  
13  	private boolean allowExternalUserManagment;
14  
15  	private boolean allowIssueLinking;
16  
17  	private boolean allowSubTasks;
18  
19  	private boolean allowTimeTracking;
20  
21  	private boolean allowUnassignedIssues;
22  
23  	private boolean allowVoting;
24  
25  	private boolean allowWatching;
26  
27  	private int timeTrackingDaysPerWeek;
28  
29  	private int timeTrackingHoursPerDay;
30  
31  	public RemoteConfiguration() {
32  	}
33  
34  	public RemoteConfiguration(
35  			boolean allowAttachments,
36  			boolean allowExternalUserManagment,
37  			boolean allowIssueLinking,
38  			boolean allowSubTasks,
39  			boolean allowTimeTracking,
40  			boolean allowUnassignedIssues,
41  			boolean allowVoting,
42  			boolean allowWatching,
43  			int timeTrackingDaysPerWeek,
44  			int timeTrackingHoursPerDay) {
45  		this.allowAttachments = allowAttachments;
46  		this.allowExternalUserManagment = allowExternalUserManagment;
47  		this.allowIssueLinking = allowIssueLinking;
48  		this.allowSubTasks = allowSubTasks;
49  		this.allowTimeTracking = allowTimeTracking;
50  		this.allowUnassignedIssues = allowUnassignedIssues;
51  		this.allowVoting = allowVoting;
52  		this.allowWatching = allowWatching;
53  		this.timeTrackingDaysPerWeek = timeTrackingDaysPerWeek;
54  		this.timeTrackingHoursPerDay = timeTrackingHoursPerDay;
55  	}
56  
57  
58  	/**
59  	 * Gets the allowAttachments value for this RemoteConfiguration.
60  	 *
61  	 * @return allowAttachments
62  	 */
63  	public boolean isAllowAttachments() {
64  		return allowAttachments;
65  	}
66  
67  
68  	/**
69  	 * Sets the allowAttachments value for this RemoteConfiguration.
70  	 *
71  	 * @param allowAttachments
72  	 */
73  	public void setAllowAttachments(boolean allowAttachments) {
74  		this.allowAttachments = allowAttachments;
75  	}
76  
77  
78  	/**
79  	 * Gets the allowExternalUserManagment value for this RemoteConfiguration.
80  	 *
81  	 * @return allowExternalUserManagment
82  	 */
83  	public boolean isAllowExternalUserManagment() {
84  		return allowExternalUserManagment;
85  	}
86  
87  
88  	/**
89  	 * Sets the allowExternalUserManagment value for this RemoteConfiguration.
90  	 *
91  	 * @param allowExternalUserManagment
92  	 */
93  	public void setAllowExternalUserManagment(boolean allowExternalUserManagment) {
94  		this.allowExternalUserManagment = allowExternalUserManagment;
95  	}
96  
97  
98  	/**
99  	 * Gets the allowIssueLinking value for this RemoteConfiguration.
100 	 *
101 	 * @return allowIssueLinking
102 	 */
103 	public boolean isAllowIssueLinking() {
104 		return allowIssueLinking;
105 	}
106 
107 
108 	/**
109 	 * Sets the allowIssueLinking value for this RemoteConfiguration.
110 	 *
111 	 * @param allowIssueLinking
112 	 */
113 	public void setAllowIssueLinking(boolean allowIssueLinking) {
114 		this.allowIssueLinking = allowIssueLinking;
115 	}
116 
117 
118 	/**
119 	 * Gets the allowSubTasks value for this RemoteConfiguration.
120 	 *
121 	 * @return allowSubTasks
122 	 */
123 	public boolean isAllowSubTasks() {
124 		return allowSubTasks;
125 	}
126 
127 
128 	/**
129 	 * Sets the allowSubTasks value for this RemoteConfiguration.
130 	 *
131 	 * @param allowSubTasks
132 	 */
133 	public void setAllowSubTasks(boolean allowSubTasks) {
134 		this.allowSubTasks = allowSubTasks;
135 	}
136 
137 
138 	/**
139 	 * Gets the allowTimeTracking value for this RemoteConfiguration.
140 	 *
141 	 * @return allowTimeTracking
142 	 */
143 	public boolean isAllowTimeTracking() {
144 		return allowTimeTracking;
145 	}
146 
147 
148 	/**
149 	 * Sets the allowTimeTracking value for this RemoteConfiguration.
150 	 *
151 	 * @param allowTimeTracking
152 	 */
153 	public void setAllowTimeTracking(boolean allowTimeTracking) {
154 		this.allowTimeTracking = allowTimeTracking;
155 	}
156 
157 
158 	/**
159 	 * Gets the allowUnassignedIssues value for this RemoteConfiguration.
160 	 *
161 	 * @return allowUnassignedIssues
162 	 */
163 	public boolean isAllowUnassignedIssues() {
164 		return allowUnassignedIssues;
165 	}
166 
167 
168 	/**
169 	 * Sets the allowUnassignedIssues value for this RemoteConfiguration.
170 	 *
171 	 * @param allowUnassignedIssues
172 	 */
173 	public void setAllowUnassignedIssues(boolean allowUnassignedIssues) {
174 		this.allowUnassignedIssues = allowUnassignedIssues;
175 	}
176 
177 
178 	/**
179 	 * Gets the allowVoting value for this RemoteConfiguration.
180 	 *
181 	 * @return allowVoting
182 	 */
183 	public boolean isAllowVoting() {
184 		return allowVoting;
185 	}
186 
187 
188 	/**
189 	 * Sets the allowVoting value for this RemoteConfiguration.
190 	 *
191 	 * @param allowVoting
192 	 */
193 	public void setAllowVoting(boolean allowVoting) {
194 		this.allowVoting = allowVoting;
195 	}
196 
197 
198 	/**
199 	 * Gets the allowWatching value for this RemoteConfiguration.
200 	 *
201 	 * @return allowWatching
202 	 */
203 	public boolean isAllowWatching() {
204 		return allowWatching;
205 	}
206 
207 
208 	/**
209 	 * Sets the allowWatching value for this RemoteConfiguration.
210 	 *
211 	 * @param allowWatching
212 	 */
213 	public void setAllowWatching(boolean allowWatching) {
214 		this.allowWatching = allowWatching;
215 	}
216 
217 
218 	/**
219 	 * Gets the timeTrackingDaysPerWeek value for this RemoteConfiguration.
220 	 *
221 	 * @return timeTrackingDaysPerWeek
222 	 */
223 	public int getTimeTrackingDaysPerWeek() {
224 		return timeTrackingDaysPerWeek;
225 	}
226 
227 
228 	/**
229 	 * Sets the timeTrackingDaysPerWeek value for this RemoteConfiguration.
230 	 *
231 	 * @param timeTrackingDaysPerWeek
232 	 */
233 	public void setTimeTrackingDaysPerWeek(int timeTrackingDaysPerWeek) {
234 		this.timeTrackingDaysPerWeek = timeTrackingDaysPerWeek;
235 	}
236 
237 
238 	/**
239 	 * Gets the timeTrackingHoursPerDay value for this RemoteConfiguration.
240 	 *
241 	 * @return timeTrackingHoursPerDay
242 	 */
243 	public int getTimeTrackingHoursPerDay() {
244 		return timeTrackingHoursPerDay;
245 	}
246 
247 
248 	/**
249 	 * Sets the timeTrackingHoursPerDay value for this RemoteConfiguration.
250 	 *
251 	 * @param timeTrackingHoursPerDay
252 	 */
253 	public void setTimeTrackingHoursPerDay(int timeTrackingHoursPerDay) {
254 		this.timeTrackingHoursPerDay = timeTrackingHoursPerDay;
255 	}
256 
257 	private java.lang.Object __equalsCalc = null;
258 
259 	public synchronized boolean equals(java.lang.Object obj) {
260 		if (!(obj instanceof RemoteConfiguration)) {
261 			return false;
262 		}
263 		RemoteConfiguration other = (RemoteConfiguration) obj;
264 		if (obj == null) {
265 			return false;
266 		}
267 		if (this == obj) {
268 			return true;
269 		}
270 		if (__equalsCalc != null) {
271 			return (__equalsCalc == obj);
272 		}
273 		__equalsCalc = obj;
274 		boolean _equals;
275 		_equals = true &&
276 				this.allowAttachments == other.isAllowAttachments() &&
277 				this.allowExternalUserManagment == other.isAllowExternalUserManagment() &&
278 				this.allowIssueLinking == other.isAllowIssueLinking() &&
279 				this.allowSubTasks == other.isAllowSubTasks() &&
280 				this.allowTimeTracking == other.isAllowTimeTracking() &&
281 				this.allowUnassignedIssues == other.isAllowUnassignedIssues() &&
282 				this.allowVoting == other.isAllowVoting() &&
283 				this.allowWatching == other.isAllowWatching() &&
284 				this.timeTrackingDaysPerWeek == other.getTimeTrackingDaysPerWeek() &&
285 				this.timeTrackingHoursPerDay == other.getTimeTrackingHoursPerDay();
286 		__equalsCalc = null;
287 		return _equals;
288 	}
289 
290 	private boolean __hashCodeCalc = false;
291 
292 	public synchronized int hashCode() {
293 		if (__hashCodeCalc) {
294 			return 0;
295 		}
296 		__hashCodeCalc = true;
297 		int _hashCode = 1;
298 		_hashCode += (isAllowAttachments() ? Boolean.TRUE : Boolean.FALSE).hashCode();
299 		_hashCode += (isAllowExternalUserManagment() ? Boolean.TRUE : Boolean.FALSE).hashCode();
300 		_hashCode += (isAllowIssueLinking() ? Boolean.TRUE : Boolean.FALSE).hashCode();
301 		_hashCode += (isAllowSubTasks() ? Boolean.TRUE : Boolean.FALSE).hashCode();
302 		_hashCode += (isAllowTimeTracking() ? Boolean.TRUE : Boolean.FALSE).hashCode();
303 		_hashCode += (isAllowUnassignedIssues() ? Boolean.TRUE : Boolean.FALSE).hashCode();
304 		_hashCode += (isAllowVoting() ? Boolean.TRUE : Boolean.FALSE).hashCode();
305 		_hashCode += (isAllowWatching() ? Boolean.TRUE : Boolean.FALSE).hashCode();
306 		_hashCode += getTimeTrackingDaysPerWeek();
307 		_hashCode += getTimeTrackingHoursPerDay();
308 		__hashCodeCalc = false;
309 		return _hashCode;
310 	}
311 
312 	// Type metadata
313 	private static org.apache.axis.description.TypeDesc typeDesc =
314 			new org.apache.axis.description.TypeDesc(RemoteConfiguration.class, true);
315 
316 	static {
317 		typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteConfiguration"));
318 		org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
319 		elemField.setFieldName("allowAttachments");
320 		elemField.setXmlName(new javax.xml.namespace.QName("", "allowAttachments"));
321 		elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
322 		elemField.setNillable(false);
323 		typeDesc.addFieldDesc(elemField);
324 		elemField = new org.apache.axis.description.ElementDesc();
325 		elemField.setFieldName("allowExternalUserManagment");
326 		elemField.setXmlName(new javax.xml.namespace.QName("", "allowExternalUserManagment"));
327 		elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
328 		elemField.setNillable(false);
329 		typeDesc.addFieldDesc(elemField);
330 		elemField = new org.apache.axis.description.ElementDesc();
331 		elemField.setFieldName("allowIssueLinking");
332 		elemField.setXmlName(new javax.xml.namespace.QName("", "allowIssueLinking"));
333 		elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
334 		elemField.setNillable(false);
335 		typeDesc.addFieldDesc(elemField);
336 		elemField = new org.apache.axis.description.ElementDesc();
337 		elemField.setFieldName("allowSubTasks");
338 		elemField.setXmlName(new javax.xml.namespace.QName("", "allowSubTasks"));
339 		elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
340 		elemField.setNillable(false);
341 		typeDesc.addFieldDesc(elemField);
342 		elemField = new org.apache.axis.description.ElementDesc();
343 		elemField.setFieldName("allowTimeTracking");
344 		elemField.setXmlName(new javax.xml.namespace.QName("", "allowTimeTracking"));
345 		elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
346 		elemField.setNillable(false);
347 		typeDesc.addFieldDesc(elemField);
348 		elemField = new org.apache.axis.description.ElementDesc();
349 		elemField.setFieldName("allowUnassignedIssues");
350 		elemField.setXmlName(new javax.xml.namespace.QName("", "allowUnassignedIssues"));
351 		elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
352 		elemField.setNillable(false);
353 		typeDesc.addFieldDesc(elemField);
354 		elemField = new org.apache.axis.description.ElementDesc();
355 		elemField.setFieldName("allowVoting");
356 		elemField.setXmlName(new javax.xml.namespace.QName("", "allowVoting"));
357 		elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
358 		elemField.setNillable(false);
359 		typeDesc.addFieldDesc(elemField);
360 		elemField = new org.apache.axis.description.ElementDesc();
361 		elemField.setFieldName("allowWatching");
362 		elemField.setXmlName(new javax.xml.namespace.QName("", "allowWatching"));
363 		elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
364 		elemField.setNillable(false);
365 		typeDesc.addFieldDesc(elemField);
366 		elemField = new org.apache.axis.description.ElementDesc();
367 		elemField.setFieldName("timeTrackingDaysPerWeek");
368 		elemField.setXmlName(new javax.xml.namespace.QName("", "timeTrackingDaysPerWeek"));
369 		elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
370 		elemField.setNillable(false);
371 		typeDesc.addFieldDesc(elemField);
372 		elemField = new org.apache.axis.description.ElementDesc();
373 		elemField.setFieldName("timeTrackingHoursPerDay");
374 		elemField.setXmlName(new javax.xml.namespace.QName("", "timeTrackingHoursPerDay"));
375 		elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
376 		elemField.setNillable(false);
377 		typeDesc.addFieldDesc(elemField);
378 	}
379 
380 	/**
381 	 * Return type metadata object
382 	 */
383 	public static org.apache.axis.description.TypeDesc getTypeDesc() {
384 		return typeDesc;
385 	}
386 
387 	/**
388 	 * Get Custom Serializer
389 	 */
390 	public static org.apache.axis.encoding.Serializer getSerializer(
391 			java.lang.String mechType,
392 			java.lang.Class _javaType,
393 			javax.xml.namespace.QName _xmlType) {
394 		return
395 				new org.apache.axis.encoding.ser.BeanSerializer(
396 						_javaType, _xmlType, typeDesc);
397 	}
398 
399 	/**
400 	 * Get Custom Deserializer
401 	 */
402 	public static org.apache.axis.encoding.Deserializer getDeserializer(
403 			java.lang.String mechType,
404 			java.lang.Class _javaType,
405 			javax.xml.namespace.QName _xmlType) {
406 		return
407 				new org.apache.axis.encoding.ser.BeanDeserializer(
408 						_javaType, _xmlType, typeDesc);
409 	}
410 
411 }