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