View Javadoc

1   /**
2    * RemoteIssueType.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 org.apache.maven.plugins.patchtracker.tracking.jira.soap;
9   
10  public class RemoteIssueType  extends org.apache.maven.plugins.patchtracker.tracking.jira.soap.AbstractRemoteConstant  implements java.io.Serializable {
11      private boolean subTask;
12  
13      public RemoteIssueType() {
14      }
15  
16      public RemoteIssueType(
17             java.lang.String id,
18             java.lang.String name,
19             java.lang.String description,
20             java.lang.String icon,
21             boolean subTask) {
22          super(
23              id,
24              name,
25              description,
26              icon);
27          this.subTask = subTask;
28      }
29  
30  
31      /**
32       * Gets the subTask value for this RemoteIssueType.
33       * 
34       * @return subTask
35       */
36      public boolean isSubTask() {
37          return subTask;
38      }
39  
40  
41      /**
42       * Sets the subTask value for this RemoteIssueType.
43       * 
44       * @param subTask
45       */
46      public void setSubTask(boolean subTask) {
47          this.subTask = subTask;
48      }
49  
50      private java.lang.Object __equalsCalc = null;
51      public synchronized boolean equals(java.lang.Object obj) {
52          if (!(obj instanceof RemoteIssueType)) return false;
53          RemoteIssueType other = (RemoteIssueType) obj;
54          if (obj == null) return false;
55          if (this == obj) return true;
56          if (__equalsCalc != null) {
57              return (__equalsCalc == obj);
58          }
59          __equalsCalc = obj;
60          boolean _equals;
61          _equals = super.equals(obj) && 
62              this.subTask == other.isSubTask();
63          __equalsCalc = null;
64          return _equals;
65      }
66  
67      private boolean __hashCodeCalc = false;
68      public synchronized int hashCode() {
69          if (__hashCodeCalc) {
70              return 0;
71          }
72          __hashCodeCalc = true;
73          int _hashCode = super.hashCode();
74          _hashCode += (isSubTask() ? Boolean.TRUE : Boolean.FALSE).hashCode();
75          __hashCodeCalc = false;
76          return _hashCode;
77      }
78  
79      // Type metadata
80      private static org.apache.axis.description.TypeDesc typeDesc =
81          new org.apache.axis.description.TypeDesc(RemoteIssueType.class, true);
82  
83      static {
84          typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssueType"));
85          org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
86          elemField.setFieldName("subTask");
87          elemField.setXmlName(new javax.xml.namespace.QName("", "subTask"));
88          elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
89          elemField.setNillable(false);
90          typeDesc.addFieldDesc(elemField);
91      }
92  
93      /**
94       * Return type metadata object
95       */
96      public static org.apache.axis.description.TypeDesc getTypeDesc() {
97          return typeDesc;
98      }
99  
100     /**
101      * Get Custom Serializer
102      */
103     public static org.apache.axis.encoding.Serializer getSerializer(
104            java.lang.String mechType, 
105            java.lang.Class _javaType,  
106            javax.xml.namespace.QName _xmlType) {
107         return 
108           new  org.apache.axis.encoding.ser.BeanSerializer(
109             _javaType, _xmlType, typeDesc);
110     }
111 
112     /**
113      * Get Custom Deserializer
114      */
115     public static org.apache.axis.encoding.Deserializer getDeserializer(
116            java.lang.String mechType, 
117            java.lang.Class _javaType,  
118            javax.xml.namespace.QName _xmlType) {
119         return 
120           new  org.apache.axis.encoding.ser.BeanDeserializer(
121             _javaType, _xmlType, typeDesc);
122     }
123 
124 }