1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
package org.apache.maven.plugins.patchtracker.tracking.jira.soap; |
9 | |
|
10 | |
public abstract class AbstractRemoteConstant extends org.apache.maven.plugins.patchtracker.tracking.jira.soap.AbstractNamedRemoteEntity implements java.io.Serializable { |
11 | |
private java.lang.String description; |
12 | |
|
13 | |
private java.lang.String icon; |
14 | |
|
15 | 0 | public AbstractRemoteConstant() { |
16 | 0 | } |
17 | |
|
18 | |
public AbstractRemoteConstant( |
19 | |
java.lang.String id, |
20 | |
java.lang.String name, |
21 | |
java.lang.String description, |
22 | |
java.lang.String icon) { |
23 | 0 | super( |
24 | |
id, |
25 | |
name); |
26 | 0 | this.description = description; |
27 | 0 | this.icon = icon; |
28 | 0 | } |
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
public java.lang.String getDescription() { |
37 | 0 | return description; |
38 | |
} |
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
public void setDescription(java.lang.String description) { |
47 | 0 | this.description = description; |
48 | 0 | } |
49 | |
|
50 | |
|
51 | |
|
52 | |
|
53 | |
|
54 | |
|
55 | |
|
56 | |
public java.lang.String getIcon() { |
57 | 0 | return icon; |
58 | |
} |
59 | |
|
60 | |
|
61 | |
|
62 | |
|
63 | |
|
64 | |
|
65 | |
|
66 | |
public void setIcon(java.lang.String icon) { |
67 | 0 | this.icon = icon; |
68 | 0 | } |
69 | |
|
70 | 0 | private java.lang.Object __equalsCalc = null; |
71 | |
public synchronized boolean equals(java.lang.Object obj) { |
72 | 0 | if (!(obj instanceof AbstractRemoteConstant)) return false; |
73 | 0 | AbstractRemoteConstant other = (AbstractRemoteConstant) obj; |
74 | 0 | if (obj == null) return false; |
75 | 0 | if (this == obj) return true; |
76 | 0 | if (__equalsCalc != null) { |
77 | 0 | return (__equalsCalc == obj); |
78 | |
} |
79 | 0 | __equalsCalc = obj; |
80 | |
boolean _equals; |
81 | 0 | _equals = super.equals(obj) && |
82 | |
((this.description==null && other.getDescription()==null) || |
83 | |
(this.description!=null && |
84 | |
this.description.equals(other.getDescription()))) && |
85 | |
((this.icon==null && other.getIcon()==null) || |
86 | |
(this.icon!=null && |
87 | |
this.icon.equals(other.getIcon()))); |
88 | 0 | __equalsCalc = null; |
89 | 0 | return _equals; |
90 | |
} |
91 | |
|
92 | 0 | private boolean __hashCodeCalc = false; |
93 | |
public synchronized int hashCode() { |
94 | 0 | if (__hashCodeCalc) { |
95 | 0 | return 0; |
96 | |
} |
97 | 0 | __hashCodeCalc = true; |
98 | 0 | int _hashCode = super.hashCode(); |
99 | 0 | if (getDescription() != null) { |
100 | 0 | _hashCode += getDescription().hashCode(); |
101 | |
} |
102 | 0 | if (getIcon() != null) { |
103 | 0 | _hashCode += getIcon().hashCode(); |
104 | |
} |
105 | 0 | __hashCodeCalc = false; |
106 | 0 | return _hashCode; |
107 | |
} |
108 | |
|
109 | |
|
110 | 0 | private static org.apache.axis.description.TypeDesc typeDesc = |
111 | |
new org.apache.axis.description.TypeDesc(AbstractRemoteConstant.class, true); |
112 | |
|
113 | |
static { |
114 | 0 | typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "AbstractRemoteConstant")); |
115 | 0 | org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); |
116 | 0 | elemField.setFieldName("description"); |
117 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "description")); |
118 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
119 | 0 | elemField.setNillable(true); |
120 | 0 | typeDesc.addFieldDesc(elemField); |
121 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
122 | 0 | elemField.setFieldName("icon"); |
123 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "icon")); |
124 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
125 | 0 | elemField.setNillable(true); |
126 | 0 | typeDesc.addFieldDesc(elemField); |
127 | 0 | } |
128 | |
|
129 | |
|
130 | |
|
131 | |
|
132 | |
public static org.apache.axis.description.TypeDesc getTypeDesc() { |
133 | 0 | return typeDesc; |
134 | |
} |
135 | |
|
136 | |
|
137 | |
|
138 | |
|
139 | |
public static org.apache.axis.encoding.Serializer getSerializer( |
140 | |
java.lang.String mechType, |
141 | |
java.lang.Class _javaType, |
142 | |
javax.xml.namespace.QName _xmlType) { |
143 | 0 | return |
144 | |
new org.apache.axis.encoding.ser.BeanSerializer( |
145 | |
_javaType, _xmlType, typeDesc); |
146 | |
} |
147 | |
|
148 | |
|
149 | |
|
150 | |
|
151 | |
public static org.apache.axis.encoding.Deserializer getDeserializer( |
152 | |
java.lang.String mechType, |
153 | |
java.lang.Class _javaType, |
154 | |
javax.xml.namespace.QName _xmlType) { |
155 | 0 | return |
156 | |
new org.apache.axis.encoding.ser.BeanDeserializer( |
157 | |
_javaType, _xmlType, typeDesc); |
158 | |
} |
159 | |
|
160 | |
} |